Lines Matching refs:efuse
22 static void rtw8822be_efuse_parsing(struct rtw_efuse *efuse, in rtw8822be_efuse_parsing() argument
25 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8822be_efuse_parsing()
30 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_read_efuse() local
36 efuse->rfe_option = map->rfe_option; in rtw8822b_read_efuse()
37 efuse->rf_board_option = map->rf_board_option; in rtw8822b_read_efuse()
38 efuse->crystal_cap = map->xtal_k; in rtw8822b_read_efuse()
39 efuse->pa_type_2g = map->pa_type; in rtw8822b_read_efuse()
40 efuse->pa_type_5g = map->pa_type; in rtw8822b_read_efuse()
41 efuse->lna_type_2g = map->lna_type_2g[0]; in rtw8822b_read_efuse()
42 efuse->lna_type_5g = map->lna_type_5g[0]; in rtw8822b_read_efuse()
43 efuse->channel_plan = map->channel_plan; in rtw8822b_read_efuse()
44 efuse->country_code[0] = map->country_code[0]; in rtw8822b_read_efuse()
45 efuse->country_code[1] = map->country_code[1]; in rtw8822b_read_efuse()
46 efuse->bt_setting = map->rf_bt_setting; in rtw8822b_read_efuse()
47 efuse->regd = map->rf_board_option & 0x7; in rtw8822b_read_efuse()
48 efuse->thermal_meter[RF_PATH_A] = map->thermal_meter; in rtw8822b_read_efuse()
49 efuse->thermal_meter_k = map->thermal_meter; in rtw8822b_read_efuse()
52 efuse->txpwr_idx_table[i] = map->txpwr_idx_table[i]; in rtw8822b_read_efuse()
56 rtw8822be_efuse_parsing(efuse, map); in rtw8822b_read_efuse()
122 dm_info->thermal_meter_k = rtwdev->efuse.thermal_meter_k; in rtw8822b_pwrtrack_init()
150 crystal_cap = rtwdev->efuse.crystal_cap & 0x3F; in rtw8822b_phy_set_param()
403 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_set_channel_cca() local
453 (efuse->rfe_option == 5 && col == CCUT_IDX_2R_5G)) in rtw8822b_set_channel_cca()
592 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_set_channel_bb() local
593 u8 rfe_option = efuse->rfe_option; in rtw8822b_set_channel_bb()
698 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_set_channel() local
701 if (WARN(efuse->rfe_option >= ARRAY_SIZE(rtw8822b_rfe_info), in rtw8822b_set_channel()
702 "rfe_option %d is out of boundary\n", efuse->rfe_option)) in rtw8822b_set_channel()
705 rfe_info = &rtw8822b_rfe_info[efuse->rfe_option]; in rtw8822b_set_channel()
719 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_config_trx_mode() local
725 if (WARN(efuse->rfe_option >= ARRAY_SIZE(rtw8822b_rfe_info), in rtw8822b_config_trx_mode()
726 "rfe_option %d is out of boundary\n", efuse->rfe_option)) in rtw8822b_config_trx_mode()
729 rfe_info = &rtw8822b_rfe_info[efuse->rfe_option]; in rtw8822b_config_trx_mode()
1241 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_coex_cfg_rfe_type() local
1244 coex_rfe->rfe_module_type = rtwdev->efuse.rfe_option; in rtw8822b_coex_cfg_rfe_type()
1264 if (efuse->share_ant && in rtw8822b_coex_cfg_rfe_type()
1484 if (rtwdev->efuse.thermal_meter[RF_PATH_A] == 0xff) in rtw8822b_phy_pwrtrack()
1507 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8822b_pwr_track() local
1510 if (efuse->power_track_type != 0) in rtw8822b_pwr_track()