3 #ifndef AMD_BLOCK_GPIO_BANKS_H
4 #define AMD_BLOCK_GPIO_BANKS_H
76 size_t override_num_pads);
void gpio_restore_pin_registers(gpio_t gpio, struct soc_amd_gpio_register_save *save)
static bool is_gpio_event_level_triggered(uint32_t flags)
void gpio_save_pin_registers(gpio_t gpio, struct soc_amd_gpio_register_save *save)
void gpio_fill_wake_state(struct gpio_wake_state *state)
static bool is_gpio_event_edge_triggered(uint32_t flags)
static bool is_gpio_event_active_low(uint32_t flags)
void soc_get_gpio_event_table(const struct soc_amd_event **table, size_t *items)
static bool is_gpio_event_active_high(uint32_t flags)
int gpio_interrupt_status(gpio_t gpio)
void gpio_configure_pads(const struct soc_amd_gpio *gpio_list_ptr, size_t size)
program a particular set of GPIO
void gpio_configure_pads_with_override(const struct soc_amd_gpio *base_cfg, size_t base_num_pads, const struct soc_amd_gpio *override_cfg, size_t override_num_pads)
void gpio_add_events(void)
#define GPIO_FLAG_EVENT_ACTIVE_MASK
#define GPIO_FLAG_EVENT_TRIGGER_EDGE
#define GPIO_FLAG_EVENT_ACTIVE_LOW
#define GPIO_FLAG_EVENT_ACTIVE_HIGH
#define GPIO_FLAG_EVENT_TRIGGER_MASK
#define GPIO_FLAG_EVENT_TRIGGER_LEVEL
uint32_t num_valid_wake_gpios