Lines Matching refs:bitpos
64 unsigned int bitpos, bool set) in pci1xxx_assign_bit() argument
70 data |= BIT(bitpos); in pci1xxx_assign_bit()
72 data &= ~BIT(bitpos); in pci1xxx_assign_bit()
202 unsigned int bitpos = gpio % 32; in pci1xxxx_gpio_set_type() local
206 bitpos, false); in pci1xxxx_gpio_set_type()
208 bitpos, false); in pci1xxxx_gpio_set_type()
212 bitpos, true); in pci1xxxx_gpio_set_type()
217 bitpos, false); in pci1xxxx_gpio_set_type()
218 pci1xxx_assign_bit(priv->reg_base, MODE_OFFSET(gpio), bitpos, in pci1xxxx_gpio_set_type()
223 bitpos, true); in pci1xxxx_gpio_set_type()
228 bitpos, true); in pci1xxxx_gpio_set_type()
230 bitpos, false); in pci1xxxx_gpio_set_type()
231 pci1xxx_assign_bit(priv->reg_base, MODE_OFFSET(gpio), bitpos, in pci1xxxx_gpio_set_type()
238 bitpos, false); in pci1xxxx_gpio_set_type()
240 bitpos, false); in pci1xxxx_gpio_set_type()
241 pci1xxx_assign_bit(priv->reg_base, MODE_OFFSET(gpio), bitpos, in pci1xxxx_gpio_set_type()
247 pci1xxx_assign_bit(priv->reg_base, INTR_LEVEL_MASK_OFFSET(gpio), bitpos, true); in pci1xxxx_gpio_set_type()