Lines Matching refs:onoff
282 static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff)
284 u8 val = onoff ? 0x01 : 0x00;
287 info("power %s", onoff ? "on" : "off");
292 static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
297 {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2},
300 info("streaming %s", onoff ? "on" : "off");
306 int onoff)
314 onoff ? "on" : "off");
316 b_pid[1] = onoff ? (pid & 0xff) : (0x00);
317 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00);
322 static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
330 info("%s hw-pidfilter", onoff ? "enable" : "disable");