Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/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-rockchip-core.c86 int rockchip_get_mux_data(int mux_type, int pin, u8 *bit, int *mask) in rockchip_get_mux_data() argument
90 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_get_mux_data()
95 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_get_mux_data()
118 int reg, ret, mask, mux_type; in rockchip_get_mux() local
136 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
138 reg += rockchip_get_mux_data(mux_type, pin, &bit, &mask); in rockchip_get_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-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-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-rk3328.c129 int reg, ret, mask, mux_type; in rk3328_set_mux() local
137 mux_type = bank->iomux[iomux_num].type; in rk3328_set_mux()
139 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.h567 int rockchip_get_mux_data(int mux_type, int pin, u8 *bit, int *mask);
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dmux.c303 static const char *mux_type(struct uart_port *port) in mux_type() function
433 .type = mux_type,
/OK3568_Linux_fs/kernel/drivers/mux/
H A Dcore.c58 static const struct device_type mux_type = { variable
96 mux_chip->dev.type = &mux_type; in mux_chip_alloc()
/OK3568_Linux_fs/u-boot/drivers/pinctrl/
H A Dpinctrl-rockchip.c1589 int reg, ret, mask, mux_type; in rockchip_get_mux() local
1611 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
1613 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_get_mux()
1618 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_get_mux()
1687 int reg, ret, mask, mux_type; in rockchip_set_mux() local
1708 mux_type = bank->iomux[iomux_num].type; in rockchip_set_mux()
1710 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_set_mux()
1715 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_set_mux()
1749 if (mux_type & IOMUX_WRITABLE_32BIT) { in rockchip_set_mux()
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-rockchip.c1070 int reg, ret, mask, mux_type; in rockchip_get_mux() local
1092 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
1094 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_get_mux()
1099 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_get_mux()
1185 int reg, ret, mask, mux_type; in rockchip_set_mux() local
1206 mux_type = bank->iomux[iomux_num].type; in rockchip_set_mux()
1208 if (mux_type & IOMUX_WIDTH_4BIT) { in rockchip_set_mux()
1213 } else if (mux_type & IOMUX_WIDTH_3BIT) { in rockchip_set_mux()
1308 if (mux_type & IOMUX_WRITABLE_32BIT) { in rockchip_set_mux()