Searched refs:adp5588_gpio_write (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/gpio/ |
D | gpio-adp5588.c | 58 static int adp5588_gpio_write(struct i2c_client *client, u8 reg, u8 val) in adp5588_gpio_write() function 102 adp5588_gpio_write(dev->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_set_value() 117 ret = adp5588_gpio_write(dev->client, GPIO_DIR1 + bank, dev->dir[bank]); in adp5588_gpio_direction_input() 141 ret = adp5588_gpio_write(dev->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output() 143 ret |= adp5588_gpio_write(dev->client, GPIO_DIR1 + bank, in adp5588_gpio_direction_output() 183 adp5588_gpio_write(dev->client, GPIO_DIR1 + i, in adp5588_irq_bus_sync_unlock() 190 adp5588_gpio_write(dev->client, GPIO_INT_LVL1 + i, in adp5588_irq_bus_sync_unlock() 196 adp5588_gpio_write(dev->client, GPIO_INT_EN1 + i, in adp5588_irq_bus_sync_unlock() 294 adp5588_gpio_write(dev->client, INT_STAT, status); /* Status is W1C */ in adp5588_irq_handler() 307 adp5588_gpio_write(client, CFG, ADP5588_AUTO_INC); in adp5588_irq_setup() [all …]
|