Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c133 u32 f_kHz = 0; in dsi_calc_phy_rate() local
140 f_kHz = tmp_kHz; in dsi_calc_phy_rate()
143 if (f_kHz >= dphy_range_info[i].min_range_kHz && in dsi_calc_phy_rate()
144 f_kHz <= dphy_range_info[i].max_range_kHz) in dsi_calc_phy_rate()
148 DRM_ERROR("%dkHz out of range\n", f_kHz); in dsi_calc_phy_rate()
159 temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; in dsi_calc_phy_rate()
232 f_kHz = div64_u64((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-6.12.1/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.c23035 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy() argument
23063 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_phy_gen_load_samples_nphy()
23165 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy() argument
23172 num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val, in wlc_phy_tx_tone_nphy()