![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <gpio.h>
Data Fields | |
const int | gpio_count |
const u8 * | gpio_to_pad |
const int | legacy_base |
const unsigned long | pad_base |
const u8 | has_wake_en:1 |
const u8 | gpio_f1_range_start |
const u8 | gpio_f1_range_end |
const u8 | has_gpe_en:1 |
u32 | config [GPIO_PORTS_PER_BANK] |
u32 | out_enable [GPIO_PORTS_PER_BANK] |
u32 | out_value [GPIO_PORTS_PER_BANK] |
u32 | in_value [GPIO_PORTS_PER_BANK] |
u32 | int_status [GPIO_PORTS_PER_BANK] |
u32 | int_enable [GPIO_PORTS_PER_BANK] |
u32 | int_level [GPIO_PORTS_PER_BANK] |
u32 | int_clear [GPIO_PORTS_PER_BANK] |
u32 | config_mask [GPIO_PORTS_PER_BANK] |
u32 | out_enable_mask [GPIO_PORTS_PER_BANK] |
u32 | out_value_mask [GPIO_PORTS_PER_BANK] |
u32 | in_value_mask [GPIO_PORTS_PER_BANK] |
u32 | int_status_mask [GPIO_PORTS_PER_BANK] |
u32 | int_enable_mask [GPIO_PORTS_PER_BANK] |
u32 | int_level_mask [GPIO_PORTS_PER_BANK] |
u32 | int_clear_mask [GPIO_PORTS_PER_BANK] |
unsigned int | con |
unsigned int | dat |
unsigned int | pull |
unsigned int | drv |
unsigned int | pdn_con |
unsigned int | pdn_pull |
unsigned char | res1 [8] |
unsigned int gpio_bank::con |
Definition at line 11 of file gpio.h.
Referenced by gpio_cfg_pin(), and gpio_get_cfg().
u32 gpio_bank::config[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::config_mask[GPIO_PORTS_PER_BANK] |
unsigned int gpio_bank::dat |
Definition at line 12 of file gpio.h.
Referenced by gpio_direction_output(), gpio_get_value(), and gpio_set_value().
unsigned int gpio_bank::drv |
Definition at line 14 of file gpio.h.
Referenced by gpio_set_drv(), and gpio_set_rate().
const int gpio_bank::gpio_count |
Definition at line 354 of file gpio.h.
Referenced by setup_gpios().
const u8 gpio_bank::gpio_f1_range_start |
Definition at line 359 of file gpio.h.
Referenced by setup_gpios().
const u8 * gpio_bank::gpio_to_pad |
Definition at line 355 of file gpio.h.
Referenced by setup_gpios().
const u8 gpio_bank::has_wake_en |
Definition at line 358 of file gpio.h.
Referenced by setup_gpios().
u32 gpio_bank::in_value[GPIO_PORTS_PER_BANK] |
Definition at line 77 of file gpio.h.
Referenced by gpio_get().
u32 gpio_bank::in_value_mask[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::int_clear[GPIO_PORTS_PER_BANK] |
Definition at line 81 of file gpio.h.
Referenced by gpio_set_int_clear().
u32 gpio_bank::int_clear_mask[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::int_enable[GPIO_PORTS_PER_BANK] |
Definition at line 79 of file gpio.h.
Referenced by gpio_get_int_enable(), and gpio_set_int_enable().
u32 gpio_bank::int_enable_mask[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::int_level[GPIO_PORTS_PER_BANK] |
Definition at line 80 of file gpio.h.
Referenced by gpio_get_int_level().
u32 gpio_bank::int_level_mask[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::int_status[GPIO_PORTS_PER_BANK] |
Definition at line 78 of file gpio.h.
Referenced by gpio_get_int_status().
u32 gpio_bank::int_status_mask[GPIO_PORTS_PER_BANK] |
const int gpio_bank::legacy_base |
Definition at line 356 of file gpio.h.
Referenced by setup_gpios().
u32 gpio_bank::out_enable[GPIO_PORTS_PER_BANK] |
Definition at line 75 of file gpio.h.
Referenced by gpio_get_out_enable(), and gpio_set_out_enable().
u32 gpio_bank::out_enable_mask[GPIO_PORTS_PER_BANK] |
u32 gpio_bank::out_value[GPIO_PORTS_PER_BANK] |
Definition at line 76 of file gpio.h.
Referenced by gpio_get_out_value(), and gpio_set().
u32 gpio_bank::out_value_mask[GPIO_PORTS_PER_BANK] |
const unsigned long gpio_bank::pad_base |
Definition at line 357 of file gpio.h.
Referenced by setup_dirqs(), and setup_gpios().
unsigned int gpio_bank::pull |
Definition at line 13 of file gpio.h.
Referenced by gpio_set_pull().