| /rk3399_rockchip-uboot/drivers/pinctrl/rockchip/ |
| H A D | pinctrl-rk3036.c | 19 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 D | pinctrl-rk3188.c | 19 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 D | pinctrl-rk3128.c | 106 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 D | pinctrl-rk3368.c | 19 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 D | pinctrl-rk3288.c | 36 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 D | pinctrl-rk322x.c | 149 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 D | pinctrl-rk1808.c | 58 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 D | pinctrl-rk3399.c | 58 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 D | pinctrl-rv1108.c | 83 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 D | pinctrl-rockchip-core.c | 88 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 D | pinctrl-rk3328.c | 174 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 D | pinctrl-rv1126.c | 148 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 D | pinctrl-rk3308.c | 458 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 D | pinctrl-rockchip.h | 598 int rockchip_get_mux_data(int mux_type, int pin, u8 *bit, int *mask);
|
| /rk3399_rockchip-uboot/drivers/pinctrl/ |
| H A D | pinctrl-rockchip.c | 1634 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()
|