Home
last modified time | relevance | path

Searched refs:pupdr (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/gpio/
H A Dstm32l4x5_gpio.c51 return extract32(s->pupdr, 2 * pin, 2) == 1; in is_pull_up()
56 return extract32(s->pupdr, 2 * pin, 2) == 2; in is_pull_down()
81 s->pupdr = s->pupdr_reset; in stm32l4x5_gpio_reset_hold()
286 s->pupdr = value; in stm32l4x5_gpio_write()
358 return s->pupdr; in stm32l4x5_gpio_read()
436 VMSTATE_UINT32(pupdr, Stm32l4x5GpioState),
/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c221 uint32_t pupdr = gpio_readl(GPIO_A, PUPDR); in test_idr_reset_value() local
229 g_assert_cmphex(pupdr, ==, reset(GPIO_A, PUPDR)); in test_idr_reset_value()
236 pupdr = gpio_readl(GPIO_B, PUPDR); in test_idr_reset_value()
244 g_assert_cmphex(pupdr, ==, reset(GPIO_B, PUPDR)); in test_idr_reset_value()
251 pupdr = gpio_readl(GPIO_C, PUPDR); in test_idr_reset_value()
258 g_assert_cmphex(pupdr, ==, reset(GPIO_C, PUPDR)); in test_idr_reset_value()
265 pupdr = gpio_readl(GPIO_H, PUPDR); in test_idr_reset_value()
272 g_assert_cmphex(pupdr, ==, reset(GPIO_H, PUPDR)); in test_idr_reset_value()
/openbmc/qemu/include/hw/gpio/
H A Dstm32l4x5_gpio.h40 uint32_t pupdr; member
/openbmc/u-boot/arch/arm/mach-stm32mp/include/mach/
H A Dgpio.h105 u32 pupdr; /* GPIO port pull-up/pull-down */ member
/openbmc/u-boot/arch/arm/include/asm/arch-stm32/
H A Dgpio.h104 u32 pupdr; /* GPIO port pull-up/pull-down */ member
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl_stm32.c263 clrsetbits_le32(&regs->pupdr, PUPD_MASK << index, ctl->pupd << index); in stm32_gpio_config()