Home
last modified time | relevance | path

Searched refs:PUPD_MASK (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/gpio/
A Dstm32_gpio.c30 #define PUPD_MASK 3 macro
76 clrsetbits_le32(&regs->pupdr, PUPD_MASK << bits, pupd << bits); in stm32_gpio_set_pupd()
82 return (readl(&regs->pupdr) >> PUPD_BITS(idx)) & PUPD_MASK; in stm32_gpio_get_pupd()
/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c26 #define PUPD_MASK 3 macro
218 pupd = (readl(&priv->regs->pupdr) >> (gpio_idx * 2)) & PUPD_MASK; in stm32_pinctrl_get_pin_muxing()
294 clrsetbits_le32(&regs->pupdr, PUPD_MASK << index, ctl->pupd << index); in stm32_gpio_config()

Completed in 5 milliseconds