Searched refs:OUT_EN_OFFSET (Results 1 – 1 of 1) sorted by relevance
17 #define OUT_EN_OFFSET(x) ((((x) / 32) * 4) + 0x400) macro55 data = readl(priv->reg_base + OUT_EN_OFFSET(nr)); in pci1xxxx_gpio_get_direction()83 pci1xxx_assign_bit(priv->reg_base, OUT_EN_OFFSET(nr), (nr % 32), false); in pci1xxxx_gpio_direction_input()105 pci1xxx_assign_bit(priv->reg_base, OUT_EN_OFFSET(nr), (nr % 32), true); in pci1xxxx_gpio_direction_output()