Lines Matching full:bandwidth
241 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
255 *bandwidth = state->bandwidth = bw * 1000; in stb6100_get_bandwidth()
256 dprintk(verbose, FE_DEBUG, 1, "bandwidth = %u Hz", state->bandwidth); in stb6100_get_bandwidth()
260 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
266 dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u Hz", bandwidth); in stb6100_set_bandwidth()
268 bandwidth /= 2; /* ZIF */ in stb6100_set_bandwidth()
270 if (bandwidth >= 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */ in stb6100_set_bandwidth()
272 else if (bandwidth <= 5000000) /* bw/2 min = 5Mhz for F=0 */ in stb6100_set_bandwidth()
275 tmp = (bandwidth + 500000) / 1000000 - 5; in stb6100_set_bandwidth()
277 /* Turn on LPF bandwidth setting clock control, in stb6100_set_bandwidth()
278 * set bandwidth, wait 10ms, turn off. in stb6100_set_bandwidth()
495 state->bandwidth = 36000000; /* Hz */ in stb6100_init()
498 /* Set default bandwidth. Modified, PN 13-May-10 */ in stb6100_init()