Searched refs:pwr_info (Results 1 – 8 of 8) sorted by relevance
/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 …]
|
/drivers/scsi/ufs/ |
D | ufshcd-pci.c | 133 struct ufs_pa_layer_attr pwr_info = hba->pwr_info; in ufs_intel_set_lanes() local 136 pwr_info.lane_rx = lanes; in ufs_intel_set_lanes() 137 pwr_info.lane_tx = lanes; in ufs_intel_set_lanes() 138 ret = ufshcd_config_pwr_mode(hba, &pwr_info); in ufs_intel_set_lanes() 155 (hba->pwr_info.lane_rx != 2 || hba->pwr_info.lane_tx != 2)) in ufs_intel_lkf_pwr_change_notify()
|
D | ufshcd.c | 617 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx, in ufshcd_print_pwr_info() 618 hba->pwr_info.lane_rx, hba->pwr_info.lane_tx, in ufshcd_print_pwr_info() 619 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info() 620 names[hba->pwr_info.pwr_tx], in ufshcd_print_pwr_info() 621 hba->pwr_info.hs_rate); in ufshcd_print_pwr_info() 1183 memcpy(&new_pwr_info, &hba->pwr_info, in ufshcd_scale_gear() 1186 if (hba->pwr_info.gear_tx > hba->clk_scaling.min_gear || in ufshcd_scale_gear() 1187 hba->pwr_info.gear_rx > hba->clk_scaling.min_gear) { in ufshcd_scale_gear() 1190 &hba->pwr_info, in ufshcd_scale_gear() 1204 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear() [all …]
|
D | ufshcd.h | 949 struct ufs_pa_layer_attr pwr_info; member 1216 static inline bool ufshcd_is_hs_mode(struct ufs_pa_layer_attr *pwr_info) in ufshcd_is_hs_mode() argument 1218 return (pwr_info->pwr_rx == FAST_MODE || in ufshcd_is_hs_mode() 1219 pwr_info->pwr_rx == FASTAUTO_MODE) && in ufshcd_is_hs_mode() 1220 (pwr_info->pwr_tx == FAST_MODE || in ufshcd_is_hs_mode() 1221 pwr_info->pwr_tx == FASTAUTO_MODE); in ufshcd_is_hs_mode()
|
D | ufs-qcom.c | 747 if (!ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify() 776 if (ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify() 915 if (ufshcd_is_hs_mode(&hba->pwr_info)) in ufs_qcom_setup_clocks()
|
D | ufs-exynos.c | 1090 hba->pwr_info.pwr_rx = (cur_mode >> 4) & 0xf; in exynos_ufs_post_hibern8() 1091 hba->pwr_info.pwr_tx = cur_mode & 0xf; in exynos_ufs_post_hibern8()
|
D | ufs-mediatek.c | 773 if (dev_req_params->hs_rate == hba->pwr_info.hs_rate) in ufs_mtk_pmc_via_fastauto()
|
/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 …]
|