Searched refs:ADP5588_BIT (Results 1 – 3 of 3) sorted by relevance
69 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()
78 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()
101 #define ADP5588_BIT(offs) (1u << ((offs) & 0x7)) macro