Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c131 u32 f_kHz = 0; in dsi_calc_phy_rate() local
138 f_kHz = tmp_kHz; in dsi_calc_phy_rate()
141 if (f_kHz >= dphy_range_info[i].min_range_kHz && in dsi_calc_phy_rate()
142 f_kHz <= dphy_range_info[i].max_range_kHz) in dsi_calc_phy_rate()
146 DRM_ERROR("%dkHz out of range\n", f_kHz); in dsi_calc_phy_rate()
157 temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; in dsi_calc_phy_rate()
230 f_kHz = (u64)1000000000 * (u64)m_pll / in dsi_calc_phy_rate()
233 if (f_kHz >= req_kHz) in dsi_calc_phy_rate()
240 return f_kHz; in dsi_calc_phy_rate()
/Linux-v5.4/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.c3392 wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, in wlc_lcnphy_start_tx_tone() argument
3405 pi->phy_tx_tone_freq = f_kHz; in wlc_lcnphy_start_tx_tone()
3417 if (f_kHz) { in wlc_lcnphy_start_tx_tone()
3421 num_samps = bw / abs(f_kHz); in wlc_lcnphy_start_tx_tone()
3423 } while ((num_samps * (u32) (abs(f_kHz))) != bw); in wlc_lcnphy_start_tx_tone()
3427 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_lcnphy_start_tx_tone()
Dphy_n.c23044 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy() argument
23072 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_phy_gen_load_samples_nphy()
23183 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy() argument
23190 num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val, in wlc_phy_tx_tone_nphy()