Home
last modified time | relevance | path

Searched refs:pwr_info (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/firmware/broadcom/
Dbcm47xx_sprom.c415 struct ssb_sprom_core_pwr_info *pwr_info; in bcm47xx_fill_sprom_path_r4589() local
417 pwr_info = &sprom->core_pwr_info[i]; in bcm47xx_fill_sprom_path_r4589()
421 &pwr_info->maxpwr_2g, 0, fallback); in bcm47xx_fill_sprom_path_r4589()
423 &pwr_info->itssi_2g, 0, fallback); in bcm47xx_fill_sprom_path_r4589()
425 &pwr_info->itssi_5g, 0, fallback); in bcm47xx_fill_sprom_path_r4589()
427 &pwr_info->pa_2g[0], 0, fallback); in bcm47xx_fill_sprom_path_r4589()
429 &pwr_info->pa_2g[1], 0, fallback); in bcm47xx_fill_sprom_path_r4589()
431 &pwr_info->pa_2g[2], 0, fallback); in bcm47xx_fill_sprom_path_r4589()
433 &pwr_info->maxpwr_5g, 0, fallback); in bcm47xx_fill_sprom_path_r4589()
435 &pwr_info->maxpwr_5gh, 0, fallback); in bcm47xx_fill_sprom_path_r4589()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D3945.c2057 struct il3945_channel_power_info *pwr_info; in il3945_txpower_set_from_eeprom() local
2111 pwr_info = &ch_info->power_info[rate_idx]; in il3945_txpower_set_from_eeprom()
2123 pwr_info->base_power_idx = (u8) power_idx; in il3945_txpower_set_from_eeprom()
2132 pwr_info->requested_power = pwr; in il3945_txpower_set_from_eeprom()
2133 pwr_info->power_table_idx = (u8) power_idx; in il3945_txpower_set_from_eeprom()
2134 pwr_info->tpc.tx_gain = in il3945_txpower_set_from_eeprom()
2136 pwr_info->tpc.dsp_atten = in il3945_txpower_set_from_eeprom()
2141 pwr_info = &ch_info->power_info[RATE_12M_IDX_TBL]; in il3945_txpower_set_from_eeprom()
2142 power = pwr_info->requested_power + IL_CCK_FROM_OFDM_POWER_DIFF; in il3945_txpower_set_from_eeprom()
2143 pwr_idx = pwr_info->power_table_idx + IL_CCK_FROM_OFDM_IDX_DIFF; in il3945_txpower_set_from_eeprom()
[all …]
/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.h691 struct ufs_pa_layer_attr pwr_info; member
894 static inline bool ufshcd_is_hs_mode(struct ufs_pa_layer_attr *pwr_info) in ufshcd_is_hs_mode() argument
896 return (pwr_info->pwr_rx == FAST_MODE || in ufshcd_is_hs_mode()
897 pwr_info->pwr_rx == FASTAUTO_MODE) && in ufshcd_is_hs_mode()
898 (pwr_info->pwr_tx == FAST_MODE || in ufshcd_is_hs_mode()
899 pwr_info->pwr_tx == FASTAUTO_MODE); in ufshcd_is_hs_mode()
Dufshcd.c535 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx, in ufshcd_print_pwr_info()
536 hba->pwr_info.lane_rx, hba->pwr_info.lane_tx, in ufshcd_print_pwr_info()
537 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info()
538 names[hba->pwr_info.pwr_tx], in ufshcd_print_pwr_info()
539 hba->pwr_info.hs_rate); in ufshcd_print_pwr_info()
1083 memcpy(&new_pwr_info, &hba->pwr_info, in ufshcd_scale_gear()
1086 if (hba->pwr_info.gear_tx > UFS_MIN_GEAR_TO_SCALE_DOWN in ufshcd_scale_gear()
1087 || hba->pwr_info.gear_rx > UFS_MIN_GEAR_TO_SCALE_DOWN) { in ufshcd_scale_gear()
1090 &hba->pwr_info, in ufshcd_scale_gear()
1105 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear()
[all …]
Dufs-qcom.c854 if (!ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify()
878 if (ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify()
1002 if (ufshcd_is_hs_mode(&hba->pwr_info)) in ufs_qcom_setup_clocks()