Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpio/
Dgpio-adp5588.c69 unsigned bit = ADP5588_BIT(off); in adp5588_gpio_get_value()
91 bit = ADP5588_BIT(off); in adp5588_gpio_set_value()
113 dev->dir[bank] &= ~ADP5588_BIT(off); in adp5588_gpio_direction_input()
128 bit = ADP5588_BIT(off); in adp5588_gpio_direction_output()
196 dev->irq_mask[ADP5588_BANK(d->hwirq)] &= ~ADP5588_BIT(d->hwirq); in adp5588_irq_mask()
204 dev->irq_mask[ADP5588_BANK(d->hwirq)] |= ADP5588_BIT(d->hwirq); in adp5588_irq_unmask()
215 bit = ADP5588_BIT(gpio); in adp5588_irq_set_type()
260 int bit = ADP5588_BIT(gpio); in adp5588_irq_handler()
/Linux-v5.10/drivers/input/keyboard/
Dadp5588-keys.c78 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_get_value()
98 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_set_value()
117 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_input()
135 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_output()
/Linux-v5.10/include/linux/platform_data/
Dadp5588.h101 #define ADP5588_BIT(offs) (1u << ((offs) & 0x7)) macro