• Home
  • Raw
  • Download

Lines Matching refs:handle

99 	acpi_handle handle = context;  in acpi_bus_hot_remove_device()  local
104 if (acpi_bus_get_device(handle, &device)) in acpi_bus_hot_remove_device()
120 status = acpi_evaluate_object(handle, "_PS3", NULL, NULL); in acpi_bus_hot_remove_device()
130 acpi_evaluate_object(handle, "_LCK", &arg_list, NULL); in acpi_bus_hot_remove_device()
141 status = acpi_evaluate_object(handle, "_EJ0", &arg_list, NULL); in acpi_bus_hot_remove_device()
167 status = acpi_get_type(acpi_device->handle, &type); in acpi_eject_store()
175 acpi_device->handle, "acpi_hot_remove_device"); in acpi_eject_store()
198 result = acpi_get_name(acpi_dev->handle, ACPI_FULL_PATHNAME, &path); in acpi_device_path_show()
218 if(dev->handle) { in acpi_device_setup_files()
240 status = acpi_get_handle(dev->handle, "_EJ0", &temp); in acpi_device_setup_files()
256 status = acpi_get_handle(dev->handle, "_EJ0", &temp); in acpi_device_remove_files()
265 if(dev->handle) in acpi_device_remove_files()
514 acpi_detach_data(device->handle, acpi_bus_data_handler); in acpi_device_unregister()
622 acpi_bus_get_ejd(acpi_handle handle, acpi_handle *ejd) in acpi_bus_get_ejd() argument
629 status = acpi_get_handle(handle, "_EJD", &tmp); in acpi_bus_get_ejd()
633 status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer); in acpi_bus_get_ejd()
644 void acpi_bus_data_handler(acpi_handle handle, u32 function, void *context) in acpi_bus_data_handler() argument
678 element->package.elements[0].reference.handle; in acpi_bus_extract_wakeup_device_power_package()
701 device->wakeup.resources.handles[i] = element->reference.handle; in acpi_bus_extract_wakeup_device_power_package()
722 status = acpi_evaluate_object(device->handle, "_PRW", NULL, &buffer); in acpi_bus_get_wakeup_device_flags()
762 acpi_handle handle = NULL; in acpi_bus_get_power_flags() local
769 status = acpi_get_handle(device->handle, "_PSC", &handle); in acpi_bus_get_power_flags()
772 status = acpi_get_handle(device->handle, "_IRC", &handle); in acpi_bus_get_power_flags()
784 acpi_evaluate_reference(device->handle, object_name, NULL, in acpi_bus_get_power_flags()
793 status = acpi_get_handle(device->handle, object_name, &handle); in acpi_bus_get_power_flags()
816 acpi_bus_get_power(device->handle, &(device->power.state)); in acpi_bus_get_power_flags()
828 status = acpi_get_handle(device->handle, "_STA", &temp); in acpi_bus_get_flags()
833 status = acpi_get_handle(device->handle, "_CID", &temp); in acpi_bus_get_flags()
838 status = acpi_get_handle(device->handle, "_RMV", &temp); in acpi_bus_get_flags()
843 status = acpi_get_handle(device->handle, "_EJD", &temp); in acpi_bus_get_flags()
847 status = acpi_get_handle(device->handle, "_EJ0", &temp); in acpi_bus_get_flags()
853 status = acpi_get_handle(device->handle, "_LCK", &temp); in acpi_bus_get_flags()
858 status = acpi_get_handle(device->handle, "_PS0", &temp); in acpi_bus_get_flags()
860 status = acpi_get_handle(device->handle, "_PR0", &temp); in acpi_bus_get_flags()
865 status = acpi_get_handle(device->handle, "_PRW", &temp); in acpi_bus_get_flags()
875 acpi_handle handle, int type) in acpi_device_get_busid() argument
898 acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); in acpi_device_get_busid()
919 acpi_handle handle; in acpi_bay_match() local
923 handle = device->handle; in acpi_bay_match()
925 status = acpi_get_handle(handle, "_EJ0", &tmp); in acpi_bay_match()
929 if ((ACPI_SUCCESS(acpi_get_handle(handle, "_GTF", &tmp))) || in acpi_bay_match()
930 (ACPI_SUCCESS(acpi_get_handle(handle, "_GTM", &tmp))) || in acpi_bay_match()
931 (ACPI_SUCCESS(acpi_get_handle(handle, "_STM", &tmp))) || in acpi_bay_match()
932 (ACPI_SUCCESS(acpi_get_handle(handle, "_SDD", &tmp)))) in acpi_bay_match()
935 if (acpi_get_parent(handle, &phandle)) in acpi_bay_match()
953 return acpi_get_handle(device->handle, "_DCK", &tmp); in acpi_dock_match()
957 struct acpi_device *parent, acpi_handle handle, in acpi_device_set_id() argument
970 status = acpi_get_object_info(handle, &buffer); in acpi_device_set_id()
1098 status = acpi_attach_data(device->handle, in acpi_device_set_context()
1134 struct acpi_device *parent, acpi_handle handle, int type, in acpi_add_single_object() argument
1150 device->handle = handle; in acpi_add_single_object()
1155 acpi_device_get_busid(device, handle, type); in acpi_add_single_object()
1218 acpi_device_set_id(device, parent, handle, type); in acpi_add_single_object()
1297 phandle = start->handle; in acpi_bus_scan()
1401 struct acpi_device *parent, acpi_handle handle, int type) in acpi_bus_add() argument
1409 result = acpi_add_single_object(child, parent, handle, type, &ops); in acpi_bus_add()
1448 phandle = start->handle; in acpi_bus_trim()