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.c212 static int adp5588_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_write() function
250 adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, kpad->dat_out[bank]); in adp5588_gpio_set_value()
282 ret = adp5588_write(kpad->client, GPIO_PULL1 + bank, in adp5588_gpio_set_config()
300 ret = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]); in adp5588_gpio_direction_input()
324 ret = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output()
329 ret = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[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()
608 ret = adp5588_write(client, KP_GPIO2, KP_SEL(kpad->cols) & 0xFF); in adp5588_setup()
[all …]