| /linux/drivers/media/common/b2c2/ | 
| H A D | flexcop-hw-filter.c | 9 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff)  in flexcop_rcv_data_ctrl()  argument11 	flexcop_set_ibi_value(ctrl_208, Rcv_Data_sig, onoff);  in flexcop_rcv_data_ctrl()
 12 	deb_ts("rcv_data is now: '%s'\n", onoff ? "on" : "off");  in flexcop_rcv_data_ctrl()
 15 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff)  in flexcop_smc_ctrl()  argument
 17 	flexcop_set_ibi_value(ctrl_208, SMC_Enable_sig, onoff);  in flexcop_smc_ctrl()
 20 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff)  in flexcop_null_filter_ctrl()  argument
 22 	flexcop_set_ibi_value(ctrl_208, Null_filter_sig, onoff);  in flexcop_null_filter_ctrl()
 41 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff)  in flexcop_mac_filter_ctrl()  argument
 43 	flexcop_set_ibi_value(ctrl_208, MAC_filter_Mode_sig, onoff);  in flexcop_mac_filter_ctrl()
 56 static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff)  in flexcop_pid_group_filter_ctrl()  argument
 [all …]
 
 | 
| /linux/drivers/media/usb/dvb-usb/ | 
| H A D | dibusb-common.c | 23 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)  in dibusb_streaming_ctrl()  argument28 			if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) {  in dibusb_streaming_ctrl()
 37 int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)  in dibusb_pid_filter()  argument
 43 					 index, pid, onoff);  in dibusb_pid_filter()
 49 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)  in dibusb_pid_filter_ctrl()  argument
 54 			if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0)  in dibusb_pid_filter_ctrl()
 61 int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff)  in dibusb_power_ctrl()  argument
 72 	b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP;  in dibusb_power_ctrl()
 84 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)  in dibusb2_0_streaming_ctrl()  argument
 93 	if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0)  in dibusb2_0_streaming_ctrl()
 [all …]
 
 | 
| H 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()  argument27 	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()
 
 | 
| H A D | dvb-usb-init.c | 249 int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff)  in dvb_usb_device_power_ctrl()  argument251 	if (onoff)  in dvb_usb_device_power_ctrl()
 256 …if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 …  in dvb_usb_device_power_ctrl()
 257 		deb_info("power control: %d\n", onoff);  in dvb_usb_device_power_ctrl()
 259 			return d->props.power_ctrl(d, onoff);  in dvb_usb_device_power_ctrl()
 
 | 
| /linux/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)  in dib7000m_pid_filter()  argument
 76 						uint8_t onoff)  in dib7000m_pid_filter_ctrl()  argument
 86 extern void dib7000m_set_hostbus_diversity(struct dibDemod *demod, UCHAR onoff);
 
 | 
| H 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);
 
 | 
| H 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
 
 | 
| H 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);
 
 | 
| H 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);
 
 | 
| H A D | dib3000mb.c | 701 static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff)  in dib3000mb_pid_control()  argument704 	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()
 
 | 
| H A D | dib3000mc.h | 76 extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff);77 extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);
 
 | 
| H A D | af9033.h | 86 	int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff);88 			  int onoff);
 
 | 
| /linux/drivers/media/common/siano/ | 
| H A D | sms-cards.c | 279 int sms_board_power(struct smscore_device_t *coredev, int onoff)  in sms_board_power()  argument288 			     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/media/usb/dvb-usb-v2/ | 
| H A D | mxl111sf-phy.c | 84 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff)  in mxl1x1sf_top_master_ctrl()  argument86 	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()
 
 | 
| H A D | mxl111sf-phy.h | 15 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff);29 int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff);
 
 | 
| H A D | zd1301.c | 229 static int zd1301_streaming_ctrl(struct dvb_frontend *fe, int onoff)  in zd1301_streaming_ctrl()  argument234 	u8 buf[3] = {0x03, 0x00, onoff ? 0x07 : 0x08};  in zd1301_streaming_ctrl()
 236 	dev_dbg(&intf->dev, "onoff=%d\n", onoff);  in zd1301_streaming_ctrl()
 
 | 
