Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/dvb-frontends/
Dcx24110.c231 u32 tmp, fclk, BDRI; in cx24110_set_symbolrate() local
275 BDRI=fclk>>2; in cx24110_set_symbolrate()
276 ratio=(tmp/BDRI); in cx24110_set_symbolrate()
278 tmp=(tmp%BDRI)<<8; in cx24110_set_symbolrate()
279 ratio=(ratio<<8)+(tmp/BDRI); in cx24110_set_symbolrate()
281 tmp=(tmp%BDRI)<<8; in cx24110_set_symbolrate()
282 ratio=(ratio<<8)+(tmp/BDRI); in cx24110_set_symbolrate()
284 tmp=(tmp%BDRI)<<1; in cx24110_set_symbolrate()
285 ratio=(ratio<<1)+(tmp/BDRI); in cx24110_set_symbolrate()
Dtda10023.c158 s32 BDRI; in tda10023_set_symbolrate() local
189 BDRI = (state->sysclk)*16; in tda10023_set_symbolrate()
190 BDRI>>=NDEC; in tda10023_set_symbolrate()
191 BDRI +=sr/2; in tda10023_set_symbolrate()
192 BDRI /=sr; in tda10023_set_symbolrate()
194 if (BDRI>255) in tda10023_set_symbolrate()
195 BDRI=255; in tda10023_set_symbolrate()
207 sr, BDR, BDRI, NDEC); in tda10023_set_symbolrate()
212 tda10023_writereg (state, 0x0d, BDRI); in tda10023_set_symbolrate()
Dves1x93.c167 u32 BDRI; in ves1x93_set_symbolrate() local
216 BDRI = ( ((FIN << 8) / ((srate << (FNR >> 1)) >> 2)) + 1) >> 1; in ves1x93_set_symbolrate()
221 dprintk("BDRI= %02x\n", (unsigned int) BDRI); in ves1x93_set_symbolrate()
223 if (BDRI > 0xff) in ves1x93_set_symbolrate()
224 BDRI = 0xff; in ves1x93_set_symbolrate()
230 ves1x93_writereg (state, 0x09, BDRI); in ves1x93_set_symbolrate()
Dves1820.c105 s32 BDRI; in ves1820_set_symbolrate() local
160 BDRI = (((state->config->xin << 5) / symbolrate) + 1) / 2; in ves1820_set_symbolrate()
162 if (BDRI > 0xFF) in ves1820_set_symbolrate()
163 BDRI = 0xFF; in ves1820_set_symbolrate()
174 ves1820_writereg(state, 0x0d, BDRI); in ves1820_set_symbolrate()
Dtda10021.c139 s32 BDRI; in tda10021_set_symbolrate() local
179 BDRI = (((XIN << 5) / symbolrate) + 1) / 2; in tda10021_set_symbolrate()
181 if (BDRI > 0xFF) in tda10021_set_symbolrate()
182 BDRI = 0xFF; in tda10021_set_symbolrate()
193 _tda10021_writereg (state, 0x0d, BDRI); in tda10021_set_symbolrate()