Searched refs:ADP5588_BIT (Results 1 – 3 of 3) sorted by relevance
71 unsigned bit = ADP5588_BIT(off); in adp5588_gpio_get_value()94 bit = ADP5588_BIT(off); in adp5588_gpio_set_value()117 dev->dir[bank] &= ~ADP5588_BIT(off); in adp5588_gpio_direction_input()133 bit = ADP5588_BIT(off); in adp5588_gpio_direction_output()195 dev->irq_mask[ADP5588_BANK(gpio)] &= ~ADP5588_BIT(gpio); in adp5588_irq_mask()203 dev->irq_mask[ADP5588_BANK(gpio)] |= ADP5588_BIT(gpio); in adp5588_irq_unmask()219 bit = ADP5588_BIT(gpio); in adp5588_irq_set_type()
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()
102 #define ADP5588_BIT(offs) (1u << ((offs) & 0x7)) macro