Lines Matching refs:srate
239 static int cx24110_set_symbolrate (struct cx24110_state* state, u32 srate) in cx24110_set_symbolrate() argument
248 dprintk("cx24110 debug: entering %s(%d)\n",__func__,srate); in cx24110_set_symbolrate()
249 if (srate>90999000UL/2) in cx24110_set_symbolrate()
250 srate=90999000UL/2; in cx24110_set_symbolrate()
251 if (srate<500000) in cx24110_set_symbolrate()
252 srate=500000; in cx24110_set_symbolrate()
254 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) in cx24110_set_symbolrate()
260 if(srate<90999000UL/4) { /* sample rate 45MHz*/ in cx24110_set_symbolrate()
264 } else if(srate<60666000UL/2) { /* sample rate 60MHz */ in cx24110_set_symbolrate()
268 } else if(srate<80888000UL/2) { /* sample rate 80MHz */ in cx24110_set_symbolrate()
286 tmp=srate<<6; in cx24110_set_symbolrate()
299 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]); in cx24110_set_symbolrate()