keylock_register
if (keylock_register(self, sc->sc_npins, gpiolock_position)) {
extern int keylock_register(void *, int, int (*)(void *));