Searched refs:moder (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/tests/qtest/ |
| H A D | stm32l4x5_gpio-test.c | 211 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 D | stm32f7_gpio.c | 59 clrsetbits_le32(®s->moder, mask, STM32_GPIO_MODE_IN << bits_index); in stm32_gpio_direction_input() 80 clrsetbits_le32(®s->moder, mask, STM32_GPIO_MODE_OUT << bits_index); in stm32_gpio_direction_output() 131 mode = (readl(®s->moder) & mask) >> bits_index; in stm32_gpio_get_function()
|
| /openbmc/qemu/hw/gpio/ |
| H A D | stm32l4x5_gpio.c | 61 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 D | stm32l4x5_gpio.h | 37 uint32_t moder; member
|
| /openbmc/u-boot/arch/arm/mach-stm32mp/include/mach/ |
| H A D | gpio.h | 102 u32 moder; /* GPIO port mode */ member
|
| /openbmc/u-boot/arch/arm/include/asm/arch-stm32/ |
| H A D | gpio.h | 101 u32 moder; /* GPIO port mode */ member
|
| /openbmc/u-boot/drivers/pinctrl/ |
| H A D | pinctrl_stm32.c | 259 clrsetbits_le32(®s->moder, MODE_BITS_MASK << index, in stm32_gpio_config()
|