Lines Matching refs:wifi_pkg
103 union acpi_object *wifi_pkg; in iwl_acpi_get_wifi_pkg() local
133 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg()
136 if (wifi_pkg->type != ACPI_TYPE_PACKAGE || in iwl_acpi_get_wifi_pkg()
137 wifi_pkg->package.count != data_size) in iwl_acpi_get_wifi_pkg()
140 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg()
149 return wifi_pkg; in iwl_acpi_get_wifi_pkg()
155 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_mcc() local
163 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, ACPI_WRDD_WIFI_DATA_SIZE, in iwl_acpi_get_mcc()
165 if (IS_ERR(wifi_pkg)) { in iwl_acpi_get_mcc()
166 ret = PTR_ERR(wifi_pkg); in iwl_acpi_get_mcc()
170 if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_mcc()
176 mcc_val = wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_mcc()
191 union acpi_object *data, *wifi_pkg; in iwl_acpi_get_pwr_limit() local
201 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, in iwl_acpi_get_pwr_limit()
203 if (IS_ERR(wifi_pkg) || tbl_rev != 0 || in iwl_acpi_get_pwr_limit()
204 wifi_pkg->package.elements[1].integer.value != ACPI_TYPE_INTEGER) { in iwl_acpi_get_pwr_limit()
209 dflt_pwr_limit = wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_pwr_limit()
219 union acpi_object *wifi_pkg, *data; in iwl_acpi_get_eckv() local
226 wifi_pkg = iwl_acpi_get_wifi_pkg(dev, data, ACPI_ECKV_WIFI_DATA_SIZE, in iwl_acpi_get_eckv()
228 if (IS_ERR(wifi_pkg)) { in iwl_acpi_get_eckv()
229 ret = PTR_ERR(wifi_pkg); in iwl_acpi_get_eckv()
233 if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_eckv()
239 *extl_clk = wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_eckv()