Lines Matching refs:hdl

114 acpi_power_res_init(ACPI_HANDLE hdl)  in acpi_power_res_init()  argument
123 rv = acpi_eval_struct(hdl, NULL, &buf); in acpi_power_res_init()
136 res->res_handle = hdl; in acpi_power_res_init()
141 acpi_xname(hdl), sizeof(res->res_name)); in acpi_power_res_init()
176 acpi_power_res_get(ACPI_HANDLE hdl) in acpi_power_res_get() argument
182 if (res->res_handle == hdl) in acpi_power_res_get()
186 return acpi_power_res_init(hdl); in acpi_power_res_get()
190 acpi_power_register(ACPI_HANDLE hdl) in acpi_power_register() argument
196 acpi_power_deregister(ACPI_HANDLE hdl) in acpi_power_deregister() argument
198 struct acpi_devnode *ad = acpi_match_node(hdl); in acpi_power_deregister()
215 acpi_power_get(ACPI_HANDLE hdl, int *state) in acpi_power_get() argument
217 struct acpi_devnode *ad = acpi_match_node(hdl); in acpi_power_get()
328 acpi_power_set(ACPI_HANDLE hdl, int state) in acpi_power_set() argument
330 struct acpi_devnode *ad = acpi_match_node(hdl); in acpi_power_set()
424 ACPI_HANDLE hdl; in acpi_power_switch() local
443 rv = acpi_eval_reference_handle(elm, &hdl); in acpi_power_switch()
448 (void)acpi_power_res(hdl, ad->ad_handle, on); in acpi_power_switch()
457 acpi_power_res(ACPI_HANDLE hdl, ACPI_HANDLE ref, bool on) in acpi_power_res() argument
466 res = acpi_power_res_get(hdl); in acpi_power_res()
567 ACPI_HANDLE hdl; in acpi_power_res_sta() local
570 rv = acpi_eval_reference_handle(elm, &hdl); in acpi_power_res_sta()
575 rv = acpi_eval_integer(hdl, "_STA", &val); in acpi_power_res_sta()
595 "for %s: %s\n", acpi_xname(hdl), AcpiFormatException(rv))); in acpi_power_res_sta()
601 acpi_power_pkg_get(ACPI_HANDLE hdl, int state) in acpi_power_pkg_get() argument
610 rv = acpi_eval_struct(hdl, path, &buf); in acpi_power_pkg_get()
639 "%s: %s\n", path, acpi_xname(hdl), AcpiFormatException(rv))); in acpi_power_pkg_get()
741 acpi_xname(ACPI_HANDLE hdl) in acpi_xname() argument
750 rv = AcpiGetName(hdl, ACPI_SINGLE_NAME, &buf); in acpi_xname()