Home
last modified time | relevance | path

Searched refs:pupd (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_npcx.c72 static void npcx_periph_pupd_configure(const struct npcx_periph *pupd, in npcx_periph_pupd_configure() argument
78 NPCX_PUPD_EN(scfg_base, pupd->group) &= ~BIT(pupd->bit); in npcx_periph_pupd_configure()
80 NPCX_PUPD_EN(scfg_base, pupd->group) |= BIT(pupd->bit); in npcx_periph_pupd_configure()
Dpinctrl_gd32_afio.c160 uint8_t pupd = GD32_PUPD_GET(pin); in configure_pin() local
162 if (pupd == GD32_PUPD_NONE) { in configure_pin()
167 if (pupd == GD32_PUPD_PULLDOWN) { in configure_pin()
169 } else if (pupd == GD32_PUPD_PULLUP) { in configure_pin()
Dpinctrl_stm32.c243 uint32_t pupd; in pinctrl_configure_pins() local
251 pupd = pin_cgf & (STM32_PUPD_MASK << STM32_PUPD_SHIFT); in pinctrl_configure_pins()
252 if (pupd == STM32_PUPD_NO_PULL) { in pinctrl_configure_pins()
/Zephyr-latest/drivers/gpio/
Dgpio_gd32.c135 uint32_t ctl, pupd; in gpio_gd32_configure() local
140 pupd = GPIO_PUD(config->reg); in gpio_gd32_configure()
141 pupd &= ~GPIO_PUPD_MASK(pin); in gpio_gd32_configure()
168 pupd |= GPIO_PUPD_SET(pin, GPIO_PUPD_PULLUP); in gpio_gd32_configure()
170 pupd |= GPIO_PUPD_SET(pin, GPIO_PUPD_PULLDOWN); in gpio_gd32_configure()
172 pupd |= GPIO_PUPD_SET(pin, GPIO_PUPD_NONE); in gpio_gd32_configure()
175 GPIO_PUD(config->reg) = pupd; in gpio_gd32_configure()
Dgpio_stm32.c121 if (pin_cfg.pupd == LL_GPIO_PULL_UP) { in gpio_stm32_pincfg_to_flags()
123 } else if (pin_cfg.pupd == LL_GPIO_PULL_DOWN) { in gpio_stm32_pincfg_to_flags()
290 uint32_t mode, otype, ospeed, pupd; in gpio_stm32_configure_raw() local
295 pupd = conf & (STM32_PUPDR_MASK << STM32_PUPDR_SHIFT); in gpio_stm32_configure_raw()
313 ll_gpio_set_pin_pull(gpio, pin_ll, pupd >> STM32_PUPDR_SHIFT); in gpio_stm32_configure_raw()
554 pin_config.pupd = ll_gpio_get_pin_pull(gpio, pin_ll); in gpio_stm32_get_config()
Dgpio_stm32.h233 unsigned int pupd; /* LL_GPIO_PULL_NO or LL_GPIO_PULL_UP or LL_GPIO_PULL_DOWN */ member
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-pinctrl.dtsi53 periph-pupd = <0x00 0>;
58 periph-pupd = <0x00 2>;
63 periph-pupd = <0x00 4>;
68 periph-pupd = <0x00 6>;
73 periph-pupd = <0x01 2>;
78 periph-pupd = <0x00 5>;
83 periph-pupd = <0x01 1>;
88 periph-pupd = <0x00 3>;
93 periph-pupd = <0x01 0>;
98 periph-pupd = <0x00 1>;
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-pinctrl.dtsi62 periph-pupd = <0x00 0>;
67 periph-pupd = <0x00 2>;
72 periph-pupd = <0x00 4>;
77 periph-pupd = <0x00 6>;
82 periph-pupd = <0x01 2>;
87 periph-pupd = <0x00 5>;
92 periph-pupd = <0x01 1>;
97 periph-pupd = <0x00 3>;
102 periph-pupd = <0x01 0>;
107 periph-pupd = <0x00 1>;
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-pinctrl.dtsi71 periph-pupd = <0x00 0>;
76 periph-pupd = <0x00 2>;
81 periph-pupd = <0x00 4>;
86 periph-pupd = <0x00 6>;
91 periph-pupd = <0x00 7>;
96 periph-pupd = <0x01 2>;
101 periph-pupd = <0x00 5>;
106 periph-pupd = <0x01 1>;
111 periph-pupd = <0x00 3>;
116 periph-pupd = <0x01 0>;
[all …]
/Zephyr-latest/dts/arm/st/l4/
Dstm32l4.dtsi490 wkup-pins-pupd;
/Zephyr-latest/dts/arm/st/wb/
Dstm32wb.dtsi530 wkup-pins-pupd;
/Zephyr-latest/dts/arm/st/wl/
Dstm32wl.dtsi512 wkup-pins-pupd;
/Zephyr-latest/dts/arm/st/u5/
Dstm32u5.dtsi872 wkup-pins-pupd;