15 for (
unsigned int i = 0; i < 4; ++i) {
31 char link_template[] =
"\\_SB.INTX";
34 for (
unsigned int i = 0; i < 4; ++i) {
37 link_template[8] =
'A' + (irq % 8);
static void acpigen_write_PRT_PIC(const struct pci_routing_info *routing_info)
void acpigen_write_pci_GNB_PRT(const struct device *dev)
static void acpigen_write_PRT_GSI(const struct pci_routing_info *routing_info)
void acpigen_write_pci_FCH_PRT(const struct device *dev)
void acpigen_write_if(void)
void acpigen_emit_namestring(const char *namepath)
void acpigen_pop_len(void)
char * acpigen_write_package(int nr_el)
void acpigen_emit_byte(unsigned char b)
void acpigen_write_method(const char *name, int nargs)
void acpigen_write_else(void)
void acpigen_write_name(const char *name)
void acpigen_write_PRT_GSI_entry(unsigned int pci_dev, unsigned int acpi_pin, unsigned int gsi)
void acpigen_write_PRT_source_entry(unsigned int pci_dev, unsigned int acpi_pin, const char *source_path, unsigned int index)
#define IO_APIC_INTERRUPTS
unsigned int pci_calculate_irq(const struct pci_routing_info *routing_info, unsigned int pin)
const struct pci_routing_info * get_pci_routing_info(unsigned int devfn)
Each PCI bridge has its INTx lines routed to one of the GNB IO-APIC PCI groups.