Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv6110x_priv.h52 #define R_DIV(__div) (1 << (__div + 1)) macro
H A Dstv6110x.c136 pCalc = (REFCLOCK_kHz / 100) / R_DIV(rDiv); in stv6110x_set_frequency()
141 pCalcOpt = (REFCLOCK_kHz / 100) / R_DIV(rDivOpt); in stv6110x_set_frequency()
144 divider = (frequency * R_DIV(rDivOpt) * pVal) / REFCLOCK_kHz; in stv6110x_set_frequency()