Lines Matching refs:fwrt
160 int iwl_acpi_get_dsm(struct iwl_fw_runtime *fwrt, in iwl_acpi_get_dsm() argument
178 ret = iwl_acpi_get_dsm_integer(fwrt->dev, ACPI_DSM_REV, func, in iwl_acpi_get_dsm()
185 IWL_DEBUG_RADIO(fwrt, in iwl_acpi_get_dsm()
258 int iwl_acpi_get_tas_table(struct iwl_fw_runtime *fwrt, in iwl_acpi_get_tas_table() argument
264 data = iwl_acpi_get_object(fwrt->dev, ACPI_WTAS_METHOD); in iwl_acpi_get_tas_table()
269 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_tas_table()
282 enabled = iwl_parse_tas_selection(fwrt, tas_data, in iwl_acpi_get_tas_table()
294 IWL_DEBUG_RADIO(fwrt, "TAS not enabled\n"); in iwl_acpi_get_tas_table()
299 IWL_DEBUG_RADIO(fwrt, "Reading TAS table revision %d\n", tbl_rev); in iwl_acpi_get_tas_table()
303 IWL_DEBUG_RADIO(fwrt, "TAS invalid array size %llu\n", in iwl_acpi_get_tas_table()
311 IWL_DEBUG_RADIO(fwrt, "TAS array size %u\n", block_list_size); in iwl_acpi_get_tas_table()
318 IWL_DEBUG_RADIO(fwrt, in iwl_acpi_get_tas_table()
326 IWL_DEBUG_RADIO(fwrt, "TAS block list country %d\n", country); in iwl_acpi_get_tas_table()
335 int iwl_acpi_get_mcc(struct iwl_fw_runtime *fwrt, char *mcc) in iwl_acpi_get_mcc() argument
341 data = iwl_acpi_get_object(fwrt->dev, ACPI_WRDD_METHOD); in iwl_acpi_get_mcc()
345 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_mcc()
362 IWL_DEBUG_RADIO(fwrt, "ACPI WRDD is supported only for CN\n"); in iwl_acpi_get_mcc()
376 int iwl_acpi_get_pwr_limit(struct iwl_fw_runtime *fwrt, u64 *dflt_pwr_limit) in iwl_acpi_get_pwr_limit() argument
382 data = iwl_acpi_get_object(fwrt->dev, ACPI_SPLC_METHOD); in iwl_acpi_get_pwr_limit()
386 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_pwr_limit()
400 int iwl_acpi_get_eckv(struct iwl_fw_runtime *fwrt, u32 *extl_clk) in iwl_acpi_get_eckv() argument
405 data = iwl_acpi_get_object(fwrt->dev, ACPI_ECKV_METHOD); in iwl_acpi_get_eckv()
409 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_eckv()
457 int iwl_acpi_get_wrds_table(struct iwl_fw_runtime *fwrt) in iwl_acpi_get_wrds_table() argument
464 data = iwl_acpi_get_object(fwrt->dev, ACPI_WRDS_METHOD); in iwl_acpi_get_wrds_table()
469 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_wrds_table()
485 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_wrds_table()
501 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_wrds_table()
525 IWL_DEBUG_RADIO(fwrt, "Reading WRDS tbl_rev=%d\n", tbl_rev); in iwl_acpi_get_wrds_table()
528 fwrt->reduced_power_flags = flags >> IWL_REDUCE_POWER_FLAGS_POS; in iwl_acpi_get_wrds_table()
536 ret = iwl_acpi_parse_chains_table(table, fwrt->sar_profiles[0].chains, in iwl_acpi_get_wrds_table()
539 fwrt->sar_profiles[0].enabled = true; in iwl_acpi_get_wrds_table()
546 int iwl_acpi_get_ewrd_table(struct iwl_fw_runtime *fwrt) in iwl_acpi_get_ewrd_table() argument
554 data = iwl_acpi_get_object(fwrt->dev, ACPI_EWRD_METHOD); in iwl_acpi_get_ewrd_table()
559 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ewrd_table()
574 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ewrd_table()
589 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ewrd_table()
641 fwrt->sar_profiles[i + 1].chains, in iwl_acpi_get_ewrd_table()
661 chains = &fwrt->sar_profiles[i + 1].chains[ACPI_SAR_NUM_CHAINS_REV0]; in iwl_acpi_get_ewrd_table()
675 fwrt->sar_profiles[i + 1].enabled = enabled; in iwl_acpi_get_ewrd_table()
682 int iwl_acpi_get_wgds_table(struct iwl_fw_runtime *fwrt) in iwl_acpi_get_wgds_table() argument
717 data = iwl_acpi_get_object(fwrt->dev, ACPI_WGDS_METHOD); in iwl_acpi_get_wgds_table()
736 wifi_pkg = iwl_acpi_get_wifi_pkg_range(fwrt->dev, data, in iwl_acpi_get_wgds_table()
784 fwrt->geo_rev = tbl_rev; in iwl_acpi_get_wgds_table()
795 fwrt->geo_profiles[i].bands[j].max = in iwl_acpi_get_wgds_table()
796 fwrt->geo_profiles[i].bands[1].max; in iwl_acpi_get_wgds_table()
806 fwrt->geo_profiles[i].bands[j].max = in iwl_acpi_get_wgds_table()
813 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_acpi_get_wgds_table()
814 fwrt->geo_profiles[i].bands[1].chains[k]; in iwl_acpi_get_wgds_table()
824 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_acpi_get_wgds_table()
831 fwrt->geo_num_profiles = num_profiles; in iwl_acpi_get_wgds_table()
832 fwrt->geo_enabled = true; in iwl_acpi_get_wgds_table()
839 int iwl_acpi_get_ppag_table(struct iwl_fw_runtime *fwrt) in iwl_acpi_get_ppag_table() argument
845 data = iwl_acpi_get_object(fwrt->dev, ACPI_PPAG_METHOD); in iwl_acpi_get_ppag_table()
850 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ppag_table()
856 IWL_DEBUG_RADIO(fwrt, in iwl_acpi_get_ppag_table()
867 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_ppag_table()
876 IWL_DEBUG_RADIO(fwrt, "Reading PPAG table v1 (tbl_rev=0)\n"); in iwl_acpi_get_ppag_table()
884 fwrt->ppag_ver = tbl_rev; in iwl_acpi_get_ppag_table()
892 fwrt->ppag_flags = iwl_bios_get_ppag_flags(flags->integer.value, in iwl_acpi_get_ppag_table()
893 fwrt->ppag_ver); in iwl_acpi_get_ppag_table()
910 fwrt->ppag_chains[i].subbands[j] = ent->integer.value; in iwl_acpi_get_ppag_table()
921 void iwl_acpi_get_phy_filters(struct iwl_fw_runtime *fwrt, in iwl_acpi_get_phy_filters() argument
928 data = iwl_acpi_get_object(fwrt->dev, ACPI_WPFC_METHOD); in iwl_acpi_get_phy_filters()
932 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_phy_filters()
951 IWL_DEBUG_RADIO(fwrt, "Loaded WPFC filter config from ACPI\n"); in iwl_acpi_get_phy_filters()
958 void iwl_acpi_get_guid_lock_status(struct iwl_fw_runtime *fwrt) in iwl_acpi_get_guid_lock_status() argument
963 data = iwl_acpi_get_object(fwrt->dev, ACPI_GLAI_METHOD); in iwl_acpi_get_guid_lock_status()
967 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_guid_lock_status()
974 IWL_DEBUG_RADIO(fwrt, "Invalid GLAI revision: %d\n", tbl_rev); in iwl_acpi_get_guid_lock_status()
982 fwrt->uefi_tables_lock_status = in iwl_acpi_get_guid_lock_status()
985 IWL_DEBUG_RADIO(fwrt, in iwl_acpi_get_guid_lock_status()
987 fwrt->uefi_tables_lock_status); in iwl_acpi_get_guid_lock_status()
993 int iwl_acpi_get_wbem(struct iwl_fw_runtime *fwrt, u32 *value) in iwl_acpi_get_wbem() argument
999 data = iwl_acpi_get_object(fwrt->dev, ACPI_WBEM_METHOD); in iwl_acpi_get_wbem()
1003 wifi_pkg = iwl_acpi_get_wifi_pkg(fwrt->dev, data, in iwl_acpi_get_wbem()
1010 IWL_DEBUG_RADIO(fwrt, "Unsupported ACPI WBEM revision:%d\n", in iwl_acpi_get_wbem()
1020 IWL_DEBUG_RADIO(fwrt, "Loaded WBEM config from ACPI\n"); in iwl_acpi_get_wbem()