Lines Matching refs:pin_selector
151 static int sandbox_pinmux_set(struct udevice *dev, unsigned pin_selector, in sandbox_pinmux_set() argument
158 pin_selector, sandbox_get_pin_name(dev, pin_selector), in sandbox_pinmux_set()
161 if (pin_selector < 5) in sandbox_pinmux_set()
170 mux = BIT(pin_selector); in sandbox_pinmux_set()
176 priv->mux &= ~BIT(pin_selector); in sandbox_pinmux_set()
178 priv->pins_param[pin_selector] = 0; in sandbox_pinmux_set()
179 priv->pins_value[pin_selector] = 0; in sandbox_pinmux_set()
236 unsigned pin_selector = pinmux_group & 0xFFFF; in sandbox_pinmux_property_set() local
239 ret = sandbox_pinmux_set(dev, pin_selector, func_selector); in sandbox_pinmux_property_set()
240 return ret ? ret : pin_selector; in sandbox_pinmux_property_set()
243 static int sandbox_pinconf_set(struct udevice *dev, unsigned pin_selector, in sandbox_pinconf_set() argument
249 pin_selector, sandbox_get_pin_name(dev, pin_selector), in sandbox_pinconf_set()
252 priv->pins_param[pin_selector] |= BIT(param); in sandbox_pinconf_set()
254 priv->pins_value[pin_selector] |= BIT(param); in sandbox_pinconf_set()
256 priv->pins_value[pin_selector] &= ~BIT(param); in sandbox_pinconf_set()