Lines Matching refs:srate
227 static int cx24110_set_symbolrate (struct cx24110_state *state, u32 srate) in cx24110_set_symbolrate() argument
236 dprintk("cx24110 debug: entering %s(%d)\n",__func__,srate); in cx24110_set_symbolrate()
237 if (srate>90999000UL/2) in cx24110_set_symbolrate()
238 srate=90999000UL/2; in cx24110_set_symbolrate()
239 if (srate<500000) in cx24110_set_symbolrate()
240 srate=500000; in cx24110_set_symbolrate()
242 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) in cx24110_set_symbolrate()
248 if(srate<90999000UL/4) { /* sample rate 45MHz*/ in cx24110_set_symbolrate()
252 } else if(srate<60666000UL/2) { /* sample rate 60MHz */ in cx24110_set_symbolrate()
256 } else if(srate<80888000UL/2) { /* sample rate 80MHz */ in cx24110_set_symbolrate()
274 tmp=srate<<6; in cx24110_set_symbolrate()
287 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]); in cx24110_set_symbolrate()