Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-vx855.c27 #define NR_VX855_GPI 14 macro
31 #define NR_VX855_GPInO (NR_VX855_GPI + NR_VX855_GPO)
32 #define NR_VX855_GP (NR_VX855_GPI + NR_VX855_GPO + NR_VX855_GPIO)
88 if (nr < NR_VX855_GPI) in vx855gpio_direction_input()
111 if (nr < NR_VX855_GPI) { in vx855gpio_get()
119 if (reg_in & gpo_o_bit(nr - NR_VX855_GPI)) in vx855gpio_get()
138 if (nr < NR_VX855_GPI) in vx855gpio_set()
145 reg_out |= gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set()
147 reg_out &= ~gpo_o_bit(nr - NR_VX855_GPI); in vx855gpio_set()
162 if (nr < NR_VX855_GPI) in vx855gpio_direction_output()
[all …]
/openbmc/linux/drivers/staging/olpc_dcon/
H A Dolpc_dcon_xo_1_5.c16 #define NR_VX855_GPI 14 macro
21 #define VX855_GPO(n) (NR_VX855_GPI + (n))
22 #define VX855_GPIO(n) (NR_VX855_GPI + NR_VX855_GPO + (n))