Searched refs:sc_keys (Results 1 – 1 of 1) sorted by relevance
122 struct gpiokey *sc_keys; member483 sc->sc_keys = malloc(sizeof(struct gpiokey) * total_keys, in gpiokeys_attach()491 gpiokeys_attach_key(sc, child ,&sc->sc_keys[sc->sc_total_keys]); in gpiokeys_attach()520 gpiokeys_detach_key(sc, &sc->sc_keys[i]); in gpiokeys_detach()535 if (sc->sc_keys) in gpiokeys_detach()536 free(sc->sc_keys, M_DEVBUF); in gpiokeys_detach()