Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/input/keyboard/
Dadp5588-keys.c68 static int adp5588_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_write() function
107 adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_set_value()
123 ret = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]); in adp5588_gpio_direction_input()
147 ret = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output()
149 ret |= adp5588_write(kpad->client, GPIO_DIR1 + bank, in adp5588_gpio_direction_output()
311 adp5588_write(client, INT_STAT, status); /* Status is W1C */ in adp5588_work()
337 ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows)); in adp5588_setup()
338 ret |= adp5588_write(client, KP_GPIO2, KP_SEL(pdata->cols) & 0xFF); in adp5588_setup()
339 ret |= adp5588_write(client, KP_GPIO3, KP_SEL(pdata->cols) >> 8); in adp5588_setup()
342 ret |= adp5588_write(client, UNLOCK1, pdata->unlock_key1); in adp5588_setup()
[all …]