• Home
  • Raw
  • Download

Lines Matching refs:handle

88 	acpi_handle handle = link->device->handle;  in acpi_pci_link_check_possible()  local
99 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
107 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
125 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
133 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
147 acpi_handle_debug(handle, "_PRS resource type 0x%x is not IRQ\n", in acpi_pci_link_check_possible()
157 acpi_handle handle = link->device->handle; in acpi_pci_link_get_possible() local
160 status = acpi_walk_resources(handle, METHOD_NAME__PRS, in acpi_pci_link_get_possible()
163 acpi_handle_debug(handle, "_PRS not present or invalid"); in acpi_pci_link_get_possible()
167 acpi_handle_debug(handle, "Found %d possible IRQs\n", in acpi_pci_link_get_possible()
230 acpi_handle handle = link->device->handle; in acpi_pci_link_get_current() local
242 acpi_handle_err(handle, "Unable to read status\n"); in acpi_pci_link_get_current()
247 acpi_handle_debug(handle, "Link disabled\n"); in acpi_pci_link_get_current()
256 status = acpi_walk_resources(handle, METHOD_NAME__CRS, in acpi_pci_link_get_current()
259 acpi_evaluation_failure_warn(handle, "_CRS", status); in acpi_pci_link_get_current()
265 acpi_handle_err(handle, "_CRS returned 0\n"); in acpi_pci_link_get_current()
271 acpi_handle_debug(handle, "Link at IRQ %d \n", link->irq.active); in acpi_pci_link_get_current()
284 acpi_handle handle = link->device->handle; in acpi_pci_link_set() local
333 acpi_handle_err(handle, "Invalid resource type %d\n", in acpi_pci_link_set()
343 status = acpi_set_current_resources(link->device->handle, &buffer); in acpi_pci_link_set()
347 acpi_evaluation_failure_warn(handle, "_SRS", status); in acpi_pci_link_set()
355 acpi_handle_err(handle, "Unable to read status\n"); in acpi_pci_link_set()
359 acpi_handle_warn(handle, "Disabled and referenced, BIOS bug\n"); in acpi_pci_link_set()
376 acpi_handle_warn(handle, "BIOS reported IRQ %d, using IRQ %d\n", in acpi_pci_link_set()
381 acpi_handle_debug(handle, "Set IRQ %d\n", link->irq.active); in acpi_pci_link_set()
530 acpi_handle handle = link->device->handle; in acpi_pci_link_allocate() local
553 acpi_handle_warn(handle, "_CRS %d not found in _PRS\n", in acpi_pci_link_allocate()
578 acpi_handle_err(handle, in acpi_pci_link_allocate()
585 acpi_handle_err(handle, in acpi_pci_link_allocate()
593 acpi_handle_info(handle, "Enabled at IRQ %d\n", in acpi_pci_link_allocate()
606 int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering, in acpi_pci_link_allocate_irq() argument
613 result = acpi_bus_get_device(handle, &device); in acpi_pci_link_allocate_irq()
615 acpi_handle_err(handle, "Invalid link device\n"); in acpi_pci_link_allocate_irq()
621 acpi_handle_err(handle, "Invalid link context\n"); in acpi_pci_link_allocate_irq()
627 acpi_handle_err(handle, "Invalid index %d\n", index); in acpi_pci_link_allocate_irq()
639 acpi_handle_err(handle, "Link active IRQ is 0!\n"); in acpi_pci_link_allocate_irq()
651 acpi_handle_debug(handle, "Link is referenced\n"); in acpi_pci_link_allocate_irq()
659 int acpi_pci_link_free_irq(acpi_handle handle) in acpi_pci_link_free_irq() argument
665 result = acpi_bus_get_device(handle, &device); in acpi_pci_link_free_irq()
667 acpi_handle_err(handle, "Invalid link device\n"); in acpi_pci_link_free_irq()
673 acpi_handle_err(handle, "Invalid link context\n"); in acpi_pci_link_free_irq()
680 acpi_handle_err(handle, "Link isn't initialized\n"); in acpi_pci_link_free_irq()
695 acpi_handle_debug(handle, "Link is dereferenced\n"); in acpi_pci_link_free_irq()
698 acpi_evaluate_object(link->device->handle, "_DIS", NULL, NULL); in acpi_pci_link_free_irq()
711 acpi_handle handle = device->handle; in acpi_pci_link_add() local
738 acpi_handle_debug(handle, "Possible IRQ %d\n", in acpi_pci_link_add()
749 acpi_evaluate_object(handle, "_DIS", NULL, NULL); in acpi_pci_link_add()