Searched refs:adp5589_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/keyboard/ |
H A D | adp5589-keys.c | 373 static int adp5589_read(struct i2c_client *client, u8 reg) in adp5589_read() function 400 val = adp5589_read(kpad->client, in adp5589_gpio_get_value() 542 kpad->dir[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add() 575 int key = adp5589_read(kpad->client, ADP5589_5_FIFO_1 + i); in adp5589_report_events() 595 status = adp5589_read(client, ADP5589_5_INT_STATUS); in adp5589_irq() 601 ev_cnt = adp5589_read(client, ADP5589_5_STATUS) & KEC; in adp5589_irq() 657 ret |= adp5589_read(client, ADP5589_5_FIFO_1 + i); in adp5589_setup() 795 int gpi_stat1 = adp5589_read(kpad->client, in adp5589_report_switch_state() 797 int gpi_stat2 = adp5589_read(kpad->client, in adp5589_report_switch_state() 800 adp5589_read(kpad->client, ADP5589_GPI_STATUS_C) : 0; in adp5589_report_switch_state() [all …]
|