Lines Matching refs:iomux_num
118 int iomux_num = (pin / 8); in rockchip_get_mux() local
124 if (iomux_num > 3) in rockchip_get_mux()
127 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_get_mux()
132 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_get_mux()
135 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rockchip_get_mux()
139 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
140 reg = bank->iomux[iomux_num].offset; in rockchip_get_mux()
164 int iomux_num = (pin / 8); in rockchip_verify_mux() local
166 if (iomux_num > 3) in rockchip_verify_mux()
169 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_verify_mux()
174 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) { in rockchip_verify_mux()
201 int iomux_num = (pin / 8); in rockchip_set_mux() local
208 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_set_mux()