Lines Matching refs:onoff
283 static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff) in opera1_power_ctrl() argument
285 u8 val = onoff ? 0x01 : 0x00; in opera1_power_ctrl()
288 info("power %s", onoff ? "on" : "off"); in opera1_power_ctrl()
293 static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in opera1_streaming_ctrl() argument
298 {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2}, in opera1_streaming_ctrl()
301 info("streaming %s", onoff ? "on" : "off"); in opera1_streaming_ctrl()
307 int onoff) in opera1_pid_filter() argument
315 onoff ? "on" : "off"); in opera1_pid_filter()
317 b_pid[1] = onoff ? (pid & 0xff) : (0x00); in opera1_pid_filter()
318 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00); in opera1_pid_filter()
323 static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff) in opera1_pid_filter_control() argument
331 info("%s hw-pidfilter", onoff ? "enable" : "disable"); in opera1_pid_filter_control()