| /linux/drivers/s390/cio/ | 
| H A D | ccwgroup.c | 63 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)  in ccwgroup_set_online()74 	atomic_set(&gdev->onoff, 0);  in ccwgroup_set_online()
 93 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)  in ccwgroup_set_offline()
 109 	atomic_set(&gdev->onoff, 0);  in ccwgroup_set_offline()
 177 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)  in ccwgroup_ungroup_store()
 190 		/* Release onoff "lock" when ungrouping failed. */  in ccwgroup_ungroup_store()
 191 		atomic_set(&gdev->onoff, 0);  in ccwgroup_ungroup_store()
 329 	atomic_set(&gdev->onoff, 0);  in ccwgroup_create_dev()
 
 | 
| /linux/tools/testing/selftests/rcutorture/configs/scf/ | 
| H A D | ver_functions.sh | 12 # Adds onoff scftorture module parameters to kernels having it.16 		echo CPU-hotplug kernel, adding scftorture onoff. 1>&2
 
 | 
| /linux/tools/testing/selftests/rcutorture/configs/lock/ | 
| H A D | ver_functions.sh | 12 # Adds onoff locktorture module parameters to kernels having it.16 		echo CPU-hotplug kernel, adding locktorture onoff. 1>&2
 
 | 
| /linux/drivers/media/pci/cx23885/ | 
| H A D | altera-ci.c | 515 		u16 pid, int onoff)  in altera_pid_control()  argument532 	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/arch/arm/mach-omap1/ | 
| H A D | board-sx1.h | 35 int sx1_setmmipower(u8 onoff);36 int sx1_setusbpower(u8 onoff);
 
 | 
| /linux/tools/testing/selftests/rcutorture/configs/rcu/ | 
| H A D | ver_functions.sh | 24 # Adds onoff rcutorture module parameters to kernels having it.28 		echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2
 
 | 
| /linux/tools/tracing/rtla/src/ | 
| H A D | osnoise.c | 775 static int osnoise_options_set_option(char *option, bool onoff)  in osnoise_options_set_option()  argument779 	if (onoff)  in osnoise_options_set_option()
 800 int osnoise_set_irq_disable(struct osnoise_context *context, bool onoff)  in osnoise_set_irq_disable()  argument
 808 	if (opt_irq_disable == onoff)  in osnoise_set_irq_disable()
 811 	retval = osnoise_options_set_option("OSNOISE_IRQ_DISABLE", onoff);  in osnoise_set_irq_disable()
 815 	context->opt_irq_disable = onoff;  in osnoise_set_irq_disable()
 861 int osnoise_set_workload(struct osnoise_context *context, bool onoff)  in osnoise_set_workload()  argument
 869 	if (opt_workload == onoff)  in osnoise_set_workload()
 872 	retval = osnoise_options_set_option("OSNOISE_WORKLOAD", onoff);  in osnoise_set_workload()
 876 	context->opt_workload = onoff;  in osnoise_set_workload()
 
 | 
| /linux/Documentation/devicetree/bindings/gnss/ | 
| H A D | sirfstar.yaml | 50   sirf,onoff-gpios:73             sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
 
 | 
| /linux/drivers/usb/serial/ | 
| H A D | whiteheat.c | 157 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff);158 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff);
 159 static int firm_set_break(struct usb_serial_port *port, __u8 onoff);
 690 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff)  in firm_set_rts()  argument
 695 	rts_command.state = onoff;  in firm_set_rts()
 701 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff)  in firm_set_dtr()  argument
 706 	dtr_command.state = onoff;  in firm_set_dtr()
 712 static int firm_set_break(struct usb_serial_port *port, __u8 onoff)  in firm_set_break()  argument
 717 	break_command.state = onoff;  in firm_set_break()
 
 |