Lines Matching refs:pin_mux
29 static void configure_pin_props(uint32_t pin_mux, uint8_t gpio_idx) in configure_pin_props() argument
56 set = IOMUX_PAD_GET_PULL(pin_mux) << ((gpio_idx & 0xF) << 1); in configure_pin_props()
60 set = IOMUX_PAD_GET_SLEW(pin_mux) << ((gpio_idx & 0xF) << 1); in configure_pin_props()
65 set = (IOMUX_PAD_GET_SLEEP_FORCE_EN(pin_mux) << (gpio_idx & 0x1F)); in configure_pin_props()
67 set = (IOMUX_PAD_GET_SLEEP_FORCE_VAL(pin_mux) << (gpio_idx & 0x1F)); in configure_pin_props()
111 uint32_t pin_mux = pins[i]; in pinctrl_configure_pins() local
112 uint8_t gpio_idx = IOMUX_GET_GPIO_IDX(pin_mux); in pinctrl_configure_pins()
113 uint8_t type = IOMUX_GET_TYPE(pin_mux); in pinctrl_configure_pins()
123 flexcomm_reg += IOMUX_GET_FLEXCOMM_IDX(pin_mux); in pinctrl_configure_pins()
125 (0x1 << IOMUX_GET_FLEXCOMM_BIT(pin_mux)); in pinctrl_configure_pins()
129 (0x1 << IOMUX_GET_FSEL_BIT(pin_mux)); in pinctrl_configure_pins()
133 (0x1 << IOMUX_GET_CTIMER_BIT(pin_mux)); in pinctrl_configure_pins()
137 (0x1 << IOMUX_GET_CTIMER_BIT(pin_mux)); in pinctrl_configure_pins()
141 (0x1 << IOMUX_GET_SCTIMER_BIT(pin_mux)); in pinctrl_configure_pins()
145 (0x1 << (IOMUX_GET_SCTIMER_BIT(pin_mux) + 16)); in pinctrl_configure_pins()
164 configure_pin_props(pin_mux, gpio_idx); in pinctrl_configure_pins()