Lines Matching full:mux
221 uint32_t pin, mux; in pinctrl_configure_pins() local
235 mux = pins[i].pinmux; in pinctrl_configure_pins()
240 if (STM32_DT_PINMUX_FUNC(mux) == ALTERNATE) { in pinctrl_configure_pins()
242 } else if (STM32_DT_PINMUX_FUNC(mux) == ANALOG) { in pinctrl_configure_pins()
244 } else if (STM32_DT_PINMUX_FUNC(mux) == GPIO_IN) { in pinctrl_configure_pins()
252 } else if (STM32_DT_PINMUX_FUNC(mux) == GPIO_OUT) { in pinctrl_configure_pins()
256 __ASSERT_NO_MSG(STM32_DT_PINMUX_FUNC(mux)); in pinctrl_configure_pins()
259 if (STM32_DT_PINMUX_FUNC(mux) < STM32_ANALOG) { in pinctrl_configure_pins()
261 } else if (STM32_DT_PINMUX_FUNC(mux) == STM32_ANALOG) { in pinctrl_configure_pins()
263 } else if (STM32_DT_PINMUX_FUNC(mux) == STM32_GPIO) { in pinctrl_configure_pins()
267 __ASSERT_NO_MSG(STM32_DT_PINMUX_FUNC(mux)); in pinctrl_configure_pins()
271 pin = STM32PIN(STM32_DT_PINMUX_PORT(mux), in pinctrl_configure_pins()
272 STM32_DT_PINMUX_LINE(mux)); in pinctrl_configure_pins()
274 ret = stm32_pin_configure(pin, pin_cgf, STM32_DT_PINMUX_FUNC(mux)); in pinctrl_configure_pins()