Lines Matching defs:hdl
114 acpi_power_res_init(ACPI_HANDLE hdl)
123 rv = acpi_eval_struct(hdl, NULL, &buf);
136 res->res_handle = hdl;
141 acpi_xname(hdl), sizeof(res->res_name));
176 acpi_power_res_get(ACPI_HANDLE hdl)
182 if (res->res_handle == hdl)
186 return acpi_power_res_init(hdl);
190 acpi_power_register(ACPI_HANDLE hdl)
196 acpi_power_deregister(ACPI_HANDLE hdl)
198 struct acpi_devnode *ad = acpi_match_node(hdl);
215 acpi_power_get(ACPI_HANDLE hdl, int *state)
217 struct acpi_devnode *ad = acpi_match_node(hdl);
330 acpi_power_set(ACPI_HANDLE hdl, int state)
332 struct acpi_devnode *ad = acpi_match_node(hdl);
426 ACPI_HANDLE hdl;
445 rv = acpi_eval_reference_handle(elm, &hdl);
450 (void)acpi_power_res(hdl, ad->ad_handle, on);
459 acpi_power_res(ACPI_HANDLE hdl, ACPI_HANDLE ref, bool on)
468 res = acpi_power_res_get(hdl);
569 ACPI_HANDLE hdl;
572 rv = acpi_eval_reference_handle(elm, &hdl);
577 rv = acpi_eval_integer(hdl, "_STA", &val);
597 "for %s: %s\n", acpi_xname(hdl), AcpiFormatException(rv)));
603 acpi_power_pkg_get(ACPI_HANDLE hdl, int state)
612 rv = acpi_eval_struct(hdl, path, &buf);
641 "%s: %s\n", path, acpi_xname(hdl), AcpiFormatException(rv)));
743 acpi_xname(ACPI_HANDLE hdl)
752 rv = AcpiGetName(hdl, ACPI_SINGLE_NAME, &buf);