Lines Matching refs:method

82 #define ACPI_WMI_METHOD      BIT(1)	/* GUID is a method */
130 char method[5];
137 snprintf(method, 5, "WE%02X", block->notify_id);
138 status = acpi_execute_simple_method(handle, method, enable);
148 const char method,
155 buffer[1] = method;
299 * wmi_evaluate_method - Evaluate a WMI method (deprecated)
303 * @in: Mandatory buffer containing input for the method call
304 * @out: Empty buffer to return the method results
306 * Call an ACPI-WMI method, the caller must free @out.
329 * wmidev_evaluate_method - Evaluate a WMI method
333 * @in: Mandatory buffer containing input for the method call
334 * @out: Empty buffer to return the method results
336 * Call an ACPI-WMI method, the caller must free @out.
348 char method[WMI_ACPI_METHOD_NAME_SIZE];
374 get_acpi_method_name(wblock, 'M', method);
376 return acpi_evaluate_object(handle, method, &input, out);
389 char method[WMI_ACPI_METHOD_NAME_SIZE];
413 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method first to
421 * expensive, but have no corresponding WCxx method. So we
427 get_acpi_method_name(wblock, 'Q', method);
428 status = acpi_evaluate_object(handle, method, &input, out);
431 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if
432 * the WQxx method failed - we should disable collection anyway.
437 * the previously executed WQxx method call might have
540 char method[WMI_ACPI_METHOD_NAME_SIZE];
562 get_acpi_method_name(wblock, 'S', method);
564 return acpi_evaluate_object(handle, method, &input, NULL);
950 .name = "method",
982 char method[WMI_ACPI_METHOD_NAME_SIZE];
994 get_acpi_method_name(wblock, 'M', method);
995 if (!acpi_has_method(device->handle, method)) {
997 FW_BUG "%s method block execution control method not found\n",
998 method);
1012 get_acpi_method_name(wblock, 'Q', method);
1013 status = acpi_get_handle(device->handle, method, &method_handle);
1016 FW_BUG "%s data block query control method not found\n",
1017 method);
1034 * ACPICA will get mad at us if we call the method with the wrong number
1035 * of arguments, so check what our method expects. (On some Dell
1036 * laptops, WQxx may not be a method at all.)
1043 get_acpi_method_name(wblock, 'S', method);
1044 if (acpi_has_method(device->handle, method))
1087 * Parse the _WDG method for the GUID data blocks
1314 dev_err(&device->dev, "Failed to parse _WDG method\n");