Searched refs:INP_EN_OFFSET (Results 1 – 1 of 1) sorted by relevance
18 #define INP_EN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x10) macro51 data = readl(priv->reg_base + INP_EN_OFFSET(nr)); in pci1xxxx_gpio_get_direction()82 pci1xxx_assign_bit(priv->reg_base, INP_EN_OFFSET(nr), (nr % 32), true); in pci1xxxx_gpio_direction_input()104 pci1xxx_assign_bit(priv->reg_base, INP_EN_OFFSET(nr), (nr % 32), false); in pci1xxxx_gpio_direction_output()