Lines Matching refs:onoff
22 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_streaming_ctrl() argument
27 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { in dibusb_streaming_ctrl()
36 int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in dibusb_pid_filter() argument
42 index, pid, onoff); in dibusb_pid_filter()
48 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_pid_filter_ctrl() argument
53 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) in dibusb_pid_filter_ctrl()
60 int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff) in dibusb_power_ctrl() argument
71 b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP; in dibusb_power_ctrl()
83 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb2_0_streaming_ctrl() argument
92 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0) in dibusb2_0_streaming_ctrl()
95 if (onoff) { in dibusb2_0_streaming_ctrl()
104 b[1] = onoff ? DIBUSB_IOCTL_CMD_ENABLE_STREAM : DIBUSB_IOCTL_CMD_DISABLE_STREAM; in dibusb2_0_streaming_ctrl()
113 int dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff) in dibusb2_0_power_ctrl() argument
118 if (!onoff) in dibusb2_0_power_ctrl()