/linux/drivers/media/common/b2c2/ |
A D | flexcop-hw-filter.c | 70 v208.ctrl_208.enablefield = onoff; \ 75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl() argument 82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl() argument 89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl() argument 95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl() argument 101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl() argument 107 u16 pid, int onoff) in flexcop_pid_ECM_PID_ctrl() argument 113 int index, u16 pid, int onoff) in flexcop_pid_control() argument 209 if (fc->feedcount == onoff) { in flexcop_pid_feed_control() 212 fc->stream_control(fc, onoff); in flexcop_pid_feed_control() [all …]
|
A D | flexcop-common.h | 127 flexcop_dma_index_t no, int onoff); 129 flexcop_dma_index_t no, int onoff); 134 int onoff); 178 struct dvb_demux_feed *dvbdmxfeed, int onoff); 181 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff); 184 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff);
|
/linux/drivers/media/pci/b2c2/ |
A D | flexcop-dma.c | 75 int onoff) in flexcop_dma_xfer_control() argument 99 v0x0.dma_0x0.dma_0start = onoff; in flexcop_dma_xfer_control() 102 v0xc.dma_0xc.dma_1start = onoff; in flexcop_dma_xfer_control() 115 int onoff) in flexcop_dma_remap() argument 121 v.dma_0xc.remap_enable = onoff; in flexcop_dma_remap() 128 int onoff) in flexcop_dma_control_size_irq() argument 133 v.ctrl_208.DMA1_IRQ_Enable_sig = onoff; in flexcop_dma_control_size_irq() 136 v.ctrl_208.DMA2_IRQ_Enable_sig = onoff; in flexcop_dma_control_size_irq() 145 int onoff) in flexcop_dma_control_timer_irq() argument 150 v.ctrl_208.DMA1_Timer_Enable_sig = onoff; in flexcop_dma_control_timer_irq() [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
A D | dibusb-common.c | 22 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_streaming_ctrl() argument 27 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { in dibusb_streaming_ctrl() 42 index, pid, onoff); in dibusb_pid_filter() 48 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_pid_filter_ctrl() argument 53 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) in dibusb_pid_filter_ctrl() 60 int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff) in dibusb_power_ctrl() argument 71 b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP; in dibusb_power_ctrl() 92 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0) in dibusb2_0_streaming_ctrl() 95 if (onoff) { in dibusb2_0_streaming_ctrl() 113 int dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff) in dibusb2_0_power_ctrl() argument [all …]
|
A D | opera1.c | 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 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 [all …]
|
A D | cxusb.c | 121 o[1] = onoff; in cxusb_gpio_tuner() 162 u8 o[2] = {addr, onoff}; in cxusb_d680_dmb_gpio_tuner() 301 if (onoff) in _cxusb_power_ctrl() 340 if (!onoff) in cxusb_aver_power_ctrl() 387 if (onoff) in cxusb_bluebird_power_ctrl() 398 if (!onoff) in cxusb_nano2_power_ctrl() 410 if (!onoff) in cxusb_d680_dmb_power_ctrl() 434 if (onoff) in cxusb_streaming_ctrl() 447 if (onoff) in cxusb_aver_streaming_ctrl() 502 int onoff) in cxusb_d680_dmb_streaming_ctrl() argument [all …]
|
A D | dtt200u.c | 24 static int dtt200u_power_ctrl(struct dvb_usb_device *d, int onoff) in dtt200u_power_ctrl() argument 33 if (onoff) in dtt200u_power_ctrl() 40 static int dtt200u_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dtt200u_streaming_ctrl() argument 48 st->data[1] = onoff; in dtt200u_streaming_ctrl() 54 if (onoff) in dtt200u_streaming_ctrl() 66 static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in dtt200u_pid_filter() argument 72 pid = onoff ? pid : 0; in dtt200u_pid_filter()
|
A D | dvb-usb-dvb.c | 14 static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) in dvb_usb_ctrl_feed() argument 27 newfeedcount = adap->feedcount + (onoff ? 1 : -1); in dvb_usb_ctrl_feed() 49 dvbdmxfeed->index, onoff ? "on" : "off"); in dvb_usb_ctrl_feed() 53 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); in dvb_usb_ctrl_feed() 58 if (adap->feedcount == onoff && adap->feedcount > 0) { in dvb_usb_ctrl_feed() 233 static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff) in dvb_usb_set_active_fe() argument 238 adap->props.frontend_ctrl(fe, onoff) : 0; in dvb_usb_set_active_fe() 244 if (onoff) in dvb_usb_set_active_fe()
|
/linux/drivers/media/dvb-frontends/ |
A D | dib3000.h | 34 int (*pid_parse)(struct dvb_frontend *fe, int onoff); 35 int (*fifo_ctrl)(struct dvb_frontend *fe, int onoff); 36 int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff); 37 int (*tuner_pass_ctrl)(struct dvb_frontend *fe, int onoff, u8 pll_ctrl);
|
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) in dib7000m_pid_filter() argument 76 uint8_t onoff) in dib7000m_pid_filter_ctrl() argument
|
A D | dib9000.h | 37 extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); 38 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) in dib9000_fw_pid_filter_ctrl() argument 82 static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) in dib9000_fw_pid_filter() argument
|
A D | dib3000mb.c | 701 static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff) in dib3000mb_pid_control() argument 704 pid = (onoff ? pid | DIB3000_ACTIVATE_PID_FILTERING : 0); in dib3000mb_pid_control() 709 static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff) in dib3000mb_fifo_control() argument 713 deb_xfer("%s fifo\n",onoff ? "enabling" : "disabling"); in dib3000mb_fifo_control() 714 if (onoff) { in dib3000mb_fifo_control() 722 static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff) in dib3000mb_pid_parse() argument 725 deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling"); in dib3000mb_pid_parse() 726 wr(DIB3000MB_REG_PID_PARSE,onoff); in dib3000mb_pid_parse() 730 static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr) in dib3000mb_tuner_pass_ctrl() argument 733 if (onoff) { in dib3000mb_tuner_pass_ctrl()
|
A D | dib7000p.h | 58 int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); 59 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); 62 int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
|
A D | dib8000.h | 50 int (*tuner_sleep)(struct dvb_frontend *fe, int onoff); 61 int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); 62 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
|
A D | af9033.h | 86 int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff); 88 int onoff);
|
/linux/drivers/media/usb/dvb-usb-v2/ |
A D | mxl111sf.c | 352 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep6_streaming_ctrl() 354 if (onoff) { in mxl111sf_ep6_streaming_ctrl() 376 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep5_streaming_ctrl() 378 if (onoff) { in mxl111sf_ep5_streaming_ctrl() 391 ret = mxl111sf_config_spi(state, onoff); in mxl111sf_ep5_streaming_ctrl() 402 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep4_streaming_ctrl() 404 if (onoff) { in mxl111sf_ep4_streaming_ctrl() 1228 return mxl111sf_ep6_streaming_ctrl(fe, onoff); in mxl111sf_streaming_ctrl_atsc_mh() 1230 return mxl111sf_ep4_streaming_ctrl(fe, onoff); in mxl111sf_streaming_ctrl_atsc_mh() 1232 return mxl111sf_ep5_streaming_ctrl(fe, onoff); in mxl111sf_streaming_ctrl_atsc_mh() [all …]
|
A D | mxl111sf-phy.c | 84 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff) in mxl1x1sf_top_master_ctrl() argument 86 mxl_debug("(%d)", onoff); in mxl1x1sf_top_master_ctrl() 88 return mxl111sf_write_reg(state, 0x01, onoff ? 0x01 : 0x00); in mxl1x1sf_top_master_ctrl() 261 int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff) in mxl111sf_config_spi() argument 266 mxl_debug("(%d)", onoff); in mxl111sf_config_spi() 276 if (onoff) in mxl111sf_config_spi()
|
A D | rtl28xxu.c | 1461 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2831u_power_ctrl() 1475 if (onoff) { in rtl2831u_power_ctrl() 1509 if (onoff) in rtl2831u_power_ctrl() 1522 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2832u_power_ctrl() 1524 if (onoff) { in rtl2832u_power_ctrl() 1581 return rtl2831u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl() 1583 return rtl2832u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl() 1601 if (onoff) in rtl28xxu_frontend_ctrl() 1838 return pdata->pid_filter_ctrl(adap->fe[0], onoff); in rtl28xxu_pid_filter_ctrl() 1842 return pdata->pid_filter_ctrl(adap->fe[0], onoff); in rtl28xxu_pid_filter_ctrl() [all …]
|
/linux/drivers/media/common/siano/ |
A D | sms-cards.c | 279 int sms_board_power(struct smscore_device_t *coredev, int onoff) in sms_board_power() argument 288 board->led_power, onoff ? 1 : 0); in sms_board_power() 293 if (!onoff) in sms_board_power() 324 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff) in sms_board_lna_control() argument 329 pr_debug("%s: LNA %s\n", __func__, onoff ? "enabled" : "disabled"); in sms_board_lna_control() 335 board->rf_switch, onoff ? 1 : 0); in sms_board_lna_control() 337 board->lna_ctrl, onoff ? 1 : 0); in sms_board_lna_control()
|
/linux/drivers/net/can/usb/peak_usb/ |
A D | pcan_usb.c | 221 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus() argument 224 [0] = !!onoff, in pcan_usb_set_bus() 231 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent() argument 234 [0] = !!onoff, in pcan_usb_set_silent() 251 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc() argument 254 [0] = !!onoff, in pcan_usb_set_ext_vcc() 260 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led() argument 263 [0] = !!onoff, in pcan_usb_set_led() 296 static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff) in pcan_usb_write_mode() argument 300 err = pcan_usb_set_bus(dev, onoff); in pcan_usb_write_mode() [all …]
|
/linux/drivers/s390/cio/ |
A D | ccwgroup.c | 61 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_set_online() 72 atomic_set(&gdev->onoff, 0); in ccwgroup_set_online() 91 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_set_offline() 107 atomic_set(&gdev->onoff, 0); in ccwgroup_set_offline() 175 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_ungroup_store() 189 atomic_set(&gdev->onoff, 0); in ccwgroup_ungroup_store() 327 atomic_set(&gdev->onoff, 0); in ccwgroup_create_dev()
|
/linux/drivers/media/pci/cx23885/ |
A D | altera-ci.c | 515 u16 pid, int onoff) in altera_pid_control() argument 532 if (onoff)/* 0 - on, 1 - off */ in altera_pid_control() 542 pid_filt->nr, pid, pid, onoff ? "off" : "on"); in altera_pid_control() 546 int filt_nr, int onoff) in altera_toggle_fullts_streaming() argument 553 onoff ? "off" : "on"); in altera_toggle_fullts_streaming() 555 if (onoff)/* 0 - on, 1 - off */ in altera_toggle_fullts_streaming() 576 struct dvb_demux_feed *feed, int onoff) in altera_pid_feed_control() argument 582 altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1); in altera_pid_feed_control() 584 if (onoff) in altera_pid_feed_control() 591 onoff ? 0 : 1); in altera_pid_feed_control()
|
/linux/drivers/usb/serial/ |
A D | whiteheat.c | 162 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff); 163 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff); 164 static int firm_set_break(struct usb_serial_port *port, __u8 onoff); 694 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff) in firm_set_rts() argument 699 rts_command.state = onoff; in firm_set_rts() 705 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff) in firm_set_dtr() argument 710 dtr_command.state = onoff; in firm_set_dtr() 716 static int firm_set_break(struct usb_serial_port *port, __u8 onoff) in firm_set_break() argument 721 break_command.state = onoff; in firm_set_break()
|
/linux/arch/arm/mach-omap1/ |
A D | board-sx1.h | 42 int sx1_setmmipower(u8 onoff); 43 int sx1_setusbpower(u8 onoff);
|
A D | board-sx1.c | 127 int sx1_setmmipower(u8 onoff) in sx1_setmmipower() argument 134 if (onoff) in sx1_setmmipower() 142 int sx1_setusbpower(u8 onoff) in sx1_setusbpower() argument 149 if (onoff) in sx1_setusbpower()
|