Lines Matching defs:srate
131 static int tda8083_set_symbolrate (struct tda8083_state* state, u32 srate)
137 if (srate > 32000000)
138 srate = 32000000;
139 if (srate < 500000)
140 srate = 500000;
143 if (srate < 24000000)
145 if (srate < 16000000)
149 ratio = tmp / srate;
151 tmp = (tmp % srate) << 8;
152 ratio = (ratio << 8) + tmp / srate;
154 tmp = (tmp % srate) << 8;
155 ratio = (ratio << 8) + tmp / srate;