Searched refs:pwr_info (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/firmware/broadcom/ |
D | bcm47xx_sprom.c | 416 struct ssb_sprom_core_pwr_info *pwr_info; in bcm47xx_fill_sprom_path_r4589() local 418 pwr_info = &sprom->core_pwr_info[i]; in bcm47xx_fill_sprom_path_r4589() 422 &pwr_info->maxpwr_2g, 0, fallback); in bcm47xx_fill_sprom_path_r4589() 424 &pwr_info->itssi_2g, 0, fallback); in bcm47xx_fill_sprom_path_r4589() 426 &pwr_info->itssi_5g, 0, fallback); in bcm47xx_fill_sprom_path_r4589() 428 &pwr_info->pa_2g[0], 0, fallback); in bcm47xx_fill_sprom_path_r4589() 430 &pwr_info->pa_2g[1], 0, fallback); in bcm47xx_fill_sprom_path_r4589() 432 &pwr_info->pa_2g[2], 0, fallback); in bcm47xx_fill_sprom_path_r4589() 434 &pwr_info->maxpwr_5g, 0, fallback); in bcm47xx_fill_sprom_path_r4589() 436 &pwr_info->maxpwr_5gh, 0, fallback); in bcm47xx_fill_sprom_path_r4589() [all …]
|
/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/ |
D | 3945.c | 2057 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.10/drivers/scsi/ufs/ |
D | ufshcd.c | 559 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx, in ufshcd_print_pwr_info() 560 hba->pwr_info.lane_rx, hba->pwr_info.lane_tx, in ufshcd_print_pwr_info() 561 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info() 562 names[hba->pwr_info.pwr_tx], in ufshcd_print_pwr_info() 563 hba->pwr_info.hs_rate); in ufshcd_print_pwr_info() 1113 memcpy(&new_pwr_info, &hba->pwr_info, in ufshcd_scale_gear() 1116 if (hba->pwr_info.gear_tx > UFS_MIN_GEAR_TO_SCALE_DOWN in ufshcd_scale_gear() 1117 || hba->pwr_info.gear_rx > UFS_MIN_GEAR_TO_SCALE_DOWN) { in ufshcd_scale_gear() 1120 &hba->pwr_info, in ufshcd_scale_gear() 1134 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear() [all …]
|
D | ufshcd.h | 766 struct ufs_pa_layer_attr pwr_info; member 986 static inline bool ufshcd_is_hs_mode(struct ufs_pa_layer_attr *pwr_info) in ufshcd_is_hs_mode() argument 988 return (pwr_info->pwr_rx == FAST_MODE || in ufshcd_is_hs_mode() 989 pwr_info->pwr_rx == FASTAUTO_MODE) && in ufshcd_is_hs_mode() 990 (pwr_info->pwr_tx == FAST_MODE || in ufshcd_is_hs_mode() 991 pwr_info->pwr_tx == FASTAUTO_MODE); in ufshcd_is_hs_mode()
|
D | ufs-qcom.c | 732 if (!ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify() 769 if (ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify() 907 if (ufshcd_is_hs_mode(&hba->pwr_info)) in ufs_qcom_setup_clocks()
|
D | ufs-exynos.c | 1098 hba->pwr_info.pwr_rx = (cur_mode >> 4) & 0xf; in exynos_ufs_post_hibern8() 1099 hba->pwr_info.pwr_tx = cur_mode & 0xf; in exynos_ufs_post_hibern8()
|