Home
last modified time | relevance | path

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

/drivers/media/tuners/
Dqt1010.c49 u32 freq, div, mod1, mod2; in qt1010_set_params() local
109 mod1 = (freq + QT1010_OFFSET) % FREQ1; in qt1010_set_params()
129 if (mod1 < 8000000) rd[6].val = 0x1d; in qt1010_set_params()
133 if (mod1 < 1*FREQ2) rd[7].val = 0x09; /* +0 MHz */ in qt1010_set_params()
134 else if (mod1 < 2*FREQ2) rd[7].val = 0x08; /* +4 MHz */ in qt1010_set_params()
135 else if (mod1 < 3*FREQ2) rd[7].val = 0x0f; /* +8 MHz */ in qt1010_set_params()
136 else if (mod1 < 4*FREQ2) rd[7].val = 0x0e; /* +12 MHz */ in qt1010_set_params()
137 else if (mod1 < 5*FREQ2) rd[7].val = 0x0d; /* +16 MHz */ in qt1010_set_params()
138 else if (mod1 < 6*FREQ2) rd[7].val = 0x0c; /* +20 MHz */ in qt1010_set_params()
139 else if (mod1 < 7*FREQ2) rd[7].val = 0x0b; /* +24 MHz */ in qt1010_set_params()
[all …]
/drivers/clk/sunxi/
DMakefile11 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-mod1.o
/drivers/clk/ti/
Ddpll3xxx.c275 int mod1, mod2; in _lookup_sddiv() local
284 mod1 = (clkinp * m) % (250 * n); in _lookup_sddiv()
289 if (mod1 || mod2) in _lookup_sddiv()