Lines Matching refs:bandwidth_khz
240 static int cx24113_set_bandwidth(struct cx24113_state *state, u32 bandwidth_khz) in cx24113_set_bandwidth() argument
244 if (bandwidth_khz <= 19000) in cx24113_set_bandwidth()
246 else if (bandwidth_khz <= 25000) in cx24113_set_bandwidth()
251 dprintk("bandwidth to be set: %d\n", bandwidth_khz); in cx24113_set_bandwidth()
252 bandwidth_khz *= 10; in cx24113_set_bandwidth()
253 bandwidth_khz -= 10000; in cx24113_set_bandwidth()
254 bandwidth_khz /= 1000; in cx24113_set_bandwidth()
255 bandwidth_khz += 5; in cx24113_set_bandwidth()
256 bandwidth_khz /= 10; in cx24113_set_bandwidth()
258 dprintk("bandwidth: %d %d\n", r >> 6, bandwidth_khz); in cx24113_set_bandwidth()
260 r |= bandwidth_khz & 0x3f; in cx24113_set_bandwidth()