Lines Matching full:iomux
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()
165 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_verify_mux()
170 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) { in rockchip_verify_mux()
206 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_set_mux()
211 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rockchip_set_mux()
215 mux_type = bank->iomux[iomux_num].type; in rockchip_set_mux()
216 reg = bank->iomux[iomux_num].offset; in rockchip_set_mux()
677 /* calculate iomux and drv offsets */
679 struct rockchip_iomux *iom = &bank->iomux[j];
686 /* preset iomux offset value, set new start value */
692 } else { /* set current iomux offset */
708 debug("bank %d, iomux %d has iom_offset 0x%x drv_offset 0x%x\n",
712 * Increase offset according to iomux width.
713 * 4bit iomux'es are spread over two registers.