Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 3 of 3) sorted by relevance

/drivers/pinctrl/
A Dpinctrl_stm32.c210 u32 pupd, otype; in stm32_pinctrl_get_pin_muxing() local
224 otype = (readl(&priv->regs->otyper) >> gpio_idx) & OTYPE_MSK; in stm32_pinctrl_get_pin_muxing()
235 pinmux_otype[otype], pinmux_bias[pupd], in stm32_pinctrl_get_pin_muxing()
240 pinmux_mode[mode], pinmux_otype[otype], in stm32_pinctrl_get_pin_muxing()
282 if (!ctl || ctl->af > 15 || ctl->mode > 3 || ctl->otype > 1 || in stm32_gpio_config()
305 clrsetbits_le32(&regs->otyper, OTYPE_MSK << index, ctl->otype << index); in stm32_gpio_config()
348 gpio_ctl->otype = STM32_GPIO_OTYPE_OD; in prep_gpio_ctl()
350 gpio_ctl->otype = STM32_GPIO_OTYPE_PP; in prep_gpio_ctl()
360 gpio_fn, gpio_ctl->speed, gpio_ctl->otype, in prep_gpio_ctl()
/drivers/gpio/
A Dstm32_gpio_priv.h61 enum stm32_gpio_otype otype; member
A Dstm32_gpio.c55 enum stm32_gpio_otype otype) in stm32_gpio_set_otype() argument
60 clrsetbits_le32(&regs->otyper, OTYPE_MSK << bits, otype << bits); in stm32_gpio_set_otype()

Completed in 7 milliseconds