Lines Matching refs:Stm32l4x5GpioState
47 static void update_gpio_idr(Stm32l4x5GpioState *s);
49 static bool is_pull_up(Stm32l4x5GpioState *s, unsigned pin) in is_pull_up()
54 static bool is_pull_down(Stm32l4x5GpioState *s, unsigned pin) in is_pull_down()
59 static bool is_output(Stm32l4x5GpioState *s, unsigned pin) in is_output()
64 static bool is_open_drain(Stm32l4x5GpioState *s, unsigned pin) in is_open_drain()
69 static bool is_push_pull(Stm32l4x5GpioState *s, unsigned pin) in is_push_pull()
76 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in stm32l4x5_gpio_reset_hold()
96 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_set()
120 static void update_gpio_idr(Stm32l4x5GpioState *s) in update_gpio_idr()
203 static uint32_t get_gpio_pinmask_to_disconnect(Stm32l4x5GpioState *s) in get_gpio_pinmask_to_disconnect()
224 static void disconnect_gpio_pins(Stm32l4x5GpioState *s, uint16_t lines) in disconnect_gpio_pins()
235 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in disconnected_pins_set()
252 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in clock_freq_get()
260 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_write()
346 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_read()
400 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in stm32l4x5_gpio_init()
421 Stm32l4x5GpioState *s = STM32L4X5_GPIO(dev); in stm32l4x5_gpio_realize()
433 VMSTATE_UINT32(moder, Stm32l4x5GpioState),
434 VMSTATE_UINT32(otyper, Stm32l4x5GpioState),
435 VMSTATE_UINT32(ospeedr, Stm32l4x5GpioState),
436 VMSTATE_UINT32(pupdr, Stm32l4x5GpioState),
437 VMSTATE_UINT32(idr, Stm32l4x5GpioState),
438 VMSTATE_UINT32(odr, Stm32l4x5GpioState),
439 VMSTATE_UINT32(lckr, Stm32l4x5GpioState),
440 VMSTATE_UINT32(afrl, Stm32l4x5GpioState),
441 VMSTATE_UINT32(afrh, Stm32l4x5GpioState),
442 VMSTATE_UINT32(ascr, Stm32l4x5GpioState),
443 VMSTATE_UINT16(disconnected_pins, Stm32l4x5GpioState),
444 VMSTATE_UINT16(pins_connected_high, Stm32l4x5GpioState),
445 VMSTATE_CLOCK(clk, Stm32l4x5GpioState),
451 DEFINE_PROP_STRING("name", Stm32l4x5GpioState, name),
452 DEFINE_PROP_UINT32("mode-reset", Stm32l4x5GpioState, moder_reset, 0),
453 DEFINE_PROP_UINT32("ospeed-reset", Stm32l4x5GpioState, ospeedr_reset, 0),
454 DEFINE_PROP_UINT32("pupd-reset", Stm32l4x5GpioState, pupdr_reset, 0),
473 .instance_size = sizeof(Stm32l4x5GpioState),