Lines Matching refs:adp5589_read
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()
537 kpad->dat_out[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add()
539 kpad->dir[i] = adp5589_read(kpad->client, kpad->var->reg( in adp5589_gpio_add()
572 int key = adp5589_read(kpad->client, ADP5589_5_FIFO_1 + i); in adp5589_report_events()
592 status = adp5589_read(client, ADP5589_5_INT_STATUS); in adp5589_irq()
598 ev_cnt = adp5589_read(client, ADP5589_5_STATUS) & KEC; in adp5589_irq()
654 ret |= adp5589_read(client, ADP5589_5_FIFO_1 + i); in adp5589_setup()
792 int gpi_stat1 = adp5589_read(kpad->client, in adp5589_report_switch_state()
794 int gpi_stat2 = adp5589_read(kpad->client, in adp5589_report_switch_state()
797 adp5589_read(kpad->client, ADP5589_GPI_STATUS_C) : 0; in adp5589_report_switch_state()
993 ret = adp5589_read(client, ADP5589_5_ID); in adp5589_probe()