Lines Matching defs:onoff
796 static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
801 deb_info("reset: %d", onoff);
802 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
805 static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
810 deb_info("sleep: %d", onoff);
811 return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff);
917 u16 pid, int onoff)
923 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
924 return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
927 static int stk7700p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
932 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
933 return dib7000m_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
936 static int stk70x0p_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
939 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
942 static int stk70x0p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
945 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
1230 static int dib80xx_tuner_reset(struct dvb_frontend *fe, int onoff)
1235 return state->dib8000_ops.set_gpio(fe, 5, 0, !onoff);
1238 static int dib80xx_tuner_sleep(struct dvb_frontend *fe, int onoff)
1243 return state->dib8000_ops.set_gpio(fe, 0, 0, onoff);
1327 u16 pid, int onoff)
1331 return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
1335 int onoff)
1339 return state->dib8000_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
2201 static int dib90x0_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
2203 return dib9000_fw_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
2206 static int dib90x0_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
2208 return dib9000_fw_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
2211 static int dib90x0_tuner_reset(struct dvb_frontend *fe, int onoff)
2213 return dib9000_set_gpio(fe, 5, 0, !onoff);
2216 static int dib90x0_tuner_sleep(struct dvb_frontend *fe, int onoff)
2218 return dib9000_set_gpio(fe, 0, 0, onoff);