| tcakp.c | 115 static int tcakp_write(struct tcakp_softc *, uint8_t, uint8_t); 191 tcakp_write(sc, TCA_INT_STAT, stat); 215 tcakp_write(sc, TCA_KEY_LCK_EC, KEY_LCK_EC_K_LCK_EN); 217 tcakp_write(sc, TCA_KP_GPIO1, (mask >> 0) & 0xff); 218 tcakp_write(sc, TCA_KP_GPIO2, (mask >> 8) & 0xff); 219 tcakp_write(sc, TCA_KP_GPIO3, (mask >> 16) & 0xff); 221 tcakp_write(sc, TCA_DEBOUNCE_DIS1, (mask >> 0) & 0xff); 222 tcakp_write(sc, TCA_DEBOUNCE_DIS2, (mask >> 8) & 0xff); 223 tcakp_write(sc, TCA_DEBOUNCE_DIS3, (mask >> 16) & 0xff); 225 tcakp_write(sc, TCA_CFG, CFG_INT_CFG | CFG_KE_IEN) 451 tcakp_write(struct tcakp_softc *sc, uint8_t reg, uint8_t val) function in typeref:typename:int [all...] |