Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_gpio.c22 #define PULLDOWN_OFFSET(x) ((((x) / 32) * 4) + 0x400 + 0x50) macro
141 pci1xxx_assign_bit(priv->reg_base, PULLDOWN_OFFSET(offset), (offset % 32), true); in pci1xxxx_gpio_set_config()
145 pci1xxx_assign_bit(priv->reg_base, PULLDOWN_OFFSET(offset), (offset % 32), false); in pci1xxxx_gpio_set_config()