/drivers/media/dvb/dvb-usb/ |
H A D | dvb-usb-dvb.c | 12 static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) argument 25 newfeedcount = adap->feedcount + (onoff ? 1 : -1); 47 dvbdmxfeed->index, onoff ? "on" : "off"); 51 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); 56 if (adap->feedcount == onoff && adap->feedcount > 0) { 177 static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff) argument 182 adap->props.frontend_ctrl(fe, onoff) : 0; 188 if (onoff)
|
H A D | a800.c | 26 static int a800_power_ctrl(struct dvb_usb_device *d, int onoff) argument
|
H A D | ce6230.c | 222 static int ce6230_power_ctrl(struct dvb_usb_device *d, int onoff) argument 225 deb_info("%s: onoff:%d\n", __func__, onoff); 229 ret = usb_set_interface(d->udev, 1, onoff);
|
H A D | dtt200u.c | 23 static int dtt200u_power_ctrl(struct dvb_usb_device *d, int onoff) argument 27 if (onoff) 33 static int dtt200u_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 35 u8 b_streaming[2] = { SET_STREAMING, onoff }; 40 if (onoff == 0) 45 static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) argument 48 pid = onoff ? pid : 0;
|
H A D | dvb-usb-init.c | 215 int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff) argument 217 if (onoff) 222 if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 */ 223 deb_info("power control: %d\n", onoff); 225 return d->props.power_ctrl(d, onoff);
|
H A D | gp8psk.c | 164 static int gp8psk_power_ctrl(struct dvb_usb_device *d, int onoff) argument 169 if (onoff) { 226 static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 228 return gp8psk_usb_out_op(adap->dev, ARM_TRANSFER, onoff, 0 , NULL, 0);
|
H A D | mxl111sf-phy.c | 97 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff) argument 99 mxl_debug("(%d)", onoff); 101 return mxl111sf_write_reg(state, 0x01, onoff ? 0x01 : 0x00); 274 int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff) argument 279 mxl_debug("(%d)", onoff); 289 if (onoff)
|
H A D | dibusb-common.c | 21 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 26 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { 35 int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) argument 41 index, pid, onoff); 47 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 52 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) 59 int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff) argument 65 b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP; 72 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 77 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 93 dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff) argument [all...] |
H A D | ec168.c | 235 static int ec168_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 238 deb_info("%s: onoff:%d\n", __func__, onoff); 239 if (onoff)
|
H A D | friio.c | 200 static int friio_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff); 382 static int friio_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument 386 deb_info("%s called.(%d)\n", __func__, onoff); 389 if (onoff)
|
H A D | gp8psk-fe.c | 279 static int gp8psk_fe_enable_high_lnb_voltage(struct dvb_frontend* fe, long onoff) argument 282 return gp8psk_usb_out_op(state->d, USE_EXTRA_VOLT, onoff, 0,NULL,0);
|
H A D | mxl111sf-tuner.c | 72 int onoff) 75 state->cfg->top_master_ctrl(state->mxl_state, onoff) : 266 int onoff) 269 onoff ? 1 : 0); 71 mxl1x1sf_tuner_top_master_ctrl(struct mxl111sf_tuner_state *state, int onoff) argument
|
H A D | vp702x.c | 190 static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) argument 196 if (onoff) 248 static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) argument
|
H A D | vp7045.c | 94 static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff) argument 96 u8 v = onoff;
|
/drivers/media/dvb/b2c2/ |
H A D | flexcop-dma.c | 73 int onoff) 97 v0x0.dma_0x0.dma_0start = onoff; 100 v0xc.dma_0xc.dma_1start = onoff; 113 int onoff) 118 v.dma_0xc.remap_enable = onoff; 125 int onoff) 130 v.ctrl_208.DMA1_IRQ_Enable_sig = onoff; 133 v.ctrl_208.DMA2_IRQ_Enable_sig = onoff; 142 int onoff) 147 v.ctrl_208.DMA1_Timer_Enable_sig = onoff; 70 flexcop_dma_xfer_control(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, flexcop_dma_addr_index_t index, int onoff) argument 111 flexcop_dma_remap(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, int onoff) argument 123 flexcop_dma_control_size_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff) argument 140 flexcop_dma_control_timer_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff) argument [all...] |
H A D | flexcop-hw-filter.c | 8 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) argument 10 flexcop_set_ibi_value(ctrl_208, Rcv_Data_sig, onoff); 11 deb_ts("rcv_data is now: '%s'\n", onoff ? "on" : "off"); 14 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) argument 16 flexcop_set_ibi_value(ctrl_208, SMC_Enable_sig, onoff); 19 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) argument 21 flexcop_set_ibi_value(ctrl_208, Null_filter_sig, onoff); 40 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) argument 42 flexcop_set_ibi_value(ctrl_208, MAC_filter_Mode_sig, onoff); 55 static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff) argument 73 flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 80 flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 87 flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 93 flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 99 flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 105 flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 111 flexcop_pid_control(struct flexcop_device *fc, int index, u16 pid, int onoff) argument 159 flexcop_toggle_fullts_streaming(struct flexcop_device *fc, int onoff) argument 170 flexcop_pid_feed_control(struct flexcop_device *fc, struct dvb_demux_feed *dvbdmxfeed, int onoff) argument [all...] |
H A D | flexcop-pci.c | 232 static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff) argument 235 if (onoff) {
|
/drivers/media/dvb/siano/ |
H A D | sms-cards.c | 230 int sms_board_power(struct smscore_device_t *coredev, int onoff) argument 239 board->led_power, onoff ? 1 : 0); 244 if (!onoff) 275 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff) argument 280 sms_debug("%s: LNA %s", __func__, onoff ? "enabled" : "disabled"); 286 board->rf_switch, onoff ? 1 : 0); 288 board->lna_ctrl, onoff ? 1 : 0);
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_custom_gpio.c | 123 dhd_customer_gpio_wlan_ctrl(int onoff) argument 125 switch (onoff) {
|
/drivers/staging/media/as102/ |
H A D | as102_drv.c | 110 int index, u16 pid, int onoff) { 122 switch (onoff) { 109 as10x_pid_filter(struct as102_dev_t *dev, int index, u16 pid, int onoff) argument
|
/drivers/media/dvb/frontends/ |
H A D | dib7000m.h | 49 extern int dib7000m_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff); 50 extern int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); 69 u16 pid, u8 onoff) 76 uint8_t onoff) 86 extern void dib7000m_set_hostbus_diversity(struct dibDemod *demod, UCHAR onoff); 68 dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) argument 75 dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, uint8_t onoff) argument
|
H A D | dib9000.h | 36 extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); 37 extern int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); 76 static inline int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) argument 82 static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) argument
|
H A D | dibx000_common.c | 257 u8 addr, int onoff) 262 if (onoff) 256 dibx000_i2c_gate_ctrl(struct dibx000_i2c_master *mst, u8 tx[4], u8 addr, int onoff) argument
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-dvb.c | 205 static int pvr2_dvb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) argument 214 if (onoff) {
|
/drivers/isdn/hardware/avm/ |
H A D | b1.c | 104 int onoff, i; local 129 for (onoff = !0, i= 0; i < 10 ; i++) { 130 b1_set_test_bit(base, cardtype, onoff); 131 if (b1_get_test_bit(base, cardtype) != onoff) 133 onoff = !onoff;
|