Lines Matching refs:onoff

111 static void cxusb_gpio_tuner(struct dvb_usb_device *d, int onoff)
116 if (st->gpio_write_state[GPIO_TUNER] == onoff &&
121 o[1] = onoff;
127 st->gpio_write_state[GPIO_TUNER] = onoff;
154 static void cxusb_nano2_led(struct dvb_usb_device *d, int onoff)
156 cxusb_bluebird_gpio_rw(d, 0x40, onoff ? 0 : 0x40);
160 u8 addr, int onoff)
162 u8 o[2] = {addr, onoff};
295 static int _cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
299 dev_info(&d->udev->dev, "setting power %s\n", onoff ? "ON" : "OFF");
301 if (onoff)
307 static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
312 if (is_medion && !onoff) {
324 ret = _cxusb_power_ctrl(d, onoff);
327 if (is_medion && !onoff) {
336 static int cxusb_aver_power_ctrl(struct dvb_usb_device *d, int onoff)
340 if (!onoff)
383 static int cxusb_bluebird_power_ctrl(struct dvb_usb_device *d, int onoff)
387 if (onoff)
393 static int cxusb_nano2_power_ctrl(struct dvb_usb_device *d, int onoff)
397 rc = cxusb_power_ctrl(d, onoff);
398 if (!onoff)
404 static int cxusb_d680_dmb_power_ctrl(struct dvb_usb_device *d, int onoff)
409 ret = cxusb_power_ctrl(d, onoff);
410 if (!onoff)
419 static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
426 if (is_medion && onoff) {
434 if (onoff)
439 if (is_medion && !onoff)
445 static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
447 if (onoff)
502 int onoff)
504 if (onoff) {
1144 static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
1149 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
1152 static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)