Home
last modified time | relevance | path

Searched refs:adp5588_gpio_write (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpio/
Dgpio-adp5588.c56 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()
118 ret = adp5588_gpio_write(dev->client, GPIO_DIR1 + bank, dev->dir[bank]); in adp5588_gpio_direction_input()
143 ret = adp5588_gpio_write(dev->client, GPIO_DAT_OUT1 + bank, in adp5588_gpio_direction_output()
145 ret |= adp5588_gpio_write(dev->client, GPIO_DIR1 + bank, in adp5588_gpio_direction_output()
183 adp5588_gpio_write(dev->client, GPIO_INT_EN1 + i, in adp5588_irq_bus_sync_unlock()
229 adp5588_gpio_write(dev->client, GPIO_INT_LVL1 + bank, in adp5588_irq_set_type()
282 adp5588_gpio_write(dev->client, INT_STAT, status); /* Status is W1C */ in adp5588_irq_handler()
295 adp5588_gpio_write(client, CFG, ADP5588_AUTO_INC); in adp5588_irq_setup()
296 adp5588_gpio_write(client, INT_STAT, -1); /* status is W1C */ in adp5588_irq_setup()
[all …]