Searched refs:phy_div (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 4007 cfo_all_avg = phy_div(cfo_khz_all, cfo_cnt_all); in rtw89_phy_average_cfo_calc() 4009 cfo->dcfo_avg = phy_div(cfo_khz_all << chip->dcfo_comp_sft, in rtw89_phy_average_cfo_calc() 4045 cfo_avg = phy_div(cfo_khz_all, (s32)cfo_cnt_all); in rtw89_phy_multi_sta_cfo_calc() 4056 cfo->cfo_avg[i] = phy_div(cfo->cfo_tail[i], in rtw89_phy_multi_sta_cfo_calc() 4064 cfo_avg = phy_div(cfo_khz_all, (s32)sta_cnt); in rtw89_phy_multi_sta_cfo_calc() 4075 cfo->cfo_avg[i] = phy_div(cfo->cfo_tail[i], in rtw89_phy_multi_sta_cfo_calc() 4092 cfo_avg = phy_div(cfo_khz_all_tp_wgt, (s32)tp_all); in rtw89_phy_multi_sta_cfo_calc() 4111 target_cfo = phy_div(cfo_khz_all, (s32)sta_cnt); in rtw89_phy_multi_sta_cfo_calc() 4532 return phy_div(stats->evm, stats->pkt_cnt_non_legacy + stats->pkt_cnt_ofdm); in rtw89_phy_antdiv_sts_instance_get_evm()
|
D | phy.h | 23 #define phy_div(a, b) ({typeof(b) _b = (b); (_b) ? ((a) / (_b)) : 0; }) macro
|
D | rtw8851b_rfk.c | 2154 phy_div(val1_i * val1_i + val1_q * val1_q, in _dpk_pas_read()
|
D | rtw8852a_rfk.c | 2326 phy_div(val1_i * val1_i + val1_q * val1_q, in _dpk_pas_read()
|
D | rtw8852b_rfk.c | 2205 phy_div(val1_i * val1_i + val1_q * val1_q, in _dpk_pas_read()
|
D | rtw8852bt_rfk.c | 2263 phy_div(val1_i * val1_i + val1_q * val1_q, in _dpk_pas_read()
|
D | rtw8852c_rfk.c | 2265 phy_div(val1_i * val1_i + val1_q * val1_q, in _dpk_pas_read()
|