Searched refs:mod2 (Results 1 – 4 of 4) sorted by relevance
175 unsigned int mod2; member189 do_div(tmp, st->mod2); in adf4371_pll_fract_n_get_rate()212 unsigned int *mod2) in adf4371_pll_fract_n_compute() argument224 *mod2 = pfd; in adf4371_pll_fract_n_compute()226 while (*mod2 > ADF4371_MAX_MODULUS2) { in adf4371_pll_fract_n_compute()227 *mod2 >>= 1; in adf4371_pll_fract_n_compute()231 gcd_div = gcd(*fract2, *mod2); in adf4371_pll_fract_n_compute()232 *mod2 /= gcd_div; in adf4371_pll_fract_n_compute()275 &st->fract2, &st->mod2); in adf4371_set_freq()285 st->buf[8] = st->mod2 & 0xFF; in adf4371_set_freq()[all …]
49 u32 freq, div, mod1, mod2; in qt1010_set_params() local110 mod2 = (freq + QT1010_OFFSET) % FREQ2; in qt1010_set_params()143 if (mod2 < 2000000) rd[8].val = 0x45; in qt1010_set_params()148 rd[10].val = tmpval-((mod2/QT1010_STEP)*0x08); in qt1010_set_params()
275 int mod1, mod2; in _lookup_sddiv() local286 mod2 = sd % 10; in _lookup_sddiv()289 if (mod1 || mod2) in _lookup_sddiv()
546 #define mod2(v) ((v) & 1) macro1649 mod2(par->diwstrt_v + par->vyres - in ami_update_par()1657 if (par->bplcon0 & BPC0_LACE && mod2(par->diwstrt_v)) in ami_update_par()2080 if (mod2(vs)) { in ami_set_sprite()2167 if ((par->vyres - par->yoffset) != 1 || !mod2(par->diwstrt_v)) { in ami_rebuild_copper()2196 if (mod2(par->diwstrt_v)) in ami_rebuild_copper()2201 if ((par->vyres - par->yoffset) != 1 || mod2(par->diwstrt_v)) { in ami_rebuild_copper()2217 if (mod2(par->diwstrt_v + par->vyres - in ami_rebuild_copper()