Home
last modified time | relevance | path

Searched refs:f_kHz (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c132 u32 f_kHz = 0; in dsi_calc_phy_rate() local
139 f_kHz = tmp_kHz; in dsi_calc_phy_rate()
142 if (f_kHz >= dphy_range_info[i].min_range_kHz && in dsi_calc_phy_rate()
143 f_kHz <= dphy_range_info[i].max_range_kHz) in dsi_calc_phy_rate()
147 DRM_ERROR("%dkHz out of range\n", f_kHz); in dsi_calc_phy_rate()
158 temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; in dsi_calc_phy_rate()
231 f_kHz = (u64)1000000000 * (u64)m_pll / in dsi_calc_phy_rate()
234 if (f_kHz >= req_kHz) in dsi_calc_phy_rate()
241 return f_kHz; in dsi_calc_phy_rate()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_int.h972 void wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val,
1105 int wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, u8 mode,
Dphy_lcn.c3333 wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, in wlc_lcnphy_start_tx_tone() argument
3346 pi->phy_tx_tone_freq = f_kHz; in wlc_lcnphy_start_tx_tone()
3358 if (f_kHz) { in wlc_lcnphy_start_tx_tone()
3362 num_samps = bw / abs(f_kHz); in wlc_lcnphy_start_tx_tone()
3364 } while ((num_samps * (u32) (abs(f_kHz))) != bw); in wlc_lcnphy_start_tx_tone()
3368 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_lcnphy_start_tx_tone()
Dphy_n.c23039 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy() argument
23067 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_phy_gen_load_samples_nphy()
23169 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy() argument
23176 num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val, in wlc_phy_tx_tone_nphy()