Lines Matching defs:active
52 * If a link is initialized, we never change its active and initialized
53 * later even the link is disable. Instead, we just repick the active irq
56 u32 active; /* Current IRQ */
222 * Run _CRS and set link->irq.active
235 link->irq.active = 0;
269 link->irq.active = irq;
271 acpi_handle_debug(handle, "Link at IRQ %d \n", link->irq.active);
361 /* Query _CRS, set link->irq.active */
369 * set link->irq.active
371 if (link->irq.active != irq) {
377 link->irq.active, irq);
378 link->irq.active = irq;
381 acpi_handle_debug(handle, "Set IRQ %d\n", link->irq.active);
397 * that the BIOS has already set to active. This is necessary because
399 * if the BIOS doesn't set a Link Device active, ACPI needs to program it
416 * by multiple active devices -- it is not optimal.
459 * If a link is active, penalize its IRQ heavily
462 if (link->irq.active && link->irq.active == irq)
501 * reflect the possible and active irqs in the penalty table --
516 } else if (link->irq.active &&
517 (link->irq.active < ACPI_MAX_ISA_IRQS)) {
518 acpi_isa_irq_penalty[link->irq.active] +=
537 acpi_pci_link_set(link, link->irq.active);
542 * search for active IRQ in list of possible IRQs.
545 if (link->irq.active == link->irq.possible[i])
549 * forget active IRQ that is not in possible list
554 link->irq.active);
555 link->irq.active = 0;
559 * if active found, use it; else pick entry from end of possible list.
561 if (link->irq.active)
562 irq = link->irq.active;
566 if (acpi_irq_balance || !link->irq.active) {
589 if (link->irq.active < ACPI_MAX_ISA_IRQS)
590 acpi_isa_irq_penalty[link->irq.active] +=
594 link->irq.active);
635 if (!link->irq.active) {
637 acpi_handle_err(handle, "Link active IRQ is 0!\n");
650 return link->irq.active;
697 return link->irq.active;
726 /* query and set link->irq.active */
730 acpi_device_bid(device), link->irq.active);
733 if (link->irq.active != link->irq.possible[i])
756 if (link->refcnt && link->irq.active && link->irq.initialized)
757 return (acpi_pci_link_set(link, link->irq.active));
825 void acpi_penalize_isa_irq(int irq, int active)
829 (active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING);