Searched refs:splc (Results 1 – 1 of 1) sorted by relevance
548 static u64 splc_get_pwr_limit(struct iwl_trans *trans, union acpi_object *splc) in splc_get_pwr_limit() argument557 if (splc->type != ACPI_TYPE_PACKAGE || in splc_get_pwr_limit()558 splc->package.count < 2 || in splc_get_pwr_limit()559 splc->package.elements[0].type != ACPI_TYPE_INTEGER || in splc_get_pwr_limit()560 splc->package.elements[0].integer.value != 0) { in splc_get_pwr_limit()567 for (i = 1; i < splc->package.count; i++) { in splc_get_pwr_limit()570 data_pkg = &splc->package.elements[i]; in splc_get_pwr_limit()602 struct acpi_buffer splc = {ACPI_ALLOCATE_BUFFER, NULL}; in set_dflt_pwr_limit() local621 status = acpi_evaluate_object(handle, NULL, NULL, &splc); in set_dflt_pwr_limit()627 trans->dflt_pwr_limit = splc_get_pwr_limit(trans, splc.pointer); in set_dflt_pwr_limit()[all …]