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