Lines Matching defs:onoff
466 static int dib8000_set_diversity_in(struct dvb_frontend *fe, int onoff)
471 dprintk("set diversity input to %i\n", onoff);
479 state->diversity_onoff = onoff;
481 switch (onoff) {
1440 static void dib8096p_enMpegMux(struct dib8000_state *state, int onoff)
1446 switch (onoff) {
1526 static int dib8096p_set_diversity_in(struct dvb_frontend *fe, int onoff)
1531 switch (onoff) {
1557 dib8000_set_diversity_in(state->fe[0], onoff);
1891 static int dib8096p_tuner_sleep(struct dvb_frontend *fe, int onoff)
1896 dprintk("sleep dib8096p: %d\n", onoff);
1904 if (onoff)
2684 static void dib8000_viterbi_state(struct dib8000_state *state, u8 onoff)
2689 if (onoff) /* start P_restart_chd : channel_decoder */
4393 static int dib8000_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
4397 val |= (onoff & 0x1) << 4;
4399 dprintk("pid filter enabled %d\n", onoff);
4403 static int dib8000_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
4406 dprintk("Index %x, PID %d, OnOff %d\n", id, pid, onoff);
4407 return dib8000_write_word(st, 305 + id, onoff ? (1 << 13) | pid : 0);