Lines Matching defs:method

84 #define ACPI_WMI_METHOD      BIT(1)	/* GUID is a method */
193 char method[5];
200 snprintf(method, 5, "WE%02X", block->notify_id);
201 status = acpi_execute_simple_method(handle, method, enable);
211 const char method,
218 buffer[1] = method;
314 * wmi_evaluate_method - Evaluate a WMI method (deprecated)
318 * @in: Buffer containing input for the method call
319 * @out: Empty buffer to return the method results
321 * Call an ACPI-WMI method, the caller must free @out.
341 * wmidev_evaluate_method - Evaluate a WMI method
345 * @in: Buffer containing input for the method call
346 * @out: Empty buffer to return the method results
348 * Call an ACPI-WMI method, the caller must free @out.
360 char method[WMI_ACPI_METHOD_NAME_SIZE];
387 get_acpi_method_name(wblock, 'M', method);
389 return acpi_evaluate_object(handle, method, &input, out);
402 char method[WMI_ACPI_METHOD_NAME_SIZE];
426 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method first to
434 * expensive, but have no corresponding WCxx method. So we
440 get_acpi_method_name(wblock, 'Q', method);
441 status = acpi_evaluate_object(handle, method, &input, out);
444 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if
445 * the WQxx method failed - we should disable collection anyway.
450 * the previously executed WQxx method call might have
524 char method[WMI_ACPI_METHOD_NAME_SIZE];
552 get_acpi_method_name(wblock, 'S', method);
554 return acpi_evaluate_object(handle, method, &input, NULL);
1115 .name = "method",
1148 char method[WMI_ACPI_METHOD_NAME_SIZE];
1168 get_acpi_method_name(wblock, 'Q', method);
1169 result = get_subobj_info(device->handle, method, &info);
1173 "%s data block query control method not found\n",
1174 method);
1186 * ACPICA will get mad at us if we call the method with the wrong number
1187 * of arguments, so check what our method expects. (On some Dell
1188 * laptops, WQxx may not be a method at all.)
1195 get_acpi_method_name(wblock, 'S', method);
1196 result = get_subobj_info(device->handle, method, NULL);
1256 * Parse the _WDG method for the GUID data blocks
1489 pr_err("Failed to parse WDG method\n");