Home
last modified time | relevance | path

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

/linux/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_gpio.c18 #define INP_EN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x10) macro
51 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()