• Home
  • Raw
  • Download

Lines Matching refs:handle

152 acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx)  in acpi_run_hpx()  argument
163 status = acpi_evaluate_object(handle, "_HPX", NULL, &buffer); in acpi_run_hpx()
217 acpi_run_hpp(acpi_handle handle, struct hotplug_params *hpp) in acpi_run_hpp() argument
226 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_hpp()
232 status = acpi_evaluate_object(handle, METHOD_NAME__HPP, NULL, &ret_buf); in acpi_run_hpp()
242 status = acpi_evaluate_object(handle, METHOD_NAME__HPP, in acpi_run_hpp()
302 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() argument
307 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
310 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp()
335 acpi_handle handle, phandle; in acpi_get_hp_params_from_firmware() local
342 handle = acpi_get_pci_rootbridge_handle( in acpi_get_hp_params_from_firmware()
346 handle = DEVICE_ACPI_HANDLE(&(pdev->dev)); in acpi_get_hp_params_from_firmware()
348 } while (!handle); in acpi_get_hp_params_from_firmware()
356 while (handle) { in acpi_get_hp_params_from_firmware()
357 status = acpi_run_hpx(handle, hpp); in acpi_get_hp_params_from_firmware()
360 status = acpi_run_hpp(handle, hpp); in acpi_get_hp_params_from_firmware()
363 if (acpi_root_bridge(handle)) in acpi_get_hp_params_from_firmware()
365 status = acpi_get_parent(handle, &phandle); in acpi_get_hp_params_from_firmware()
368 handle = phandle; in acpi_get_hp_params_from_firmware()
384 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local
406 handle = acpi_find_root_bridge_handle(pdev); in acpi_get_hp_hw_control_from_firmware()
407 if (handle) { in acpi_get_hp_hw_control_from_firmware()
408 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
411 status = pci_osc_control_set(handle, flags); in acpi_get_hp_hw_control_from_firmware()
419 handle = DEVICE_ACPI_HANDLE(&dev->dev); in acpi_get_hp_hw_control_from_firmware()
420 while (!handle) { in acpi_get_hp_hw_control_from_firmware()
432 handle = acpi_get_pci_rootbridge_handle( in acpi_get_hp_hw_control_from_firmware()
436 handle = DEVICE_ACPI_HANDLE(&(parent->self->dev)); in acpi_get_hp_hw_control_from_firmware()
440 while (handle) { in acpi_get_hp_hw_control_from_firmware()
441 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
444 status = acpi_run_oshp(handle); in acpi_get_hp_hw_control_from_firmware()
447 if (acpi_root_bridge(handle)) in acpi_get_hp_hw_control_from_firmware()
449 chandle = handle; in acpi_get_hp_hw_control_from_firmware()
450 status = acpi_get_parent(chandle, &handle); in acpi_get_hp_hw_control_from_firmware()
472 int acpi_root_bridge(acpi_handle handle) in acpi_root_bridge() argument
479 status = acpi_get_object_info(handle, &buffer); in acpi_root_bridge()
504 static int is_ejectable(acpi_handle handle) in is_ejectable() argument
509 status = acpi_get_handle(handle, "_ADR", &tmp); in is_ejectable()
512 status = acpi_get_handle(handle, "_EJ0", &tmp); in is_ejectable()
515 status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable); in is_ejectable()
528 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) in acpi_pci_check_ejectable() argument
534 if ((ACPI_FAILURE(acpi_get_parent(handle, &parent_handle)))) in acpi_pci_check_ejectable()
538 return is_ejectable(handle); in acpi_pci_check_ejectable()
543 check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv) in check_hotplug() argument
546 if (is_ejectable(handle)) { in check_hotplug()
561 acpi_handle handle; in acpi_pci_detect_ejectable() local
564 if (!(handle = acpi_pci_get_bridge_handle(pbus))) in acpi_pci_detect_ejectable()
566 acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, (u32)1, in acpi_pci_detect_ejectable()