Searched refs:adp5588_write (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/keyboard/ |
H A D | adp5588-keys.c | 213 static int adp5588_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_write() function 249 adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, kpad->dat_out[bank]); in adp5588_gpio_set_value() 278 return adp5588_write(kpad->client, GPIO_PULL1 + bank, in adp5588_gpio_set_config() 291 return adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]); in adp5588_gpio_direction_input() 311 error = adp5588_write(kpad->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output() 316 error = adp5588_write(kpad->client, GPIO_DIR1 + bank, kpad->dir[bank]); in adp5588_gpio_direction_output() 361 adp5588_write(kpad->client, GPI_EM1 + i, kpad->int_en[i]); in adp5588_irq_bus_sync_unlock() 587 adp5588_write(client, INT_STAT, status); /* Status is W1C */ in adp5588_thread_irq() 597 ret = adp5588_write(client, KP_GPIO1, KP_SEL(kpad->rows)); in adp5588_setup() 601 ret = adp5588_write(client, KP_GPIO2, KP_SEL(kpad->cols) & 0xFF); in adp5588_setup() [all …]
|