![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | slot_pin_irq_map |
struct | pic_pirq_map |
Macros | |
#define | MAX_SLOTS 32 |
Enumerations | |
enum | pci_pin { PCI_INT_NONE = 0 , PCI_INT_A , PCI_INT_B , PCI_INT_C , PCI_INT_D , PCI_INT_MAX = PCI_INT_D } |
enum | pirq { PIRQ_INVALID , PIRQ_A , PIRQ_B , PIRQ_C , PIRQ_D , PIRQ_E , PIRQ_F , PIRQ_G , PIRQ_H , PIRQ_COUNT = PIRQ_H } |
enum | pirq_map_type { PIRQ_GSI , PIRQ_SOURCE_PATH } |
Functions | |
static size_t | pirq_idx (enum pirq pirq) |
void | intel_write_pci0_PRT (const struct slot_pin_irq_map *pin_irq_map, unsigned int map_count, const struct pic_pirq_map *pirq_map) |
bool | is_slot_pin_assigned (const struct slot_pin_irq_map *pin_irq_map, unsigned int map_count, unsigned int slot, unsigned int pin) |
#define MAX_SLOTS 32 |
Definition at line 9 of file acpi_pirq_gen.h.
enum pci_pin |
Enumerator | |
---|---|
PCI_INT_NONE | |
PCI_INT_A | |
PCI_INT_B | |
PCI_INT_C | |
PCI_INT_D | |
PCI_INT_MAX |
Definition at line 11 of file acpi_pirq_gen.h.
enum pirq |
Enumerator | |
---|---|
PIRQ_INVALID | |
PIRQ_A | |
PIRQ_B | |
PIRQ_C | |
PIRQ_D | |
PIRQ_E | |
PIRQ_F | |
PIRQ_G | |
PIRQ_H | |
PIRQ_COUNT |
Definition at line 20 of file acpi_pirq_gen.h.
enum pirq_map_type |
Enumerator | |
---|---|
PIRQ_GSI | |
PIRQ_SOURCE_PATH |
Definition at line 65 of file acpi_pirq_gen.h.
void intel_write_pci0_PRT | ( | const struct slot_pin_irq_map * | pin_irq_map, |
unsigned int | map_count, | ||
const struct pic_pirq_map * | pirq_map | ||
) |
Definition at line 46 of file acpi_pirq_gen.c.
References acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_else(), acpigen_write_if(), acpigen_write_method(), acpigen_write_package(), acpigen_write_scope(), gen_apic_route(), gen_pic_route(), and RETURN_OP.
Referenced by generate_pin_irq_map(), and intel_acpi_gen_def_acpi_pirq().
bool is_slot_pin_assigned | ( | const struct slot_pin_irq_map * | pin_irq_map, |
unsigned int | map_count, | ||
unsigned int | slot, | ||
unsigned int | pin | ||
) |
Definition at line 33 of file acpi_pirq_gen.h.
References assert, PIRQ_A, PIRQ_H, and PIRQ_INVALID.
Referenced by assign_pirq(), gen_pic_route(), intel_acpi_gen_def_acpi_pirq(), and pirq_to_irq().