/linux-master/drivers/acpi/acpica/ |
H A D | acresrc.h | 182 acpi_rs_get_method_data(acpi_handle handle,
|
H A D | dbdisply.c | 583 * PARAMETERS: object_arg - User entered NS node handle 594 acpi_handle handle; local 600 handle = ACPI_TO_POINTER(arg); 602 status = acpi_get_object_info(handle, &info);
|
H A D | evrgnini.c | 23 * PARAMETERS: handle - Region we are interested in 34 acpi_ev_system_memory_region_setup(acpi_handle handle, argument 39 (union acpi_operand_object *)handle; 86 * PARAMETERS: handle - Region we are interested in 98 acpi_ev_io_space_region_setup(acpi_handle handle, argument 117 * PARAMETERS: handle - Region we are interested in 131 acpi_ev_pci_config_region_setup(acpi_handle handle, argument 143 (union acpi_operand_object *)handle; 174 * This is the device the handler has been registered to handle. 359 * PARAMETERS: handle 373 acpi_ev_pci_bar_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument 400 acpi_ev_cmos_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument 427 acpi_ev_data_table_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument 477 acpi_ev_default_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument [all...] |
H A D | evxface.c | 977 /* Poll edge triggered GPEs to handle existing events */ 1012 * handle - Where the handle to the lock is returned 1021 * is identical to an AML mutex. On the first acquire, a new handle is 1023 * handle is returned. 1026 acpi_status acpi_acquire_global_lock(u16 timeout, u32 *handle) 1030 if (!handle) { 1044 /* Return the global lock handle (updated in acpi_ev_acquire_global_lock) */ 1046 *handle = acpi_gbl_global_lock_handle; 1059 * PARAMETERS: handle [all...] |
H A D | nsdump.c | 90 * PARAMETERS: handle - Object 103 acpi_ns_dump_pathname(acpi_handle handle, argument 115 /* Convert handle to a full pathname and print it (with supplied message) */ 117 acpi_ns_print_node_pathname(handle, msg); 128 * level - Nesting level of the handle 161 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Null object handle\n")); 167 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Invalid object handle %p\n", 661 * level - Nesting level of the handle 788 * PARAMETERS: handle - Node to be dumped 797 void acpi_ns_dump_entry(acpi_handle handle, u3 argument [all...] |
H A D | nsinit.c | 109 acpi_handle handle; local 166 status = acpi_get_handle(NULL, "\\_SB", &handle); 170 info.evaluate_info->prefix_node = handle;
|
H A D | nsload.c | 22 acpi_status acpi_ns_unload_namespace(acpi_handle handle); 173 * DESCRIPTION: Walks the namespace starting at the given handle and deletes 255 * PARAMETERS: handle - Root of namespace subtree to be deleted 261 * including) the given handle. 265 acpi_status acpi_ns_unload_namespace(acpi_handle handle) argument 277 if (!handle) { 283 status = acpi_ns_delete_subtree(handle);
|
H A D | nsutils.c | 48 /* Convert handle to full pathname and print it (with supplied message) */ 69 * RETURN: Type field from Node whose handle is passed 512 * PARAMETERS: handle - Handle to be validated and typecast to a 517 * DESCRIPTION: Convert a namespace handle to a namespace node. Handles special 528 struct acpi_namespace_node *acpi_ns_validate_handle(acpi_handle handle) argument 535 if ((!handle) || (handle == ACPI_ROOT_OBJECT)) { 539 /* We can at least attempt to verify the handle */ 541 if (ACPI_GET_DESCRIPTOR_TYPE(handle) != ACPI_DESC_TYPE_NAMED) { 545 return (ACPI_CAST_PTR(struct acpi_namespace_node, handle)); [all...] |
H A D | nsxfname.c | 34 * ret_handle - Where the return handle is returned 41 * namespace handle. 61 /* Convert a parent handle to a prefix node */ 95 /* Find the Node and convert to a handle */ 112 * PARAMETERS: handle - Handle to be converted to a pathname 124 acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer *buffer) 141 * Validate handle and convert to a namespace Node 153 status = acpi_ns_handle_to_pathname(handle, buffer, 160 status = acpi_ns_handle_to_name(handle, buffer); 201 * PARAMETERS: handle 226 acpi_get_object_info(acpi_handle handle, struct acpi_device_info **return_buffer) argument [all...] |
H A D | nsxfobj.c | 22 * PARAMETERS: handle - Handle of object whose type is desired 28 * handle 31 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) argument 44 if (handle == ACPI_ROOT_OBJECT) { 54 /* Convert and validate the handle */ 56 node = acpi_ns_validate_handle(handle); 74 * PARAMETERS: handle - Handle of object whose parent is desired 75 * ret_handle - Where the parent handle will be placed 79 * DESCRIPTION: Returns a handle to the parent of the object represented by 83 acpi_status acpi_get_parent(acpi_handle handle, acpi_handl [all...] |
H A D | utcopy.c | 148 * For namepath, return the object handle ("reference") 151 external_object->reference.handle = 508 external_object->reference.handle;
|
/linux-master/drivers/acpi/apei/ |
H A D | apei-base.c | 779 acpi_handle handle; local 792 if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)) 793 || ACPI_FAILURE(acpi_run_osc(handle, &context)))
|
/linux-master/drivers/acpi/arm64/ |
H A D | iort.c | 291 status = acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &buf); 693 struct fwnode_handle *handle; local 699 handle = iort_find_domain_token(its_id); 700 if (!handle) 703 return irq_find_matching_fwnode(handle, bus_token);
|
/linux-master/drivers/acpi/ |
H A D | battery.c | 473 acpi_handle_info(battery->device->handle, 539 status = acpi_evaluate_object(battery->device->handle, 545 acpi_handle_info(battery->device->handle, 580 status = acpi_evaluate_object(battery->device->handle, "_BST", 585 acpi_handle_info(battery->device->handle, 632 status = acpi_execute_simple_method(battery->device->handle, "_BTP", 639 acpi_handle_debug(battery->device->handle, "Alarm set to %d\n", 648 if (!acpi_has_method(battery->device->handle, "_BTP")) { 1037 static void acpi_battery_notify(acpi_handle handle, u32 event, void *data) argument 1201 if (acpi_has_method(battery->device->handle, "_BI [all...] |
H A D | bus.c | 77 acpi_status acpi_bus_get_status_handle(acpi_handle handle, argument 82 status = acpi_evaluate_integer(handle, "_STA", NULL, sta); 111 status = acpi_bus_get_status_handle(device->handle, &sta); 138 void acpi_bus_private_data_handler(acpi_handle handle, argument 145 int acpi_bus_attach_private_data(acpi_handle handle, void *data) argument 149 status = acpi_attach_data(handle, 152 acpi_handle_debug(handle, "Error attaching device data\n"); 160 int acpi_bus_get_private_data(acpi_handle handle, void **data) argument 167 status = acpi_get_data(handle, acpi_bus_private_data_handler, data); 169 acpi_handle_debug(handle, "N 177 acpi_bus_detach_private_data(acpi_handle handle) argument 183 acpi_print_osc_error(acpi_handle handle, struct acpi_osc_context *context, char *error) argument 197 acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context) argument 322 acpi_handle handle; local 434 acpi_handle handle; local 509 acpi_bus_notify(acpi_handle handle, u32 type, void *data) argument 564 acpi_notify_device(acpi_handle handle, u32 event, void *data) argument 648 acpi_sb_notify(acpi_handle handle, u32 event, void *data) argument [all...] |
H A D | button.c | 186 status = acpi_evaluate_integer(device->handle, "_LID", NULL, &lid_state); 264 acpi_handle_debug(device->handle, "ACPI LID %s\n", 410 static void acpi_lid_notify(acpi_handle handle, u32 event, void *data) argument 416 acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n", 428 static void acpi_button_notify(acpi_handle handle, u32 event, void *data) argument 436 acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n", 620 status = acpi_install_notify_handler(device->handle, 665 acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
|
H A D | cppc_acpi.c | 291 * handle maximum number of requests that all the cores in the system can 374 static int acpi_get_psd(struct cpc_desc *cpc_ptr, acpi_handle handle) argument 384 status = acpi_evaluate_object_typed(handle, "_PSD", NULL, 681 acpi_handle handle = pr->handle; local 696 status = acpi_evaluate_object_typed(handle, "_CPC", NULL, &output, 862 ret = acpi_get_psd(cpc_ptr, handle); 1776 * on the number and frequency of PCC commands the platform can handle.
|
H A D | device_pm.c | 53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); 135 acpi_handle_debug(device->handle, "Power state: %s\n", 147 status = acpi_evaluate_object(adev->handle, method, NULL, NULL); 171 acpi_handle_debug(device->handle, "Power state change: %s -> %s\n", 191 acpi_handle_debug(device->handle, "Power state %s not supported\n", 201 acpi_handle_debug(device->handle, 222 acpi_handle_debug(device->handle, 278 acpi_handle_debug(device->handle, 283 acpi_handle_debug(device->handle, "Power state changed to %s\n", 290 acpi_handle_debug(device->handle, "Alread 296 acpi_bus_set_power(acpi_handle handle, int state) argument 454 acpi_bus_update_power(acpi_handle handle, int *state_p) argument 465 acpi_bus_power_manageable(acpi_handle handle) argument 529 acpi_pm_notify_handler(acpi_handle handle, u32 val, void *not_used) argument 632 acpi_bus_can_wakeup(acpi_handle handle) argument 672 acpi_handle handle = adev->handle; local [all...] |
H A D | device_sysfs.c | 21 static ssize_t acpi_object_path(acpi_handle handle, char *buf) argument 26 result = acpi_get_name(handle, ACPI_FULL_PATHNAME, &path); 47 return dn->handle ? acpi_object_path(dn->handle, buf) : 0; 104 else if (dn->handle) 105 acpi_handle_err(dn->handle, "Failed to expose (%d)\n", ret); 202 status = acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf); 380 status = acpi_get_type(acpi_device->handle, ¬_used); 390 acpi_evaluate_ost(acpi_device->handle, ACPI_OST_EC_OSPM_EJECT, 432 return acpi_object_path(acpi_dev->handle, bu [all...] |
H A D | dock.c | 31 acpi_handle handle; member in struct:dock_station 116 static struct dock_station *find_dock_station(acpi_handle handle) argument 121 if (ds->handle == handle) 133 * dependent device matches the handle, return. 175 if (acpi_dock_match(adev->handle)) 199 status = acpi_evaluate_integer(ds->handle, "_STA", NULL, &sta); 259 int ret = acpi_bus_scan(adev->handle); 294 * handle_dock - handle a dock event 307 acpi_handle_info(ds->handle, " 412 acpi_handle handle = adev->handle; local 579 acpi_handle handle = adev->handle; local [all...] |
H A D | ec.c | 146 acpi_handle handle; member in struct:acpi_ec_query_handler 928 /* Get the handle to the EC device */ 933 return first_ec->handle; 1068 acpi_handle handle, acpi_ec_query_func func, 1073 if (!handle && !func) 1081 handler->handle = handle; 1135 else if (handler->handle) 1136 acpi_evaluate_object(handler->handle, NULL, NULL, NULL); 1392 acpi_ec_register_query_methods(acpi_handle handle, u3 argument 1067 acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, acpi_handle handle, acpi_ec_query_func func, void *data) argument 1409 ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) argument 1810 acpi_handle handle; local [all...] |
H A D | evged.c | 7 * Generic Event Device allows platforms to handle interrupts in ACPI 53 acpi_handle handle; member in struct:acpi_ged_event 61 acpi_ret = acpi_execute_simple_method(event->handle, NULL, event->gsi); 77 acpi_handle handle = ACPI_HANDLE(dev); local 107 if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle))) 111 if (ACPI_SUCCESS(acpi_get_handle(handle, "_EVT", &evt_handle))) 125 event->handle = evt_handle;
|
H A D | fan_core.c | 54 status = acpi_evaluate_object(device->handle, "_FST", NULL, &buffer); 174 status = acpi_execute_simple_method(device->handle, "_FSL", value); 208 return acpi_has_method(device->handle, "_FIF") && 209 acpi_has_method(device->handle, "_FPS") && 210 acpi_has_method(device->handle, "_FSL") && 211 acpi_has_method(device->handle, "_FST"); 224 status = acpi_evaluate_object(device->handle, "_FIF", NULL, &buffer); 273 status = acpi_evaluate_object(device->handle, "_FPS", NULL, &buffer);
|
/linux-master/drivers/acpi/dptf/ |
H A D | dptf_pch_fivr.c | 17 static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp) argument 26 status = acpi_evaluate_object(handle, method, NULL, &buffer); 65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\ 84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\ 130 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype);
|
H A D | dptf_power.c | 34 status = acpi_evaluate_integer(acpi_dev->handle, #object,\ 75 status = acpi_execute_simple_method(acpi_dev->handle, "PBOK", seq_no); 121 static long long dptf_participant_type(acpi_handle handle) argument 126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); 133 static void dptf_power_notify(acpi_handle handle, u32 event, void *data) argument 166 if (dptf_participant_type(handle) == 0x0CULL) 183 ptype = dptf_participant_type(acpi_dev->handle); 191 result = acpi_install_notify_handler(acpi_dev->handle, 201 acpi_remove_notify_handler(acpi_dev->handle, 216 acpi_remove_notify_handler(acpi_dev->handle, [all...] |