CAPI: Rework locking of capidev members