Lines Matching defs:mux
66 int mux, u32 *reg, u32 *value)
76 data->pin == pin && data->func == mux)
142 /* get basic quadrupel of mux registers and the correct reg inside */
188 int pin, int mux)
201 if (mux != RK_FUNC_GPIO) {
202 debug("pin %d only supports a gpio mux\n", pin);
211 * Set a new mux function for a pin.
221 * @mux: new mux function to set
223 static int rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux)
230 ret = rockchip_verify_mux(bank, pin, mux);
237 debug("setting mux of GPIO%d-%d to %d\n", bank->bank_num, pin, mux);
242 ret = ctrl->set_mux(bank, pin, mux);
250 ret = rockchip_get_mux_route(bank, pin, mux,
454 u32 bank, pin, mux, conf, arg, default_val;
481 mux = cells[4 * i + 2];
488 ret = rockchip_set_mux(&ctrl->pin_banks[bank], pin, mux);