Searched refs:adp5589_write (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/input/keyboard/ |
H A D | adp5589-keys.c | 383 static int adp5589_write(struct i2c_client *client, u8 reg, u8 val) in adp5589_write() function 421 adp5589_write(kpad->client, kpad->var->reg(ADP5589_GPO_DATA_OUT_A) + in adp5589_gpio_set_value() 434 return adp5589_write(kpad->client, in adp5589_gpio_direction_input() 456 error = adp5589_write(kpad->client, in adp5589_gpio_direction_output() 462 error = adp5589_write(kpad->client, in adp5589_gpio_direction_output() 605 adp5589_write(client, ADP5589_5_INT_STATUS, status); /* Status is W1C */ in adp5589_irq() 633 ret = adp5589_write(client, reg(ADP5589_PIN_CONFIG_A), in adp5589_setup() 635 ret |= adp5589_write(client, reg(ADP5589_PIN_CONFIG_B), in adp5589_setup() 640 ret |= adp5589_write(client, ADP5589_PIN_CONFIG_C, in adp5589_setup() 644 ret |= adp5589_write(client, ADP5589_UNLOCK1, in adp5589_setup() [all …]
|