Lines Matching refs:method
132 const char method, in get_acpi_method_name() argument
139 buffer[1] = method; in get_acpi_method_name()
179 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmi_device_enable() local
192 snprintf(method, sizeof(method), "WE%02X", wblock->gblock.notify_id); in wmi_device_enable()
197 get_acpi_method_name(wblock, 'C', method); in wmi_device_enable()
205 status = acpi_get_handle(wblock->acpi_device->handle, method, &handle); in wmi_device_enable()
332 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmidev_evaluate_method() local
358 get_acpi_method_name(wblock, 'M', method); in wmidev_evaluate_method()
360 return acpi_evaluate_object(handle, method, &input, out); in wmidev_evaluate_method()
371 char method[WMI_ACPI_METHOD_NAME_SIZE]; in __query_block() local
394 get_acpi_method_name(wblock, 'Q', method); in __query_block()
396 return acpi_evaluate_object(handle, method, &input, out); in __query_block()
504 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmidev_block_set() local
526 get_acpi_method_name(wblock, 'S', method); in wmidev_block_set()
528 return acpi_evaluate_object(handle, method, &input, NULL); in wmidev_block_set()
1007 char method[WMI_ACPI_METHOD_NAME_SIZE]; in wmi_create_device() local
1019 get_acpi_method_name(wblock, 'M', method); in wmi_create_device()
1020 if (!acpi_has_method(device->handle, method)) { in wmi_create_device()
1023 method); in wmi_create_device()
1037 get_acpi_method_name(wblock, 'Q', method); in wmi_create_device()
1038 status = acpi_get_handle(device->handle, method, &method_handle); in wmi_create_device()
1042 method); in wmi_create_device()
1068 get_acpi_method_name(wblock, 'S', method); in wmi_create_device()
1069 if (acpi_has_method(device->handle, method)) in wmi_create_device()