Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/pinctrl/rockchip/
H A Dpinctrl-rk3036.c19 int reg, ret, mask, mux_type; in rk3036_set_mux() local
27 mux_type = bank->iomux[iomux_num].type; in rk3036_set_mux()
29 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3036_set_mux()
H A Dpinctrl-rk3188.c19 int reg, ret, mask, mux_type; in rk3188_set_mux() local
27 mux_type = bank->iomux[iomux_num].type; in rk3188_set_mux()
29 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3188_set_mux()
H A Dpinctrl-rk3128.c106 int reg, ret, mask, mux_type; in rk3128_set_mux() local
114 mux_type = bank->iomux[iomux_num].type; in rk3128_set_mux()
116 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3128_set_mux()
H A Dpinctrl-rk3368.c19 int reg, ret, mask, mux_type; in rk3368_set_mux() local
27 mux_type = bank->iomux[iomux_num].type; in rk3368_set_mux()
29 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3368_set_mux()
H A Dpinctrl-rk3288.c36 int reg, ret, mask, mux_type; in rk3288_set_mux() local
44 mux_type = bank->iomux[iomux_num].type; in rk3288_set_mux()
46 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3288_set_mux()
H A Dpinctrl-rk322x.c149 int reg, ret, mask, mux_type; in rk3228_set_mux() local
157 mux_type = bank->iomux[iomux_num].type; in rk3228_set_mux()
159 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3228_set_mux()
H A Dpinctrl-rk1808.c58 int reg, ret, mask, mux_type; in rk1808_set_mux() local
72 mux_type = bank->iomux[iomux_num].type; in rk1808_set_mux()
74 if (mux_type & IOMUX_WIDTH_4BIT) { in rk1808_set_mux()
H A Dpinctrl-rk3399.c58 int reg, ret, mask, mux_type; in rk3399_set_mux() local
66 mux_type = bank->iomux[iomux_num].type; in rk3399_set_mux()
68 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3399_set_mux()
H A Dpinctrl-rv1108.c83 int reg, ret, mask, mux_type; in rv1108_set_mux() local
91 mux_type = bank->iomux[iomux_num].type; in rv1108_set_mux()
93 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rv1108_set_mux()
H A Dpinctrl-rockchip-core.c88 int rockchip_get_mux_data(int mux_type, int pin, u8 *bit, int *mask) in rockchip_get_mux_data() argument
92 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_get_mux_data()
97 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_get_mux_data()
120 int reg, ret, mask, mux_type; in rockchip_get_mux() local
138 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
140 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rockchip_get_mux()
H A Dpinctrl-rk3328.c174 int reg, ret, mask, mux_type; in rk3328_set_mux() local
182 mux_type = bank->iomux[iomux_num].type; in rk3328_set_mux()
184 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rk3328_set_mux()
H A Dpinctrl-rv1126.c148 int reg, ret, mask, mux_type; in rv1126_set_mux() local
162 mux_type = bank->iomux[iomux_num].type; in rv1126_set_mux()
164 if (mux_type & IOMUX_WIDTH_4BIT) { in rv1126_set_mux()
H A Dpinctrl-rk3308.c458 int reg, ret, mask, mux_type; in rk3308_set_mux() local
470 mux_type = bank->iomux[iomux_num].type; in rk3308_set_mux()
472 if (mux_type & IOMUX_WIDTH_4BIT) { in rk3308_set_mux()
H A Dpinctrl-rockchip.h598 int rockchip_get_mux_data(int mux_type, int pin, u8 *bit, int *mask);
/rk3399_rockchip-uboot/drivers/pinctrl/
H A Dpinctrl-rockchip.c1634 int reg, ret, mask, mux_type; in rockchip_get_mux() local
1656 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
1658 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_get_mux()
1663 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_get_mux()
1732 int reg, ret, mask, mux_type; in rockchip_set_mux() local
1753 mux_type = bank->iomux[iomux_num].type; in rockchip_set_mux()
1755 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_set_mux()
1760 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_set_mux()
1794 if (mux_type & IOMUX_WRITABLE_32BIT) { in rockchip_set_mux()