Home
last modified time | relevance | path

Searched refs:p2o (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c57 * p2o: function ptr for pin to offset conversion. This is required only for
61 * p2o_regs: mask of registers for which p2o and o2p are applicable
70 int (*p2o)(int pin); /* pin_to_offset */ member
114 if (plgpio->p2o && (plgpio->p2o_regs & PTO_DIR_REG)) { in plgpio_direction_input()
115 offset = plgpio->p2o(offset); in plgpio_direction_input()
135 if (plgpio->p2o && (plgpio->p2o_regs & (PTO_DIR_REG | PTO_WDATA_REG))) { in plgpio_direction_output()
136 tmp = plgpio->p2o(offset); in plgpio_direction_output()
168 if (plgpio->p2o && (plgpio->p2o_regs & PTO_RDATA_REG)) { in plgpio_get_value()
169 offset = plgpio->p2o(offset); in plgpio_get_value()
185 if (plgpio->p2o in plgpio_set_value()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c59 * p2o: function ptr for pin to offset conversion. This is required only for
63 * p2o_regs: mask of registers for which p2o and o2p are applicable
72 int (*p2o)(int pin); /* pin_to_offset */ member
121 if (plgpio->p2o && (plgpio->p2o_regs & PTO_DIR_REG)) { in plgpio_direction_input()
122 offset = plgpio->p2o(offset); in plgpio_direction_input()
142 if (plgpio->p2o && (plgpio->p2o_regs & (PTO_DIR_REG | PTO_WDATA_REG))) { in plgpio_direction_output()
143 tmp = plgpio->p2o(offset); in plgpio_direction_output()
175 if (plgpio->p2o && (plgpio->p2o_regs & PTO_RDATA_REG)) { in plgpio_get_value()
176 offset = plgpio->p2o(offset); in plgpio_get_value()
192 if (plgpio->p2o in plgpio_set_value()
[all...]

Completed in 3 milliseconds