Lines Matching defs:method
75 #define ACPI_WMI_METHOD 0x2 /* GUID is a method */
189 char method[5];
196 snprintf(method, 5, "WE%02X", block->notify_id);
197 status = acpi_execute_simple_method(handle, method, enable);
228 * wmi_evaluate_method - Evaluate a WMI method
232 * @in: Buffer containing input for the method call
233 * @out: Empty buffer to return the method results
235 * Call an ACPI-WMI method
250 * wmidev_evaluate_method - Evaluate a WMI method
254 * @in: Buffer containing input for the method call
255 * @out: Empty buffer to return the method results
257 * Call an ACPI-WMI method
268 char method[5] = "WM";
299 strncat(method, block->object_id, 2);
301 status = acpi_evaluate_object(handle, method, &input, out);
315 char method[5];
340 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method first to
348 * expensive, but have no corresponding WCxx method. So we
354 strcpy(method, "WQ");
355 strncat(method, block->object_id, 2);
357 status = acpi_evaluate_object(handle, method, &input, out);
360 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if
361 * the WQxx method failed - we should disable collection anyway.
366 * the previously executed WQxx method call might have
428 char method[5] = "WS";
459 strncat(method, block->object_id, 2);
461 return acpi_evaluate_object(handle, method, &input, NULL);
1027 .name = "method",
1043 char method[5];
1062 strcpy(method, "WQ");
1063 strncat(method, wblock->gblock.object_id, 2);
1064 result = get_subobj_info(device->handle, method, &info);
1068 "%s data block query control method not found\n",
1069 method);
1081 * ACPICA will get mad at us if we call the method with the wrong number
1082 * of arguments, so check what our method expects. (On some Dell
1083 * laptops, WQxx may not be a method at all.)
1090 strcpy(method, "WS");
1091 strncat(method, wblock->gblock.object_id, 2);
1092 result = get_subobj_info(device->handle, method, NULL);
1143 * Parse the _WDG method for the GUID data blocks
1396 pr_err("Failed to parse WDG method\n");