Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpio/
Dgpio-adp5588.c72 GPIO_DAT_STAT1 + ADP5588_BANK(off)) & ADP5588_BIT(off)); in adp5588_gpio_get_value()
82 bank = ADP5588_BANK(off); in adp5588_gpio_set_value()
103 bank = ADP5588_BANK(off); in adp5588_gpio_direction_input()
121 bank = ADP5588_BANK(off); in adp5588_gpio_direction_output()
169 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) in adp5588_irq_bus_sync_unlock()
184 dev->irq_mask[ADP5588_BANK(gpio)] &= ~ADP5588_BIT(gpio); in adp5588_irq_mask()
192 dev->irq_mask[ADP5588_BANK(gpio)] |= ADP5588_BIT(gpio); in adp5588_irq_unmask()
207 bank = ADP5588_BANK(gpio); in adp5588_irq_set_type()
255 for (bank = 0, bit = 0; bank <= ADP5588_BANK(ADP5588_MAXGPIO); in adp5588_irq_handler()
396 for (i = 0, ret = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_gpio_probe()
/linux-3.4.99/drivers/input/keyboard/
Dadp5588-keys.c78 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_get_value()
88 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_value()
107 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_input()
125 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_output()
209 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_gpio_add()
359 for (i = 0; i <= ADP5588_BANK(ADP5588_MAXGPIO); i++) { in adp5588_setup()
/linux-3.4.99/include/linux/i2c/
Dadp5588.h101 #define ADP5588_BANK(offs) ((offs) >> 3) macro