Searched refs:mod1 (Results 1 – 3 of 3) sorted by relevance
62 u32 freq, div, mod1, mod2; in qt1010_set_params() local122 mod1 = (freq + QT1010_OFFSET) % FREQ1; in qt1010_set_params()142 if (mod1 < 8000000) rd[6].val = 0x1d; in qt1010_set_params()146 if (mod1 < 1*FREQ2) rd[7].val = 0x09; /* +0 MHz */ in qt1010_set_params()147 else if (mod1 < 2*FREQ2) rd[7].val = 0x08; /* +4 MHz */ in qt1010_set_params()148 else if (mod1 < 3*FREQ2) rd[7].val = 0x0f; /* +8 MHz */ in qt1010_set_params()149 else if (mod1 < 4*FREQ2) rd[7].val = 0x0e; /* +12 MHz */ in qt1010_set_params()150 else if (mod1 < 5*FREQ2) rd[7].val = 0x0d; /* +16 MHz */ in qt1010_set_params()151 else if (mod1 < 6*FREQ2) rd[7].val = 0x0c; /* +20 MHz */ in qt1010_set_params()152 else if (mod1 < 7*FREQ2) rd[7].val = 0x0b; /* +24 MHz */ in qt1010_set_params()[all …]
278 int mod1, mod2; in _lookup_sddiv() local287 mod1 = (clkinp * m) % (250 * n); in _lookup_sddiv()292 if (mod1 || mod2) in _lookup_sddiv()
8 obj-y += clk-a10-mod1.o