• Home
  • Raw
  • Download

Lines Matching refs:onoff

84 static void cxusb_gpio_tuner(struct dvb_usb_device *d, int onoff)  in cxusb_gpio_tuner()  argument
89 if (st->gpio_write_state[GPIO_TUNER] == onoff) in cxusb_gpio_tuner()
93 o[1] = onoff; in cxusb_gpio_tuner()
99 st->gpio_write_state[GPIO_TUNER] = onoff; in cxusb_gpio_tuner()
125 static void cxusb_nano2_led(struct dvb_usb_device *d, int onoff) in cxusb_nano2_led() argument
127 cxusb_bluebird_gpio_rw(d, 0x40, onoff ? 0 : 0x40); in cxusb_nano2_led()
131 u8 addr, int onoff) in cxusb_d680_dmb_gpio_tuner() argument
133 u8 o[2] = {addr, onoff}; in cxusb_d680_dmb_gpio_tuner()
267 static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_power_ctrl() argument
270 if (onoff) in cxusb_power_ctrl()
276 static int cxusb_aver_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_aver_power_ctrl() argument
279 if (!onoff) in cxusb_aver_power_ctrl()
316 static int cxusb_bluebird_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_bluebird_power_ctrl() argument
319 if (onoff) in cxusb_bluebird_power_ctrl()
325 static int cxusb_nano2_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_nano2_power_ctrl() argument
329 rc = cxusb_power_ctrl(d, onoff); in cxusb_nano2_power_ctrl()
330 if (!onoff) in cxusb_nano2_power_ctrl()
336 static int cxusb_d680_dmb_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_d680_dmb_power_ctrl() argument
340 ret = cxusb_power_ctrl(d, onoff); in cxusb_d680_dmb_power_ctrl()
341 if (!onoff) in cxusb_d680_dmb_power_ctrl()
350 static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_streaming_ctrl() argument
353 if (onoff) in cxusb_streaming_ctrl()
361 static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_aver_streaming_ctrl() argument
363 if (onoff) in cxusb_aver_streaming_ctrl()
418 struct dvb_usb_adapter *adap, int onoff) in cxusb_d680_dmb_streaming_ctrl() argument
420 if (onoff) { in cxusb_d680_dmb_streaming_ctrl()
1111 static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) in dib7070_tuner_reset() argument
1116 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); in dib7070_tuner_reset()
1119 static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) in dib7070_tuner_sleep() argument