Lines Matching refs:wifi_pkg
690 union acpi_object *wifi_pkg, *table, *data; in iwl_mvm_sar_get_wrds_table() local
698 wifi_pkg = iwl_acpi_get_wifi_pkg(mvm->dev, data, in iwl_mvm_sar_get_wrds_table()
700 if (IS_ERR(wifi_pkg)) { in iwl_mvm_sar_get_wrds_table()
701 ret = PTR_ERR(wifi_pkg); in iwl_mvm_sar_get_wrds_table()
705 if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || in iwl_mvm_sar_get_wrds_table()
711 enabled = !!(wifi_pkg->package.elements[1].integer.value); in iwl_mvm_sar_get_wrds_table()
714 table = &wifi_pkg->package.elements[2]; in iwl_mvm_sar_get_wrds_table()
728 union acpi_object *wifi_pkg, *data; in iwl_mvm_sar_get_ewrd_table() local
736 wifi_pkg = iwl_acpi_get_wifi_pkg(mvm->dev, data, in iwl_mvm_sar_get_ewrd_table()
738 if (IS_ERR(wifi_pkg)) { in iwl_mvm_sar_get_ewrd_table()
739 ret = PTR_ERR(wifi_pkg); in iwl_mvm_sar_get_ewrd_table()
743 if ((wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER) || in iwl_mvm_sar_get_ewrd_table()
744 (wifi_pkg->package.elements[2].type != ACPI_TYPE_INTEGER) || in iwl_mvm_sar_get_ewrd_table()
750 enabled = !!(wifi_pkg->package.elements[1].integer.value); in iwl_mvm_sar_get_ewrd_table()
751 n_profiles = wifi_pkg->package.elements[2].integer.value; in iwl_mvm_sar_get_ewrd_table()
772 &wifi_pkg->package.elements[pos], in iwl_mvm_sar_get_ewrd_table()
789 union acpi_object *wifi_pkg, *data; in iwl_mvm_sar_get_wgds_table() local
797 wifi_pkg = iwl_acpi_get_wifi_pkg(mvm->dev, data, in iwl_mvm_sar_get_wgds_table()
799 if (IS_ERR(wifi_pkg)) { in iwl_mvm_sar_get_wgds_table()
800 ret = PTR_ERR(wifi_pkg); in iwl_mvm_sar_get_wgds_table()
814 entry = &wifi_pkg->package.elements[idx++]; in iwl_mvm_sar_get_wgds_table()
1023 union acpi_object *wifi_pkg, *data, *enabled; in iwl_mvm_get_ppag_table() local
1032 wifi_pkg = iwl_acpi_get_wifi_pkg(mvm->dev, data, in iwl_mvm_get_ppag_table()
1035 if (IS_ERR(wifi_pkg)) { in iwl_mvm_get_ppag_table()
1036 ret = PTR_ERR(wifi_pkg); in iwl_mvm_get_ppag_table()
1045 enabled = &wifi_pkg->package.elements[1]; in iwl_mvm_get_ppag_table()
1067 ent = &wifi_pkg->package.elements[idx++]; in iwl_mvm_get_ppag_table()