Home
last modified time | relevance | path

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

/u-boot/drivers/pinctrl/rockchip/
A Dpinctrl-rk322x.c19 .bank_num = 0,
26 .bank_num = 3,
33 .bank_num = 0,
40 .bank_num = 0,
47 .bank_num = 0,
54 .bank_num = 1,
61 .bank_num = 3,
68 .bank_num = 1,
75 .bank_num = 1,
82 .bank_num = 3,
[all …]
A Dpinctrl-rk3308.c113 .bank_num = 0,
120 .bank_num = 1,
127 .bank_num = 4,
134 .bank_num = 0,
141 .bank_num = 3,
148 .bank_num = 2,
155 .bank_num = 1,
162 .bank_num = 1,
169 .bank_num = 1,
176 .bank_num = 1,
[all …]
A Dpinctrl-rk3328.c41 .bank_num = 1,
48 .bank_num = 2,
55 .bank_num = 1,
62 .bank_num = 1,
69 .bank_num = 2,
76 .bank_num = 1,
83 .bank_num = 3,
90 .bank_num = 1,
97 .bank_num = 3,
104 .bank_num = 2,
[all …]
A Dpinctrl-px30.c19 .bank_num = 2,
26 .bank_num = 3,
33 .bank_num = 3,
40 .bank_num = 2,
47 .bank_num = 1,
54 .bank_num = 2,
61 .bank_num = 0,
68 .bank_num = 1,
122 if (bank->bank_num == 0) { in px30_calc_pull_reg_and_bit()
179 if (bank->bank_num == 0) { in px30_calc_drv_reg_and_bit()
[all …]
A Dpinctrl-rk3399.c19 .bank_num = 4,
26 .bank_num = 4,
33 .bank_num = 4,
40 .bank_num = 2,
47 .bank_num = 4,
98 if (bank->bank_num == 0 || bank->bank_num == 1) { in rk3399_calc_pull_reg_and_bit()
102 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rk3399_calc_pull_reg_and_bit()
109 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rk3399_calc_pull_reg_and_bit()
153 if (bank->bank_num == 0 || bank->bank_num == 1) in rk3399_calc_drv_reg_and_bit()
A Dpinctrl-rk3128.c52 .bank_num = 1,
59 .bank_num = 1,
66 .bank_num = 0,
73 .bank_num = 1,
80 .bank_num = 0,
87 .bank_num = 1,
94 .bank_num = 2,
150 *reg += bank->bank_num * RK3128_PULL_BANK_STRIDE; in rk3128_calc_pull_reg_and_bit()
A Dpinctrl-rk3288.c18 .bank_num = 7,
25 .bank_num = 7,
60 if (bank->bank_num == 0) { in rk3288_set_mux()
84 if (bank->bank_num == 0) { in rk3288_calc_pull_reg_and_bit()
93 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rk3288_calc_pull_reg_and_bit()
122 if (bank->bank_num == 0) { in rk3288_set_pull()
146 if (bank->bank_num == 0) { in rk3288_calc_drv_reg_and_bit()
155 *reg += bank->bank_num * ROCKCHIP_DRV_BANK_STRIDE; in rk3288_calc_drv_reg_and_bit()
180 if (bank->bank_num == 0) { in rk3288_set_drive()
A Dpinctrl-rockchip.h95 u8 bank_num; member
105 .bank_num = id, \
118 .bank_num = id, \
131 .bank_num = id, \
152 .bank_num = id, \
178 .bank_num = id, \
202 .bank_num = id, \
248 u8 bank_num; member
A Dpinctrl-rv1108.c117 if (bank->bank_num == 0) { in rv1108_calc_pull_reg_and_bit()
125 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rv1108_calc_pull_reg_and_bit()
171 if (bank->bank_num == 0) { in rv1108_calc_drv_reg_and_bit()
180 *reg += bank->bank_num * ROCKCHIP_DRV_BANK_STRIDE; in rv1108_calc_drv_reg_and_bit()
226 if (bank->bank_num == 0) { in rv1108_calc_schmitt_reg_and_bit()
234 *reg += (bank->bank_num - 1) * RV1108_SCHMITT_BANK_STRIDE; in rv1108_calc_schmitt_reg_and_bit()
A Dpinctrl-rk3368.c49 if (bank->bank_num == 0) { in rk3368_calc_pull_reg_and_bit()
58 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rk3368_calc_pull_reg_and_bit()
104 if (bank->bank_num == 0) { in rk3368_calc_drv_reg_and_bit()
113 *reg += bank->bank_num * ROCKCHIP_DRV_BANK_STRIDE; in rk3368_calc_drv_reg_and_bit()
A Dpinctrl-rockchip-core.c52 if (data->num == bank->bank_num && in rockchip_get_recalced_mux()
75 if (data->bank_num == bank->bank_num && in rockchip_get_mux_route()
211 debug("setting mux of GPIO%d-%d to %d\n", bank->bank_num, pin, mux); in rockchip_set_mux()
253 debug("setting drive of GPIO%d-%d to %d\n", bank->bank_num, in rockchip_set_drive_perpin()
299 debug("setting pull of GPIO%d-%d to %d\n", bank->bank_num, in rockchip_set_pull()
314 debug("setting input schmitt of GPIO%d-%d to %d\n", bank->bank_num, in rockchip_set_schmitt()
575 if (ctrl->iomux_recalced[j].num == bank->bank_num) {
585 if (ctrl->iomux_routes[j].bank_num == bank->bank_num) {
A Dpinctrl-rk3188.c49 if (bank->bank_num == 0 && pin_num < 12) { in rk3188_calc_pull_reg_and_bit()
62 *reg += bank->bank_num * ROCKCHIP_PULL_BANK_STRIDE; in rk3188_calc_pull_reg_and_bit()
A Dpinctrl-rk3036.c51 *reg += bank->bank_num * RK3036_PULL_BANK_STRIDE; in rk3036_calc_pull_reg_and_bit()
/u-boot/drivers/gpio/
A Dzynq_gpio.c192 unsigned int *bank_num, in zynq_gpio_get_bank_pin() argument
202 *bank_num = bank; in zynq_gpio_get_bank_pin()
211 *bank_num = 0; in zynq_gpio_get_bank_pin()
235 unsigned int bank_num, bank_pin_num; in zynq_gpio_get_value() local
244 ZYNQ_GPIO_DATA_RO_OFFSET(bank_num)); in zynq_gpio_get_value()
251 unsigned int reg_offset, bank_num, bank_pin_num; in zynq_gpio_set_value() local
262 reg_offset = ZYNQ_GPIO_DATA_MSW_OFFSET(bank_num); in zynq_gpio_set_value()
264 reg_offset = ZYNQ_GPIO_DATA_LSW_OFFSET(bank_num); in zynq_gpio_set_value()
283 unsigned int bank_num, bank_pin_num; in zynq_gpio_direction_input() local
307 unsigned int bank_num, bank_pin_num; in zynq_gpio_direction_output() local
[all …]
A Dxilinx_gpio.c36 static int xilinx_gpio_get_bank_pin(unsigned offset, u32 *bank_num, in xilinx_gpio_get_bank_pin() argument
49 *bank_num = bank; in xilinx_gpio_get_bank_pin()

Completed in 17 milliseconds