Lines Matching refs:adp5588_gpio_write
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()
308 adp5588_gpio_write(client, INT_STAT, -1); /* status is W1C */ in adp5588_irq_setup()
335 adp5588_gpio_write(client, CFG, in adp5588_irq_setup()
415 ret |= adp5588_gpio_write(client, KP_GPIO1 + i, 0); in adp5588_gpio_probe()
416 ret |= adp5588_gpio_write(client, GPIO_PULL1 + i, in adp5588_gpio_probe()
418 ret |= adp5588_gpio_write(client, GPIO_INT_EN1 + i, 0); in adp5588_gpio_probe()