Home
last modified time | relevance | path

Searched refs:moder (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c211 uint32_t moder = gpio_readl(GPIO_A, MODER); in test_idr_reset_value() local
218 g_assert_cmphex(moder, ==, reset(GPIO_A, MODER)); in test_idr_reset_value()
226 moder = gpio_readl(GPIO_B, MODER); in test_idr_reset_value()
233 g_assert_cmphex(moder, ==, reset(GPIO_B, MODER)); in test_idr_reset_value()
241 moder = gpio_readl(GPIO_C, MODER); in test_idr_reset_value()
247 g_assert_cmphex(moder, ==, reset(GPIO_C, MODER)); in test_idr_reset_value()
255 moder = gpio_readl(GPIO_H, MODER); in test_idr_reset_value()
261 g_assert_cmphex(moder, ==, reset(GPIO_H, MODER)); in test_idr_reset_value()
/openbmc/u-boot/drivers/gpio/
H A Dstm32f7_gpio.c59 clrsetbits_le32(&regs->moder, mask, STM32_GPIO_MODE_IN << bits_index); in stm32_gpio_direction_input()
80 clrsetbits_le32(&regs->moder, mask, STM32_GPIO_MODE_OUT << bits_index); in stm32_gpio_direction_output()
131 mode = (readl(&regs->moder) & mask) >> bits_index; in stm32_gpio_get_function()
/openbmc/qemu/hw/gpio/
H A Dstm32l4x5_gpio.c61 return extract32(s->moder, 2 * pin, 2) == 1; in is_output()
78 s->moder = s->moder_reset; in stm32l4x5_gpio_reset_hold()
267 s->moder = value; in stm32l4x5_gpio_write()
352 return s->moder; in stm32l4x5_gpio_read()
433 VMSTATE_UINT32(moder, Stm32l4x5GpioState),
/openbmc/qemu/include/hw/gpio/
H A Dstm32l4x5_gpio.h37 uint32_t moder; member
/openbmc/u-boot/arch/arm/mach-stm32mp/include/mach/
H A Dgpio.h102 u32 moder; /* GPIO port mode */ member
/openbmc/u-boot/arch/arm/include/asm/arch-stm32/
H A Dgpio.h101 u32 moder; /* GPIO port mode */ member
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl_stm32.c259 clrsetbits_le32(&regs->moder, MODE_BITS_MASK << index, in stm32_gpio_config()