Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/drivers/pinctrl/rockchip/
Dpinctrl-rockchip-core.c114 int iomux_num = (pin / 8); in rockchip_get_mux() local
120 if (iomux_num > 3) in rockchip_get_mux()
123 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_get_mux()
128 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_get_mux()
131 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rockchip_get_mux()
135 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
136 reg = bank->iomux[iomux_num].offset; in rockchip_get_mux()
160 int iomux_num = (pin / 8); in rockchip_verify_mux() local
162 if (iomux_num > 3) in rockchip_verify_mux()
165 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_verify_mux()
[all …]
Dpinctrl-rk3036.c17 int iomux_num = (pin / 8); in rk3036_set_mux() local
23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3036_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3036_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3036_set_mux()
Dpinctrl-rk3188.c17 int iomux_num = (pin / 8); in rk3188_set_mux() local
23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3188_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3188_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3188_set_mux()
Dpinctrl-rk3368.c17 int iomux_num = (pin / 8); in rk3368_set_mux() local
23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3368_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3368_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3368_set_mux()
Dpinctrl-rk3128.c104 int iomux_num = (pin / 8); in rk3128_set_mux() local
110 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3128_set_mux()
114 mux_type = bank->iomux[iomux_num].type; in rk3128_set_mux()
115 reg = bank->iomux[iomux_num].offset; in rk3128_set_mux()
Dpinctrl-rk3288.c34 int iomux_num = (pin / 8); in rk3288_set_mux() local
40 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3288_set_mux()
44 mux_type = bank->iomux[iomux_num].type; in rk3288_set_mux()
45 reg = bank->iomux[iomux_num].offset; in rk3288_set_mux()
Dpinctrl-rk322x.c147 int iomux_num = (pin / 8); in rk3228_set_mux() local
153 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3228_set_mux()
157 mux_type = bank->iomux[iomux_num].type; in rk3228_set_mux()
158 reg = bank->iomux[iomux_num].offset; in rk3228_set_mux()
Dpinctrl-rk3399.c56 int iomux_num = (pin / 8); in rk3399_set_mux() local
62 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3399_set_mux()
66 mux_type = bank->iomux[iomux_num].type; in rk3399_set_mux()
67 reg = bank->iomux[iomux_num].offset; in rk3399_set_mux()
Dpinctrl-rv1108.c81 int iomux_num = (pin / 8); in rv1108_set_mux() local
87 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rv1108_set_mux()
91 mux_type = bank->iomux[iomux_num].type; in rv1108_set_mux()
92 reg = bank->iomux[iomux_num].offset; in rv1108_set_mux()
Dpinctrl-rk3328.c127 int iomux_num = (pin / 8); in rk3328_set_mux() local
133 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3328_set_mux()
137 mux_type = bank->iomux[iomux_num].type; in rk3328_set_mux()
138 reg = bank->iomux[iomux_num].offset; in rk3328_set_mux()
Dpinctrl-px30.c77 int iomux_num = (pin / 8); in px30_set_mux() local
83 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in px30_set_mux()
87 mux_type = bank->iomux[iomux_num].type; in px30_set_mux()
88 reg = bank->iomux[iomux_num].offset; in px30_set_mux()
Dpinctrl-rk3308.c255 int iomux_num = (pin / 8); in rk3308_set_mux() local
261 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3308_set_mux()
265 mux_type = bank->iomux[iomux_num].type; in rk3308_set_mux()
266 reg = bank->iomux[iomux_num].offset; in rk3308_set_mux()