Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c236 s32 s32log; in qm_log10() local
266 s32log = log_table[s16tableIndex]; /* q.15 format */ in qm_log10()
274 s32log = qm_add16((s16) s32log, s16errorApproximation); in qm_log10()
279 s32log = qm_add32(s32log, ((s32) -qN) << 15); /* q.15 format */ in qm_log10()
282 s16norm = qm_norm32(s32log); in qm_log10()
286 s32log = qm_shl32(s32log, s16norm - 16); in qm_log10()
292 *log10N = qm_muls16((s16) s32log, (s16) LOG10_2); in qm_log10()