Lines Matching refs:onoff
286 static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff) in opera1_power_ctrl() argument
288 u8 val = onoff ? 0x01 : 0x00; in opera1_power_ctrl()
291 info("power %s", onoff ? "on" : "off"); in opera1_power_ctrl()
296 static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in opera1_streaming_ctrl() argument
301 {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2}, in opera1_streaming_ctrl()
304 info("streaming %s", onoff ? "on" : "off"); in opera1_streaming_ctrl()
310 int onoff) in opera1_pid_filter() argument
318 onoff ? "on" : "off"); in opera1_pid_filter()
320 b_pid[1] = onoff ? (pid & 0xff) : (0x00); in opera1_pid_filter()
321 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00); in opera1_pid_filter()
326 static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff) in opera1_pid_filter_control() argument
334 info("%s hw-pidfilter", onoff ? "enable" : "disable"); in opera1_pid_filter_control()