Lines Matching +full:mux +full:- +full:gpio2
1 // SPDX-License-Identifier: GPL-2.0+
17 #include "../pinctrl-utils.h"
19 #include "pinctrl-bcm63xx.h"
47 PINCTRL_PIN(2, "gpio2"),
80 * to their mux offsets.
125 BCM_PIN_GROUP(gpio2),
164 "gpio2",
241 #define BCM6328_MUX_FUN(n, mux) \ argument
246 .mux_val = mux, \
313 unsigned int mode, unsigned int mux) in bcm6328_rmw_mux() argument
316 regmap_update_bits(pc->regs, BCM6328_MODE_REG, BIT(pin), in bcm6328_rmw_mux()
319 regmap_update_bits(pc->regs, bcm6328_mux_off(pin), in bcm6328_rmw_mux()
321 mux << ((pin % 16) * 2)); in bcm6328_rmw_mux()
331 bcm6328_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6328_pinctrl_set_mux()
379 { .compatible = "brcm,bcm6328-pinctrl", },
386 .name = "bcm6328-pinctrl",