Home
last modified time | relevance | path

Searched refs:adp5588_write (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Dadp5588-keys.c282 ret = adp5588_write(kpad->client, GPIO_PULL1 + bank, in adp5588_gpio_set_config()
324 ret = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output()
375 adp5588_write(kpad->client, GPI_EM1 + i, kpad->int_en[i]); in adp5588_irq_bus_sync_unlock()
594 adp5588_write(client, INT_STAT, status); /* Status is W1C */ in adp5588_thread_irq()
604 ret = adp5588_write(client, KP_GPIO1, KP_SEL(kpad->rows)); in adp5588_setup()
612 ret = adp5588_write(client, KP_GPIO3, KP_SEL(kpad->cols) >> 8); in adp5588_setup()
617 ret = adp5588_write(client, UNLOCK1 + i, kpad->unlock_keys[i]); in adp5588_setup()
623 ret = adp5588_write(client, KEY_LCK_EC_STAT, ADP5588_K_LCK_EN); in adp5588_setup()
634 ret = adp5588_write(client, INT_STAT, in adp5588_setup()
641 return adp5588_write(client, CFG, ADP5588_INT_CFG | in adp5588_setup()
[all …]