Searched refs:pupd (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_npcx.c | 72 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()
|
D | pinctrl_gd32_afio.c | 160 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()
|
D | pinctrl_stm32.c | 243 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/ |
D | gpio_gd32.c | 135 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()
|
D | gpio_stm32.c | 121 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()
|
D | gpio_stm32.h | 233 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/ |
D | npcx7-pinctrl.dtsi | 53 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/ |
D | npcx9-pinctrl.dtsi | 62 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/ |
D | npcx4-pinctrl.dtsi | 71 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/ |
D | stm32l4.dtsi | 490 wkup-pins-pupd;
|
/Zephyr-latest/dts/arm/st/wb/ |
D | stm32wb.dtsi | 530 wkup-pins-pupd;
|
/Zephyr-latest/dts/arm/st/wl/ |
D | stm32wl.dtsi | 512 wkup-pins-pupd;
|
/Zephyr-latest/dts/arm/st/u5/ |
D | stm32u5.dtsi | 872 wkup-pins-pupd;
|