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 395 return !!(adp5589_read(kpad->client, in adp5589_gpio_get_value() 535 kpad->dir[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add() 568 int key = adp5589_read(kpad->client, ADP5589_5_FIFO_1 + i); in adp5589_report_events() 588 status = adp5589_read(client, ADP5589_5_INT_STATUS); in adp5589_irq() 594 ev_cnt = adp5589_read(client, ADP5589_5_STATUS) & KEC; in adp5589_irq() 650 ret |= adp5589_read(client, ADP5589_5_FIFO_1 + i); in adp5589_setup() 788 int gpi_stat1 = adp5589_read(kpad->client, in adp5589_report_switch_state() 790 int gpi_stat2 = adp5589_read(kpad->client, in adp5589_report_switch_state() 793 adp5589_read(kpad->client, ADP5589_GPI_STATUS_C) : 0; in adp5589_report_switch_state() [all …]
|