Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/firmware/broadcom/
Dbcm47xx_sprom.c416 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-5.19.10/drivers/ufs/host/
Dufshcd-pci.c134 struct ufs_pa_layer_attr pwr_info = hba->pwr_info; in ufs_intel_set_lanes() local
137 pwr_info.lane_rx = lanes; in ufs_intel_set_lanes()
138 pwr_info.lane_tx = lanes; in ufs_intel_set_lanes()
139 ret = ufshcd_config_pwr_mode(hba, &pwr_info); in ufs_intel_set_lanes()
156 (hba->pwr_info.lane_rx != 2 || hba->pwr_info.lane_tx != 2)) in ufs_intel_lkf_pwr_change_notify()
Dufs-qcom.c750 if (!ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify()
779 if (ufshcd_is_hs_mode(&hba->pwr_info) && in ufs_qcom_pwr_change_notify()
918 if (ufshcd_is_hs_mode(&hba->pwr_info)) in ufs_qcom_setup_clocks()
Dufs-exynos.c1285 hba->pwr_info.pwr_rx = (cur_mode >> 4) & 0xf; in exynos_ufs_post_hibern8()
1286 hba->pwr_info.pwr_tx = cur_mode & 0xf; in exynos_ufs_post_hibern8()
/linux-5.19.10/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-5.19.10/include/ufs/
Dufshcd.h927 struct ufs_pa_layer_attr pwr_info; member
1149 static inline bool ufshcd_is_hs_mode(struct ufs_pa_layer_attr *pwr_info) in ufshcd_is_hs_mode() argument
1151 return (pwr_info->pwr_rx == FAST_MODE || in ufshcd_is_hs_mode()
1152 pwr_info->pwr_rx == FASTAUTO_MODE) && in ufshcd_is_hs_mode()
1153 (pwr_info->pwr_tx == FAST_MODE || in ufshcd_is_hs_mode()
1154 pwr_info->pwr_tx == FASTAUTO_MODE); in ufshcd_is_hs_mode()
/linux-5.19.10/drivers/ufs/core/
Dufshcd.c614 hba->pwr_info.gear_rx, hba->pwr_info.gear_tx, in ufshcd_print_pwr_info()
615 hba->pwr_info.lane_rx, hba->pwr_info.lane_tx, in ufshcd_print_pwr_info()
616 names[hba->pwr_info.pwr_rx], in ufshcd_print_pwr_info()
617 names[hba->pwr_info.pwr_tx], in ufshcd_print_pwr_info()
618 hba->pwr_info.hs_rate); in ufshcd_print_pwr_info()
1199 memcpy(&new_pwr_info, &hba->pwr_info, in ufshcd_scale_gear()
1202 if (hba->pwr_info.gear_tx > hba->clk_scaling.min_gear || in ufshcd_scale_gear()
1203 hba->pwr_info.gear_rx > hba->clk_scaling.min_gear) { in ufshcd_scale_gear()
1206 &hba->pwr_info, in ufshcd_scale_gear()
1220 hba->pwr_info.gear_tx, hba->pwr_info.gear_rx, in ufshcd_scale_gear()
[all …]