onoff             127 arch/arm/mach-omap1/board-sx1.c int sx1_setmmipower(u8 onoff)
onoff             134 arch/arm/mach-omap1/board-sx1.c 	if (onoff)
onoff             142 arch/arm/mach-omap1/board-sx1.c int sx1_setusbpower(u8 onoff)
onoff             149 arch/arm/mach-omap1/board-sx1.c 	if (onoff)
onoff              42 arch/arm/mach-omap1/board-sx1.h int sx1_setmmipower(u8 onoff);
onoff              43 arch/arm/mach-omap1/board-sx1.h int sx1_setusbpower(u8 onoff);
onoff              23 arch/s390/include/asm/ccwgroup.h 	atomic_t onoff;
onoff            1071 drivers/atm/lanai.c 	static const char *onoff[2] = { "off to on", "on to off" };
onoff            1073 drivers/atm/lanai.c 	    itf, name, onoff[!status]);
onoff             381 drivers/char/pcmcia/synclink_cs.c static void dtr_rts(struct tty_port *port, int onoff);
onoff            2452 drivers/char/pcmcia/synclink_cs.c static void dtr_rts(struct tty_port *port, int onoff)
onoff            2458 drivers/char/pcmcia/synclink_cs.c 	if (onoff)
onoff            1056 drivers/gpu/drm/i915/display/intel_display.c 			  pipe_name(pipe), onoff(state));
onoff            1099 drivers/gpu/drm/i915/display/intel_display.c 			onoff(state), onoff(cur_state));
onoff            1115 drivers/gpu/drm/i915/display/intel_display.c 			onoff(state), onoff(cur_state));
onoff            1135 drivers/gpu/drm/i915/display/intel_display.c 			onoff(state), onoff(cur_state));
onoff            1150 drivers/gpu/drm/i915/display/intel_display.c 			onoff(state), onoff(cur_state));
onoff            1182 drivers/gpu/drm/i915/display/intel_display.c 			onoff(state), onoff(cur_state));
onoff            1268 drivers/gpu/drm/i915/display/intel_display.c 			pipe_name(pipe), onoff(state), onoff(cur_state));
onoff            1280 drivers/gpu/drm/i915/display/intel_display.c 			plane->base.name, onoff(state), onoff(cur_state));
onoff            17313 drivers/gpu/drm/i915/display/intel_display.c 			   onoff(error->pipe[i].power_domain_on));
onoff            17344 drivers/gpu/drm/i915/display/intel_display.c 			   onoff(error->transcoder[i].power_domain_on));
onoff            2931 drivers/gpu/drm/i915/display/intel_dp.c 			onoff(state), onoff(cur_state));
onoff            2941 drivers/gpu/drm/i915/display/intel_dp.c 			onoff(state), onoff(cur_state));
onoff             121 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	if (WARN(!pll, "asserting DPLL %s with no DPLL\n", onoff(state)))
onoff             127 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 			pll->info->name, onoff(state), onoff(cur_state));
onoff            2507 drivers/gpu/drm/i915/i915_drv.c 				 onoff(wait_for_on));
onoff             167 drivers/gpu/drm/i915/i915_trace.h 		      onoff(__entry->old), onoff(__entry->new),
onoff            6986 drivers/gpu/drm/i915/intel_pm.c 			 onoff(rc_ctl & GEN6_RC_CTL_HW_ENABLE),
onoff            6987 drivers/gpu/drm/i915/intel_pm.c 			 onoff(rc_ctl & GEN6_RC_CTL_RC6_ENABLE),
onoff            3126 drivers/gpu/drm/omapdrm/dss/dispc.c 	bool onoff, rf, ipc, vs, hs, de;
onoff            3159 drivers/gpu/drm/omapdrm/dss/dispc.c 	onoff = true;
onoff            3166 drivers/gpu/drm/omapdrm/dss/dispc.c 	l = FLD_VAL(onoff, 17, 17) |
onoff            3189 drivers/gpu/drm/omapdrm/dss/dispc.c 		val = (rf << 0) | (ipc << 3) | (onoff << 6);
onoff            1960 drivers/hid/hid-wiimote-modules.c 						__u8 pressure, __u8 onoff,
onoff            1969 drivers/hid/hid-wiimote-modules.c 	} else if (onoff != !!*store) {
onoff            1970 drivers/hid/hid-wiimote-modules.c 		*store = onoff ? default_pressure : 0;
onoff             332 drivers/macintosh/mediabay.c static inline void set_mb_power(struct media_bay_info* bay, int onoff)
onoff             335 drivers/macintosh/mediabay.c 	if (onoff) {
onoff             127 drivers/media/common/b2c2/flexcop-common.h 		flexcop_dma_index_t no, int onoff);
onoff             129 drivers/media/common/b2c2/flexcop-common.h 		flexcop_dma_index_t no, int onoff);
onoff             134 drivers/media/common/b2c2/flexcop-common.h 		int onoff);
onoff             178 drivers/media/common/b2c2/flexcop-common.h 		struct dvb_demux_feed *dvbdmxfeed, int onoff);
onoff             181 drivers/media/common/b2c2/flexcop-common.h void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff);
onoff             184 drivers/media/common/b2c2/flexcop-common.h void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff);
onoff               9 drivers/media/common/b2c2/flexcop-hw-filter.c static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff)
onoff              11 drivers/media/common/b2c2/flexcop-hw-filter.c 	flexcop_set_ibi_value(ctrl_208, Rcv_Data_sig, onoff);
onoff              12 drivers/media/common/b2c2/flexcop-hw-filter.c 	deb_ts("rcv_data is now: '%s'\n", onoff ? "on" : "off");
onoff              15 drivers/media/common/b2c2/flexcop-hw-filter.c void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff)
onoff              17 drivers/media/common/b2c2/flexcop-hw-filter.c 	flexcop_set_ibi_value(ctrl_208, SMC_Enable_sig, onoff);
onoff              20 drivers/media/common/b2c2/flexcop-hw-filter.c static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff)
onoff              22 drivers/media/common/b2c2/flexcop-hw-filter.c 	flexcop_set_ibi_value(ctrl_208, Null_filter_sig, onoff);
onoff              41 drivers/media/common/b2c2/flexcop-hw-filter.c void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff)
onoff              43 drivers/media/common/b2c2/flexcop-hw-filter.c 	flexcop_set_ibi_value(ctrl_208, MAC_filter_Mode_sig, onoff);
onoff              56 drivers/media/common/b2c2/flexcop-hw-filter.c static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff)
onoff              58 drivers/media/common/b2c2/flexcop-hw-filter.c 	flexcop_set_ibi_value(ctrl_208, Mask_filter_sig, onoff);
onoff              68 drivers/media/common/b2c2/flexcop-hw-filter.c vpid.vregname.field = onoff ? pid : 0x1fff; \
onoff              70 drivers/media/common/b2c2/flexcop-hw-filter.c v208.ctrl_208.enablefield = onoff; \
onoff              75 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff              82 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff              89 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff              95 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff             101 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff             107 drivers/media/common/b2c2/flexcop-hw-filter.c 		u16 pid, int onoff)
onoff             113 drivers/media/common/b2c2/flexcop-hw-filter.c 		int index, u16 pid, int onoff)
onoff             119 drivers/media/common/b2c2/flexcop-hw-filter.c 			pid, pid, index, onoff ? "on" : "off");
onoff             129 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_Stream1_PID_ctrl(fc, pid, onoff);
onoff             132 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_Stream2_PID_ctrl(fc, pid, onoff);
onoff             135 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_PCR_PID_ctrl(fc, pid, onoff);
onoff             138 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_PMT_PID_ctrl(fc, pid, onoff);
onoff             141 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_EMM_PID_ctrl(fc, pid, onoff);
onoff             144 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_ECM_PID_ctrl(fc, pid, onoff);
onoff             156 drivers/media/common/b2c2/flexcop-hw-filter.c 			vpid.pid_n_reg_314.PID = onoff ? pid : 0x1fff;
onoff             157 drivers/media/common/b2c2/flexcop-hw-filter.c 			vpid.pid_n_reg_314.PID_enable_bit = onoff;
onoff             164 drivers/media/common/b2c2/flexcop-hw-filter.c static int flexcop_toggle_fullts_streaming(struct flexcop_device *fc, int onoff)
onoff             166 drivers/media/common/b2c2/flexcop-hw-filter.c 	if (fc->fullts_streaming_state != onoff) {
onoff             167 drivers/media/common/b2c2/flexcop-hw-filter.c 		deb_ts("%s full TS transfer\n",onoff ? "enabling" : "disabling");
onoff             168 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_group_filter(fc, 0, 0x1fe0 * (!onoff));
onoff             169 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_pid_group_filter_ctrl(fc, onoff);
onoff             170 drivers/media/common/b2c2/flexcop-hw-filter.c 		fc->fullts_streaming_state = onoff;
onoff             176 drivers/media/common/b2c2/flexcop-hw-filter.c 		struct dvb_demux_feed *dvbdmxfeed, int onoff)
onoff             183 drivers/media/common/b2c2/flexcop-hw-filter.c 	fc->feedcount += onoff ? 1 : -1; /* the number of PIDs/Feed currently requested */
onoff             185 drivers/media/common/b2c2/flexcop-hw-filter.c 		fc->extra_feedcount += onoff ? 1 : -1;
onoff             193 drivers/media/common/b2c2/flexcop-hw-filter.c 	if (!fc->pid_filtering && fc->feedcount == onoff)
onoff             194 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_toggle_fullts_streaming(fc, onoff);
onoff             198 drivers/media/common/b2c2/flexcop-hw-filter.c 			(fc, dvbdmxfeed->index, dvbdmxfeed->pid, onoff);
onoff             203 drivers/media/common/b2c2/flexcop-hw-filter.c 			flexcop_toggle_fullts_streaming(fc, onoff);
onoff             209 drivers/media/common/b2c2/flexcop-hw-filter.c 	if (fc->feedcount == onoff) {
onoff             210 drivers/media/common/b2c2/flexcop-hw-filter.c 		flexcop_rcv_data_ctrl(fc, onoff);
onoff             212 drivers/media/common/b2c2/flexcop-hw-filter.c 			fc->stream_control(fc, onoff);
onoff             215 drivers/media/common/b2c2/flexcop-hw-filter.c 		if (onoff == 0) {
onoff             279 drivers/media/common/siano/sms-cards.c int sms_board_power(struct smscore_device_t *coredev, int onoff)
onoff             288 drivers/media/common/siano/sms-cards.c 			     board->led_power, onoff ? 1 : 0);
onoff             293 drivers/media/common/siano/sms-cards.c 		if (!onoff)
onoff             324 drivers/media/common/siano/sms-cards.c int sms_board_lna_control(struct smscore_device_t *coredev, int onoff)
onoff             329 drivers/media/common/siano/sms-cards.c 	pr_debug("%s: LNA %s\n", __func__, onoff ? "enabled" : "disabled");
onoff             335 drivers/media/common/siano/sms-cards.c 			     board->rf_switch, onoff ? 1 : 0);
onoff             337 drivers/media/common/siano/sms-cards.c 				    board->lna_ctrl, onoff ? 1 : 0);
onoff             122 drivers/media/common/siano/sms-cards.h int sms_board_power(struct smscore_device_t *coredev, int onoff);
onoff             123 drivers/media/common/siano/sms-cards.h int sms_board_lna_control(struct smscore_device_t *coredev, int onoff);
onoff            1163 drivers/media/dvb-frontends/af9013.c static int af9013_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
onoff            1169 drivers/media/dvb-frontends/af9013.c 	dev_dbg(&client->dev, "onoff %d\n", onoff);
onoff            1171 drivers/media/dvb-frontends/af9013.c 	ret = regmap_update_bits(state->regmap, 0xd503, 0x01, onoff);
onoff            1182 drivers/media/dvb-frontends/af9013.c 			     int onoff)
onoff            1190 drivers/media/dvb-frontends/af9013.c 		index, pid, onoff);
onoff            1203 drivers/media/dvb-frontends/af9013.c 	ret = regmap_write(state->regmap, 0xd504, onoff << 5 | index << 0);
onoff             962 drivers/media/dvb-frontends/af9033.c static int af9033_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
onoff             968 drivers/media/dvb-frontends/af9033.c 	dev_dbg(&client->dev, "onoff=%d\n", onoff);
onoff             970 drivers/media/dvb-frontends/af9033.c 	ret = regmap_update_bits(dev->regmap, 0x80f993, 0x01, onoff);
onoff             981 drivers/media/dvb-frontends/af9033.c 			     int onoff)
onoff             989 drivers/media/dvb-frontends/af9033.c 		index, pid, onoff);
onoff             997 drivers/media/dvb-frontends/af9033.c 	ret = regmap_write(dev->regmap, 0x80f994, onoff);
onoff              86 drivers/media/dvb-frontends/af9033.h 	int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff);
onoff              88 drivers/media/dvb-frontends/af9033.h 			  int onoff);
onoff             129 drivers/media/dvb-frontends/au8522_common.c static int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
onoff             141 drivers/media/dvb-frontends/au8522_common.c 	if (onoff) {
onoff            1020 drivers/media/dvb-frontends/dib0090.c static void dib0090_set_boost(struct dib0090_state *state, int onoff)
onoff            1023 drivers/media/dvb-frontends/dib0090.c 	state->bb_1_def |= onoff << 13;
onoff            1385 drivers/media/dvb-frontends/dib0090.c int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff)
onoff            1390 drivers/media/dvb-frontends/dib0090.c 			| ((onoff & 1) << 15));
onoff              88 drivers/media/dvb-frontends/dib0090.h extern int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff);
onoff             163 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff)
onoff              34 drivers/media/dvb-frontends/dib3000.h 	int (*pid_parse)(struct dvb_frontend *fe, int onoff);
onoff              35 drivers/media/dvb-frontends/dib3000.h 	int (*fifo_ctrl)(struct dvb_frontend *fe, int onoff);
onoff              36 drivers/media/dvb-frontends/dib3000.h 	int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff);
onoff              37 drivers/media/dvb-frontends/dib3000.h 	int (*tuner_pass_ctrl)(struct dvb_frontend *fe, int onoff, u8 pll_ctrl);
onoff             701 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff)
onoff             704 drivers/media/dvb-frontends/dib3000mb.c 	pid = (onoff ? pid | DIB3000_ACTIVATE_PID_FILTERING : 0);
onoff             709 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff)
onoff             713 drivers/media/dvb-frontends/dib3000mb.c 	deb_xfer("%s fifo\n",onoff ? "enabling" : "disabling");
onoff             714 drivers/media/dvb-frontends/dib3000mb.c 	if (onoff) {
onoff             722 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff)
onoff             725 drivers/media/dvb-frontends/dib3000mb.c 	deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling");
onoff             726 drivers/media/dvb-frontends/dib3000mb.c 	wr(DIB3000MB_REG_PID_PARSE,onoff);
onoff             730 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr)
onoff             733 drivers/media/dvb-frontends/dib3000mb.c 	if (onoff) {
onoff             832 drivers/media/dvb-frontends/dib3000mc.c int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff)
onoff             835 drivers/media/dvb-frontends/dib3000mc.c 	dib3000mc_write_word(state, 212 + index,  onoff ? (1 << 13) | pid : 0);
onoff             840 drivers/media/dvb-frontends/dib3000mc.c int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff)
onoff             844 drivers/media/dvb-frontends/dib3000mc.c 	tmp |= (onoff << 4);
onoff              76 drivers/media/dvb-frontends/dib3000mc.h extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff);
onoff              77 drivers/media/dvb-frontends/dib3000mc.h extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);
onoff             342 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_set_diversity_in(struct dvb_frontend *demod, int onoff)
onoff             348 drivers/media/dvb-frontends/dib7000m.c 		onoff = 0;
onoff             350 drivers/media/dvb-frontends/dib7000m.c 	state->div_state = (u8)onoff;
onoff             352 drivers/media/dvb-frontends/dib7000m.c 	if (onoff) {
onoff            1332 drivers/media/dvb-frontends/dib7000m.c int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
onoff            1336 drivers/media/dvb-frontends/dib7000m.c 	val |= (onoff & 0x1) << 4;
onoff            1337 drivers/media/dvb-frontends/dib7000m.c 	dprintk("PID filter enabled %d\n", onoff);
onoff            1342 drivers/media/dvb-frontends/dib7000m.c int dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
onoff            1345 drivers/media/dvb-frontends/dib7000m.c 	dprintk("PID filter: index %x, PID %d, OnOff %d\n", id, pid, onoff);
onoff            1347 drivers/media/dvb-frontends/dib7000m.c 			onoff ? (1 << 13) | pid : 0);
onoff              49 drivers/media/dvb-frontends/dib7000m.h extern int dib7000m_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff);
onoff              50 drivers/media/dvb-frontends/dib7000m.h extern int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff);
onoff              69 drivers/media/dvb-frontends/dib7000m.h 						u16 pid, u8 onoff)
onoff              76 drivers/media/dvb-frontends/dib7000m.h 						uint8_t onoff)
onoff              96 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff);
onoff             226 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_diversity_in(struct dvb_frontend *demod, int onoff)
onoff             232 drivers/media/dvb-frontends/dib7000p.c 		onoff = 0;
onoff             237 drivers/media/dvb-frontends/dib7000p.c 	state->div_state = (u8) onoff;
onoff             239 drivers/media/dvb-frontends/dib7000p.c 	if (onoff) {
onoff            2067 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
onoff            2071 drivers/media/dvb-frontends/dib7000p.c 	val |= (onoff & 0x1) << 4;
onoff            2072 drivers/media/dvb-frontends/dib7000p.c 	dprintk("PID filter enabled %d\n", onoff);
onoff            2076 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
onoff            2079 drivers/media/dvb-frontends/dib7000p.c 	dprintk("PID filter: index %x, PID %d, OnOff %d\n", id, pid, onoff);
onoff            2080 drivers/media/dvb-frontends/dib7000p.c 	return dib7000p_write_word(state, 241 + id, onoff ? (1 << 13) | pid : 0);
onoff            2495 drivers/media/dvb-frontends/dib7000p.c static void dib7090_enMpegMux(struct dib7000p_state *state, int onoff)
onoff            2499 drivers/media/dvb-frontends/dib7000p.c 	switch (onoff) {
onoff            2580 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff)
onoff            2585 drivers/media/dvb-frontends/dib7000p.c 	switch (onoff) {
onoff            2609 drivers/media/dvb-frontends/dib7000p.c 	dib7000p_set_diversity_in(&state->demod, onoff);
onoff            2695 drivers/media/dvb-frontends/dib7000p.c static int dib7090_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff            2700 drivers/media/dvb-frontends/dib7000p.c 	dprintk("sleep dib7090: %d\n", onoff);
onoff            2707 drivers/media/dvb-frontends/dib7000p.c 	if (onoff)
onoff              58 drivers/media/dvb-frontends/dib7000p.h 	int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff);
onoff              59 drivers/media/dvb-frontends/dib7000p.h 	int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
onoff              62 drivers/media/dvb-frontends/dib7000p.h 	int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
onoff             466 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_diversity_in(struct dvb_frontend *fe, int onoff)
onoff             471 drivers/media/dvb-frontends/dib8000.c 	dprintk("set diversity input to %i\n", onoff);
onoff             479 drivers/media/dvb-frontends/dib8000.c 	state->diversity_onoff = onoff;
onoff             481 drivers/media/dvb-frontends/dib8000.c 	switch (onoff) {
onoff            1440 drivers/media/dvb-frontends/dib8000.c static void dib8096p_enMpegMux(struct dib8000_state *state, int onoff)
onoff            1446 drivers/media/dvb-frontends/dib8000.c 	switch (onoff) {
onoff            1526 drivers/media/dvb-frontends/dib8000.c static int dib8096p_set_diversity_in(struct dvb_frontend *fe, int onoff)
onoff            1531 drivers/media/dvb-frontends/dib8000.c 	switch (onoff) {
onoff            1557 drivers/media/dvb-frontends/dib8000.c 	dib8000_set_diversity_in(state->fe[0], onoff);
onoff            1891 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff            1896 drivers/media/dvb-frontends/dib8000.c 	dprintk("sleep dib8096p: %d\n", onoff);
onoff            1904 drivers/media/dvb-frontends/dib8000.c 	if (onoff)
onoff            2663 drivers/media/dvb-frontends/dib8000.c static void dib8000_viterbi_state(struct dib8000_state *state, u8 onoff)
onoff            2668 drivers/media/dvb-frontends/dib8000.c 	if (onoff) /* start P_restart_chd : channel_decoder */
onoff            4369 drivers/media/dvb-frontends/dib8000.c static int dib8000_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
onoff            4373 drivers/media/dvb-frontends/dib8000.c 	val |= (onoff & 0x1) << 4;
onoff            4375 drivers/media/dvb-frontends/dib8000.c 	dprintk("pid filter enabled %d\n", onoff);
onoff            4379 drivers/media/dvb-frontends/dib8000.c static int dib8000_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
onoff            4382 drivers/media/dvb-frontends/dib8000.c 	dprintk("Index %x, PID %d, OnOff %d\n", id, pid, onoff);
onoff            4383 drivers/media/dvb-frontends/dib8000.c 	return dib8000_write_word(st, 305 + id, onoff ? (1 << 13) | pid : 0);
onoff              50 drivers/media/dvb-frontends/dib8000.h 	int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
onoff              61 drivers/media/dvb-frontends/dib8000.h 	int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff);
onoff              62 drivers/media/dvb-frontends/dib8000.h 	int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
onoff              45 drivers/media/dvb-frontends/dib9000.c 	u8 onoff;
onoff            1529 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_set_diversity_in(struct dvb_frontend *fe, int onoff)
onoff            1532 drivers/media/dvb-frontends/dib9000.c 	u16 mode = (u16) onoff;
onoff            1778 drivers/media/dvb-frontends/dib9000.c int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
onoff            1789 drivers/media/dvb-frontends/dib9000.c 		state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
onoff            1799 drivers/media/dvb-frontends/dib9000.c 	val |= (onoff & 0x1) << 4;
onoff            1801 drivers/media/dvb-frontends/dib9000.c 	dprintk("PID filter enabled %d\n", onoff);
onoff            1809 drivers/media/dvb-frontends/dib9000.c int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
onoff            1822 drivers/media/dvb-frontends/dib9000.c 			state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
onoff            1832 drivers/media/dvb-frontends/dib9000.c 	dprintk("Index %x, PID %d, OnOff %d\n", id, pid, onoff);
onoff            1834 drivers/media/dvb-frontends/dib9000.c 			onoff ? (1 << 13) | pid : 0);
onoff            2148 drivers/media/dvb-frontends/dib9000.c 						state->pid_ctrl[index_pid_filter_cmd].onoff);
onoff            2153 drivers/media/dvb-frontends/dib9000.c 						state->pid_ctrl[index_pid_filter_cmd].onoff);
onoff              37 drivers/media/dvb-frontends/dib9000.h extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff);
onoff              38 drivers/media/dvb-frontends/dib9000.h extern int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
onoff              76 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
onoff              82 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
onoff             264 drivers/media/dvb-frontends/dibx000_common.c 				 u8 addr, int onoff)
onoff             269 drivers/media/dvb-frontends/dibx000_common.c 	if (onoff)
onoff            2808 drivers/media/dvb-frontends/drxd_hard.c static int drxd_config_i2c(struct dvb_frontend *fe, int onoff)
onoff            2815 drivers/media/dvb-frontends/drxd_hard.c 	return DRX_ConfigureI2CBridge(state, onoff);
onoff             294 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_enable_high_lnb_voltage(struct dvb_frontend* fe, long onoff)
onoff             298 drivers/media/dvb-frontends/gp8psk-fe.c 	return st->ops->out(st->priv, USE_EXTRA_VOLT, onoff, 0, NULL, 0);
onoff             124 drivers/media/dvb-frontends/lg2160.c 			      u16 reg, int bit, int onoff)
onoff             129 drivers/media/dvb-frontends/lg2160.c 	lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
onoff             136 drivers/media/dvb-frontends/lg2160.c 	val |= (onoff & 1) << bit;
onoff             360 drivers/media/dvb-frontends/lg2160.c static int lg2160_tuner_pwr_save(struct lg216x_state *state, int onoff)
onoff             370 drivers/media/dvb-frontends/lg2160.c 	val |= (onoff) ? 0x40 : 0x00;
onoff             456 drivers/media/dvb-frontends/lg2160.c static int lg216x_enable_fic(struct lg216x_state *state, int onoff)
onoff             471 drivers/media/dvb-frontends/lg2160.c 				       0xfc | ((onoff) ? 0x02 : 0x00));
onoff             474 drivers/media/dvb-frontends/lg2160.c 		ret = lg216x_write_reg(state, 0x0016, (onoff) ? 0x10 : 0x00);
onoff             484 drivers/media/dvb-frontends/lg2160.c 	if (onoff) {
onoff             161 drivers/media/dvb-frontends/lgdt3305.c 				u16 reg, int bit, int onoff)
onoff             166 drivers/media/dvb-frontends/lgdt3305.c 	lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
onoff             173 drivers/media/dvb-frontends/lgdt3305.c 	val |= (onoff & 1) << bit;
onoff             183 drivers/media/dvb-frontends/lgdt3306a.c 				u16 reg, int bit, int onoff)
onoff             188 drivers/media/dvb-frontends/lgdt3306a.c 	dbg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
onoff             195 drivers/media/dvb-frontends/lgdt3306a.c 	val |= (onoff & 1) << bit;
onoff             577 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
onoff             583 drivers/media/dvb-frontends/rtl2830.c 	dev_dbg(&client->dev, "onoff=%d\n", onoff);
onoff             586 drivers/media/dvb-frontends/rtl2830.c 	if (onoff)
onoff             601 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff)
onoff             609 drivers/media/dvb-frontends/rtl2830.c 		index, pid, onoff);
onoff             615 drivers/media/dvb-frontends/rtl2830.c 	if (onoff)
onoff             945 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
onoff             952 drivers/media/dvb-frontends/rtl2832.c 	dev_dbg(&client->dev, "onoff=%d, slave_ts=%d\n", onoff, dev->slave_ts);
onoff             955 drivers/media/dvb-frontends/rtl2832.c 	if (onoff)
onoff             974 drivers/media/dvb-frontends/rtl2832.c 			      int onoff)
onoff             982 drivers/media/dvb-frontends/rtl2832.c 		index, pid, onoff, dev->slave_ts);
onoff             988 drivers/media/dvb-frontends/rtl2832.c 	if (onoff)
onoff              75 drivers/media/pci/b2c2/flexcop-dma.c 		int onoff)
onoff              99 drivers/media/pci/b2c2/flexcop-dma.c 		v0x0.dma_0x0.dma_0start = onoff;
onoff             102 drivers/media/pci/b2c2/flexcop-dma.c 		v0xc.dma_0xc.dma_1start = onoff;
onoff             115 drivers/media/pci/b2c2/flexcop-dma.c 		int onoff)
onoff             121 drivers/media/pci/b2c2/flexcop-dma.c 	v.dma_0xc.remap_enable = onoff;
onoff             128 drivers/media/pci/b2c2/flexcop-dma.c 		int onoff)
onoff             133 drivers/media/pci/b2c2/flexcop-dma.c 		v.ctrl_208.DMA1_IRQ_Enable_sig = onoff;
onoff             136 drivers/media/pci/b2c2/flexcop-dma.c 		v.ctrl_208.DMA2_IRQ_Enable_sig = onoff;
onoff             145 drivers/media/pci/b2c2/flexcop-dma.c 		int onoff)
onoff             150 drivers/media/pci/b2c2/flexcop-dma.c 		v.ctrl_208.DMA1_Timer_Enable_sig = onoff;
onoff             153 drivers/media/pci/b2c2/flexcop-dma.c 		v.ctrl_208.DMA2_Timer_Enable_sig = onoff;
onoff             232 drivers/media/pci/b2c2/flexcop-pci.c static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff)
onoff             235 drivers/media/pci/b2c2/flexcop-pci.c 	if (onoff) {
onoff             515 drivers/media/pci/cx23885/altera-ci.c 		u16 pid, int onoff)
onoff             532 drivers/media/pci/cx23885/altera-ci.c 	if (onoff)/* 0 - on, 1 - off */
onoff             542 drivers/media/pci/cx23885/altera-ci.c 		pid_filt->nr, pid, pid, onoff ? "off" : "on");
onoff             546 drivers/media/pci/cx23885/altera-ci.c 					int filt_nr, int onoff)
onoff             553 drivers/media/pci/cx23885/altera-ci.c 			onoff ? "off" : "on");
onoff             555 drivers/media/pci/cx23885/altera-ci.c 	if (onoff)/* 0 - on, 1 - off */
onoff             576 drivers/media/pci/cx23885/altera-ci.c 		struct dvb_demux_feed *feed, int onoff)
onoff             582 drivers/media/pci/cx23885/altera-ci.c 	altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1);
onoff             584 drivers/media/pci/cx23885/altera-ci.c 	if (onoff)
onoff             591 drivers/media/pci/cx23885/altera-ci.c 						onoff ? 0 : 1);
onoff              77 drivers/media/pci/cx23885/altera-ci.h 		struct dvb_demux_feed *dvbdmxfeed, int onoff)
onoff             978 drivers/media/pci/cx23885/cx23885-dvb.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
onoff             982 drivers/media/pci/cx23885/cx23885-dvb.c 	return dib7000p_ops->set_gpio(fe, 8, 0, !onoff);
onoff             985 drivers/media/pci/cx23885/cx23885-dvb.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff              95 drivers/media/usb/as102/as102_drv.c 			    int index, u16 pid, int onoff) {
onoff             106 drivers/media/usb/as102/as102_drv.c 	switch (onoff) {
onoff             406 drivers/media/usb/b2c2/flexcop-usb.c static int flexcop_usb_stream_control(struct flexcop_device *fc, int onoff)
onoff             551 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             561 drivers/media/usb/dvb-usb-v2/af9015.c 	dev_dbg(&intf->dev, "adap id %d, onoff %d\n", adap_id, onoff);
onoff             606 drivers/media/usb/dvb-usb-v2/af9015.c 	if (adap_id == 0 && onoff) {
onoff             617 drivers/media/usb/dvb-usb-v2/af9015.c 	} else if (adap_id == 1 && onoff) {
onoff             628 drivers/media/usb/dvb-usb-v2/af9015.c 	} else if (adap_id == 0 && !onoff) {
onoff             639 drivers/media/usb/dvb-usb-v2/af9015.c 	} else if (adap_id == 1 && !onoff) {
onoff            1074 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff            1081 drivers/media/usb/dvb-usb-v2/af9015.c 	ret = pdata->pid_filter_ctrl(adap->fe[0], onoff);
onoff            1088 drivers/media/usb/dvb-usb-v2/af9015.c 			     u16 pid, int onoff)
onoff            1095 drivers/media/usb/dvb-usb-v2/af9015.c 	ret = pdata->pid_filter(adap->fe[0], index, pid, onoff);
onoff            1913 drivers/media/usb/dvb-usb-v2/af9035.c static int af9035_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff            1917 drivers/media/usb/dvb-usb-v2/af9035.c 	return state->ops.pid_filter_ctrl(adap->fe[0], onoff);
onoff            1921 drivers/media/usb/dvb-usb-v2/af9035.c 		int onoff)
onoff            1925 drivers/media/usb/dvb-usb-v2/af9035.c 	return state->ops.pid_filter(adap->fe[0], index, pid, onoff);
onoff             170 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             172 drivers/media/usb/dvb-usb-v2/anysee.c 	u8 buf[] = {CMD_STREAMING_CTRL, (u8)onoff, 0x00};
onoff             173 drivers/media/usb/dvb-usb-v2/anysee.c 	dev_dbg(&fe_to_d(fe)->udev->dev, "%s: onoff=%d\n", __func__, onoff);
onoff             185 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ir_ctrl(struct dvb_usb_device *d, u8 onoff)
onoff             187 drivers/media/usb/dvb-usb-v2/anysee.c 	u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x02, onoff};
onoff             188 drivers/media/usb/dvb-usb-v2/anysee.c 	dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
onoff             525 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_frontend_ctrl(struct dvb_frontend *fe, int onoff)
onoff             530 drivers/media/usb/dvb-usb-v2/anysee.c 	dev_dbg(&d->udev->dev, "%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
onoff             533 drivers/media/usb/dvb-usb-v2/anysee.c 	if (onoff == 0)
onoff             188 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             192 drivers/media/usb/dvb-usb-v2/az6007.c 	pr_debug("%s: %s\n", __func__, onoff ? "enable" : "disable");
onoff             194 drivers/media/usb/dvb-usb-v2/az6007.c 	return az6007_write(d, 0xbc, onoff, 0, NULL, 0);
onoff             688 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             732 drivers/media/usb/dvb-usb-v2/az6007.c 	if (!onoff)
onoff             208 drivers/media/usb/dvb-usb-v2/ce6230.c static int ce6230_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             212 drivers/media/usb/dvb-usb-v2/ce6230.c 	dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
onoff             216 drivers/media/usb/dvb-usb-v2/ce6230.c 	ret = usb_set_interface(d->udev, 1, onoff);
onoff             527 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c static int dvb_usbv2_device_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             531 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 	if (onoff)
onoff             536 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 	if (d->powered == 0 || (onoff && d->powered == 1)) {
onoff             538 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 		dev_dbg(&d->udev->dev, "%s: power=%d\n", __func__, onoff);
onoff             540 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 			ret = d->props->power_ctrl(d, onoff);
onoff              60 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_stream_ctrl(struct dvb_usb_device *d, u8 onoff)
onoff              69 drivers/media/usb/dvb-usb-v2/dvbsky.c 	if (!ret && onoff) {
onoff              77 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff              81 drivers/media/usb/dvb-usb-v2/dvbsky.c 	return dvbsky_stream_ctrl(d, (onoff == 0) ? 0 : 1);
onoff             298 drivers/media/usb/dvb-usb-v2/ec168.c static int ec168_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             302 drivers/media/usb/dvb-usb-v2/ec168.c 	dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
onoff             304 drivers/media/usb/dvb-usb-v2/ec168.c 	if (onoff)
onoff             480 drivers/media/usb/dvb-usb-v2/gl861.c static int friio_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             482 drivers/media/usb/dvb-usb-v2/gl861.c 	return onoff ? friio_reset(d) : 0;
onoff             595 drivers/media/usb/dvb-usb-v2/gl861.c static int friio_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             599 drivers/media/usb/dvb-usb-v2/gl861.c 	led_color = onoff ? FRIIO_LED_RUNNING : FRIIO_LED_STOPPED;
onoff             402 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             414 drivers/media/usb/dvb-usb-v2/lmedm04.c 	if (!onoff) {
onoff             429 drivers/media/usb/dvb-usb-v2/lmedm04.c 	int onoff)
onoff             435 drivers/media/usb/dvb-usb-v2/lmedm04.c 		pid, index, onoff);
onoff             437 drivers/media/usb/dvb-usb-v2/lmedm04.c 	if (onoff) {
onoff             556 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             565 drivers/media/usb/dvb-usb-v2/lmedm04.c 	deb_info(1, "STM  (%02x)", onoff);
onoff             568 drivers/media/usb/dvb-usb-v2/lmedm04.c 	if (onoff == 1)
onoff            1122 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_powerup(struct dvb_usb_device *d, int onoff)
onoff            1132 drivers/media/usb/dvb-usb-v2/lmedm04.c 	ret = lme2510_usb_talk(d, onoff ? lnb_on : lnb_off, len, rbuf, rlen);
onoff              84 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff)
onoff              86 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c 	mxl_debug("(%d)", onoff);
onoff              88 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c 	return mxl111sf_write_reg(state, 0x01, onoff ? 0x01 : 0x00);
onoff             261 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff)
onoff             266 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c 	mxl_debug("(%d)", onoff);
onoff             276 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c 	if (onoff)
onoff              15 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.h int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff);
onoff              29 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.h int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff);
onoff              59 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 					  int onoff)
onoff              62 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 		state->cfg->top_master_ctrl(state->mxl_state, onoff) :
onoff             253 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 					 int onoff)
onoff             256 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c 					onoff ? 1 : 0);
onoff              43 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h 	int (*top_master_ctrl)(struct mxl111sf_state *state, int onoff);
onoff             257 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             346 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep6_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             352 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s(%d)\n", __func__, onoff);
onoff             354 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	if (onoff) {
onoff             371 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep5_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             376 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s(%d)\n", __func__, onoff);
onoff             378 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	if (onoff) {
onoff             391 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		ret = mxl111sf_config_spi(state, onoff);
onoff             397 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep4_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             402 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s(%d)\n", __func__, onoff);
onoff             404 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	if (onoff) {
onoff            1214 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_atsc_mh(struct dvb_frontend *fe, int onoff)
onoff            1216 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
onoff            1219 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep6_streaming_ctrl(fe, onoff);
onoff            1221 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep4_streaming_ctrl(fe, onoff);
onoff            1223 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep5_streaming_ctrl(fe, onoff);
onoff            1290 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_mercury(struct dvb_frontend *fe, int onoff)
onoff            1292 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
onoff            1295 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep6_streaming_ctrl(fe, onoff);
onoff            1297 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep4_streaming_ctrl(fe, onoff);
onoff            1299 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep5_streaming_ctrl(fe, onoff);
onoff            1301 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep6_streaming_ctrl(fe, onoff);
onoff            1362 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_mercury_mh(struct dvb_frontend *fe, int onoff)
onoff            1364 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
onoff            1367 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep4_streaming_ctrl(fe, onoff);
onoff            1369 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep5_streaming_ctrl(fe, onoff);
onoff            1371 drivers/media/usb/dvb-usb-v2/mxl111sf.c 		return mxl111sf_ep6_streaming_ctrl(fe, onoff);
onoff            1451 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl2831u_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff            1456 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev_dbg(&d->intf->dev, "onoff=%d\n", onoff);
onoff            1470 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (onoff) {
onoff            1504 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (onoff)
onoff            1513 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl2832u_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff            1517 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev_dbg(&d->intf->dev, "onoff=%d\n", onoff);
onoff            1519 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (onoff) {
onoff            1571 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl28xxu_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff            1576 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return rtl2831u_power_ctrl(d, onoff);
onoff            1578 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return rtl2832u_power_ctrl(d, onoff);
onoff            1581 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl28xxu_frontend_ctrl(struct dvb_frontend *fe, int onoff)
onoff            1589 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	dev_dbg(&d->intf->dev, "fe=%d onoff=%d\n", fe->id, onoff);
onoff            1596 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		if (onoff)
onoff            1606 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		ret = pdata->slave_ts_ctrl(dev->i2c_client_demod, onoff);
onoff            1825 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff            1832 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return pdata->pid_filter_ctrl(adap->fe[0], onoff);
onoff            1836 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return pdata->pid_filter_ctrl(adap->fe[0], onoff);
onoff            1841 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			       u16 pid, int onoff)
onoff            1848 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return pdata->pid_filter(adap->fe[0], index, pid, onoff);
onoff            1852 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		return pdata->pid_filter(adap->fe[0], index, pid, onoff);
onoff             229 drivers/media/usb/dvb-usb-v2/zd1301.c static int zd1301_streaming_ctrl(struct dvb_frontend *fe, int onoff)
onoff             234 drivers/media/usb/dvb-usb-v2/zd1301.c 	u8 buf[3] = {0x03, 0x00, onoff ? 0x07 : 0x08};
onoff             236 drivers/media/usb/dvb-usb-v2/zd1301.c 	dev_dbg(&intf->dev, "onoff=%d\n", onoff);
onoff              23 drivers/media/usb/dvb-usb/a800.c static int a800_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             773 drivers/media/usb/dvb-usb/af9005.c int af9005_led_control(struct dvb_usb_device *d, int onoff)
onoff             778 drivers/media/usb/dvb-usb/af9005.c 	if (onoff && dvb_usb_af9005_led)
onoff             882 drivers/media/usb/dvb-usb/af9005.c static int af9005_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             888 drivers/media/usb/dvb-usb/af9005.c static int af9005_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
onoff             891 drivers/media/usb/dvb-usb/af9005.c 	deb_info("pid filter control  onoff %d\n", onoff);
onoff             892 drivers/media/usb/dvb-usb/af9005.c 	if (onoff) {
onoff             914 drivers/media/usb/dvb-usb/af9005.c 			     u16 pid, int onoff)
onoff             919 drivers/media/usb/dvb-usb/af9005.c 		 pid, onoff);
onoff             920 drivers/media/usb/dvb-usb/af9005.c 	if (onoff) {
onoff             925 drivers/media/usb/dvb-usb/af9005.c 			ret = af9005_pid_filter_control(adap, onoff);
onoff             945 drivers/media/usb/dvb-usb/af9005.c 			ret = af9005_pid_filter_control(adap, onoff);
onoff            3473 drivers/media/usb/dvb-usb/af9005.h extern int af9005_led_control(struct dvb_usb_device *d, int onoff);
onoff             363 drivers/media/usb/dvb-usb/az6027.c static int az6027_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             371 drivers/media/usb/dvb-usb/az6027.c 	deb_info("%s %d", __func__, onoff);
onoff             374 drivers/media/usb/dvb-usb/az6027.c 	value = onoff;
onoff             882 drivers/media/usb/dvb-usb/az6027.c static int az6027_frontend_tsbypass(struct dvb_usb_adapter *adap, int onoff)
onoff             892 drivers/media/usb/dvb-usb/az6027.c 	value = onoff;
onoff             114 drivers/media/usb/dvb-usb/cxusb.c static void cxusb_gpio_tuner(struct dvb_usb_device *d, int onoff)
onoff             119 drivers/media/usb/dvb-usb/cxusb.c 	if (st->gpio_write_state[GPIO_TUNER] == onoff &&
onoff             124 drivers/media/usb/dvb-usb/cxusb.c 	o[1] = onoff;
onoff             130 drivers/media/usb/dvb-usb/cxusb.c 	st->gpio_write_state[GPIO_TUNER] = onoff;
onoff             157 drivers/media/usb/dvb-usb/cxusb.c static void cxusb_nano2_led(struct dvb_usb_device *d, int onoff)
onoff             159 drivers/media/usb/dvb-usb/cxusb.c 	cxusb_bluebird_gpio_rw(d, 0x40, onoff ? 0 : 0x40);
onoff             163 drivers/media/usb/dvb-usb/cxusb.c 				     u8 addr, int onoff)
onoff             165 drivers/media/usb/dvb-usb/cxusb.c 	u8  o[2] = {addr, onoff};
onoff             298 drivers/media/usb/dvb-usb/cxusb.c static int _cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             302 drivers/media/usb/dvb-usb/cxusb.c 	deb_info("setting power %s\n", onoff ? "ON" : "OFF");
onoff             304 drivers/media/usb/dvb-usb/cxusb.c 	if (onoff)
onoff             310 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             315 drivers/media/usb/dvb-usb/cxusb.c 	if (is_medion && !onoff) {
onoff             327 drivers/media/usb/dvb-usb/cxusb.c 	ret = _cxusb_power_ctrl(d, onoff);
onoff             330 drivers/media/usb/dvb-usb/cxusb.c 	if (is_medion && !onoff) {
onoff             339 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_aver_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             343 drivers/media/usb/dvb-usb/cxusb.c 	if (!onoff)
onoff             386 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_bluebird_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             390 drivers/media/usb/dvb-usb/cxusb.c 	if (onoff)
onoff             396 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_nano2_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             400 drivers/media/usb/dvb-usb/cxusb.c 	rc = cxusb_power_ctrl(d, onoff);
onoff             401 drivers/media/usb/dvb-usb/cxusb.c 	if (!onoff)
onoff             407 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_d680_dmb_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             412 drivers/media/usb/dvb-usb/cxusb.c 	ret = cxusb_power_ctrl(d, onoff);
onoff             413 drivers/media/usb/dvb-usb/cxusb.c 	if (!onoff)
onoff             422 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             429 drivers/media/usb/dvb-usb/cxusb.c 	if (is_medion && onoff) {
onoff             437 drivers/media/usb/dvb-usb/cxusb.c 	if (onoff)
onoff             442 drivers/media/usb/dvb-usb/cxusb.c 	if (is_medion && !onoff)
onoff             448 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             450 drivers/media/usb/dvb-usb/cxusb.c 	if (onoff)
onoff             505 drivers/media/usb/dvb-usb/cxusb.c 					 int onoff)
onoff             507 drivers/media/usb/dvb-usb/cxusb.c 	if (onoff) {
onoff            1147 drivers/media/usb/dvb-usb/cxusb.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
onoff            1152 drivers/media/usb/dvb-usb/cxusb.c 	return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
onoff            1155 drivers/media/usb/dvb-usb/cxusb.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff              62 drivers/media/usb/dvb-usb/dib0700.h extern int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff);
onoff             581 drivers/media/usb/dvb-usb/dib0700_core.c int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             586 drivers/media/usb/dvb-usb/dib0700_core.c 	if ((onoff != 0) && (st->fw_version >= 0x10201)) {
onoff             602 drivers/media/usb/dvb-usb/dib0700_core.c 	st->buf[1] = (onoff << 4) | 0x00;
onoff             611 drivers/media/usb/dvb-usb/dib0700_core.c 	deb_info("modifying (%d) streaming state for %d\n", onoff, adap->id);
onoff             617 drivers/media/usb/dvb-usb/dib0700_core.c 		if (onoff)
onoff             622 drivers/media/usb/dvb-usb/dib0700_core.c 		if (onoff)
onoff             796 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
onoff             801 drivers/media/usb/dvb-usb/dib0700_devices.c 	deb_info("reset: %d", onoff);
onoff             802 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
onoff             805 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff             810 drivers/media/usb/dvb-usb/dib0700_devices.c 	deb_info("sleep: %d", onoff);
onoff             811 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff);
onoff             917 drivers/media/usb/dvb-usb/dib0700_devices.c 		u16 pid, int onoff)
onoff             923 drivers/media/usb/dvb-usb/dib0700_devices.c 		return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
onoff             924 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
onoff             927 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk7700p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
onoff             932 drivers/media/usb/dvb-usb/dib0700_devices.c 		return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
onoff             933 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib7000m_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
onoff             936 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk70x0p_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
onoff             939 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
onoff             942 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk70x0p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
onoff             945 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
onoff            1230 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib80xx_tuner_reset(struct dvb_frontend *fe, int onoff)
onoff            1235 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib8000_ops.set_gpio(fe, 5, 0, !onoff);
onoff            1238 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib80xx_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff            1243 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib8000_ops.set_gpio(fe, 0, 0, onoff);
onoff            1327 drivers/media/usb/dvb-usb/dib0700_devices.c 	u16 pid, int onoff)
onoff            1331 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
onoff            1335 drivers/media/usb/dvb-usb/dib0700_devices.c 		int onoff)
onoff            1339 drivers/media/usb/dvb-usb/dib0700_devices.c 	return state->dib8000_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
onoff            2206 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
onoff            2208 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib9000_fw_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
onoff            2211 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
onoff            2213 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib9000_fw_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
onoff            2216 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_tuner_reset(struct dvb_frontend *fe, int onoff)
onoff            2218 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib9000_set_gpio(fe, 5, 0, !onoff);
onoff            2221 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_tuner_sleep(struct dvb_frontend *fe, int onoff)
onoff            2223 drivers/media/usb/dvb-usb/dib0700_devices.c 	return dib9000_set_gpio(fe, 0, 0, onoff);
onoff              22 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff              27 drivers/media/usb/dvb-usb/dibusb-common.c 			if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) {
onoff              36 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
onoff              42 drivers/media/usb/dvb-usb/dibusb-common.c 					 index, pid, onoff);
onoff              48 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff              53 drivers/media/usb/dvb-usb/dibusb-common.c 			if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0)
onoff              60 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff              71 drivers/media/usb/dvb-usb/dibusb-common.c 	b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP;
onoff              83 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff              92 drivers/media/usb/dvb-usb/dibusb-common.c 	if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0)
onoff              95 drivers/media/usb/dvb-usb/dibusb-common.c 	if (onoff) {
onoff             104 drivers/media/usb/dvb-usb/dibusb-common.c 	b[1] = onoff ? DIBUSB_IOCTL_CMD_ENABLE_STREAM : DIBUSB_IOCTL_CMD_DISABLE_STREAM;
onoff             113 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             118 drivers/media/usb/dvb-usb/dibusb-common.c 	if (!onoff)
onoff              24 drivers/media/usb/dvb-usb/dtt200u.c static int dtt200u_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff              33 drivers/media/usb/dvb-usb/dtt200u.c 	if (onoff)
onoff              40 drivers/media/usb/dvb-usb/dtt200u.c static int dtt200u_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff              48 drivers/media/usb/dvb-usb/dtt200u.c 	st->data[1] = onoff;
onoff              54 drivers/media/usb/dvb-usb/dtt200u.c 	if (onoff)
onoff              66 drivers/media/usb/dvb-usb/dtt200u.c static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
onoff              72 drivers/media/usb/dvb-usb/dtt200u.c 	pid = onoff ? pid : 0;
onoff              31 drivers/media/usb/dvb-usb/dvb-usb-common.h extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff);
onoff              14 drivers/media/usb/dvb-usb/dvb-usb-dvb.c static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
onoff              27 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	newfeedcount = adap->feedcount + (onoff ? 1 : -1);
onoff              49 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 		dvbdmxfeed->index, onoff ? "on" : "off");
onoff              53 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 		adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff);
onoff              58 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	if (adap->feedcount == onoff && adap->feedcount > 0) {
onoff             233 drivers/media/usb/dvb-usb/dvb-usb-dvb.c static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff)
onoff             238 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 		adap->props.frontend_ctrl(fe, onoff) : 0;
onoff             244 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	if (onoff)
onoff             226 drivers/media/usb/dvb-usb/dvb-usb-init.c int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             228 drivers/media/usb/dvb-usb/dvb-usb-init.c 	if (onoff)
onoff             233 drivers/media/usb/dvb-usb/dvb-usb-init.c 	if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 */
onoff             234 drivers/media/usb/dvb-usb/dvb-usb-init.c 		deb_info("power control: %d\n", onoff);
onoff             236 drivers/media/usb/dvb-usb/dvb-usb-init.c 			return d->props.power_ctrl(d, onoff);
onoff             888 drivers/media/usb/dvb-usb/dw2102.c static int su3000_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             895 drivers/media/usb/dvb-usb/dw2102.c 		.buf = onoff ? command_start : command_stop,
onoff             183 drivers/media/usb/dvb-usb/gp8psk.c static int gp8psk_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             188 drivers/media/usb/dvb-usb/gp8psk.c 	if (onoff) {
onoff             248 drivers/media/usb/dvb-usb/gp8psk.c static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             250 drivers/media/usb/dvb-usb/gp8psk.c 	return gp8psk_usb_out_op(adap->dev, ARM_TRANSFER, onoff, 0 , NULL, 0);
onoff             370 drivers/media/usb/dvb-usb/m920x.c static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             374 drivers/media/usb/dvb-usb/m920x.c 	m->filtering_enabled[adap->id] = onoff ? 1 : 0;
onoff             379 drivers/media/usb/dvb-usb/m920x.c static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
onoff             383 drivers/media/usb/dvb-usb/m920x.c 	m->filters[adap->id][index] = onoff ? pid : 0;
onoff             283 drivers/media/usb/dvb-usb/opera1.c static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             285 drivers/media/usb/dvb-usb/opera1.c 	u8 val = onoff ? 0x01 : 0x00;
onoff             288 drivers/media/usb/dvb-usb/opera1.c 		info("power %s", onoff ? "on" : "off");
onoff             293 drivers/media/usb/dvb-usb/opera1.c static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff             298 drivers/media/usb/dvb-usb/opera1.c 		{.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2},
onoff             301 drivers/media/usb/dvb-usb/opera1.c 		info("streaming %s", onoff ? "on" : "off");
onoff             307 drivers/media/usb/dvb-usb/opera1.c 			     int onoff)
onoff             315 drivers/media/usb/dvb-usb/opera1.c 			onoff ? "on" : "off");
onoff             317 drivers/media/usb/dvb-usb/opera1.c 	b_pid[1] = onoff ? (pid & 0xff) : (0x00);
onoff             318 drivers/media/usb/dvb-usb/opera1.c 	b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00);
onoff             323 drivers/media/usb/dvb-usb/opera1.c static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
onoff             331 drivers/media/usb/dvb-usb/opera1.c 		info("%s hw-pidfilter", onoff ? "enable" : "disable");
onoff             478 drivers/media/usb/dvb-usb/ttusb2.c static int ttusb2_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff             480 drivers/media/usb/dvb-usb/ttusb2.c 	u8 b = onoff;
onoff             187 drivers/media/usb/dvb-usb/vp702x.c static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff)
onoff             193 drivers/media/usb/dvb-usb/vp702x.c 	if (onoff)
onoff             245 drivers/media/usb/dvb-usb/vp702x.c static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
onoff              91 drivers/media/usb/dvb-usb/vp7045.c static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff)
onoff              93 drivers/media/usb/dvb-usb/vp7045.c 	u8 v = onoff;
onoff             192 drivers/media/usb/pvrusb2/pvrusb2-dvb.c static int pvr2_dvb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
onoff             201 drivers/media/usb/pvrusb2/pvrusb2-dvb.c 		if (onoff) {
onoff            4021 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int pvr2_hdw_cmd_hcw_demod_reset(struct pvr2_hdw *hdw, int onoff)
onoff            4035 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 					     ((onoff ? 1 : 0) << 16));
onoff            4041 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 				     ((onoff ? 1 : 0) << 16));
onoff            4045 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int pvr2_hdw_cmd_onair_fe_power_ctrl(struct pvr2_hdw *hdw, int onoff)
onoff            4048 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	return pvr2_issue_simple_cmd(hdw,(onoff ?
onoff            4055 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 						int onoff)
onoff            4057 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	return pvr2_issue_simple_cmd(hdw,(onoff ?
onoff            4099 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff)
onoff            4107 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	if (onoff) {
onoff            4124 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void pvr2_led_ctrl(struct pvr2_hdw *hdw,int onoff)
onoff            4129 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	if ((!onoff) == (!hdw->led_on)) return;
onoff            4131 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	hdw->led_on = onoff != 0;
onoff            4140 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	if (fp) (*fp)(hdw,onoff);
onoff             565 drivers/mmc/core/sdio_uart.c static void uart_dtr_rts(struct tty_port *tport, int onoff)
onoff             572 drivers/mmc/core/sdio_uart.c 	if (onoff == 0)
onoff             362 drivers/net/can/sja1000/peak_pcmcia.c static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff)
onoff             366 drivers/net/can/sja1000/peak_pcmcia.c 	err = pcan_write_eeprom(card, 0, !!onoff);
onoff             370 drivers/net/can/sja1000/peak_pcmcia.c 			(onoff) ? "on" : "off", err);
onoff             178 drivers/net/can/usb/peak_usb/pcan_usb.c static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff)
onoff             181 drivers/net/can/usb/peak_usb/pcan_usb.c 		[0] = !!onoff,
onoff             187 drivers/net/can/usb/peak_usb/pcan_usb.c static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff)
onoff             190 drivers/net/can/usb/peak_usb/pcan_usb.c 		[0] = !!onoff,
onoff             196 drivers/net/can/usb/peak_usb/pcan_usb.c static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff)
onoff             199 drivers/net/can/usb/peak_usb/pcan_usb.c 		[0] = !!onoff,
onoff             232 drivers/net/can/usb/peak_usb/pcan_usb.c static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff)
onoff             236 drivers/net/can/usb/peak_usb/pcan_usb.c 	err = pcan_usb_set_bus(dev, onoff);
onoff             240 drivers/net/can/usb/peak_usb/pcan_usb.c 	if (!onoff) {
onoff              60 drivers/net/can/usb/peak_usb/pcan_usb_core.h 	int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff);
onoff             281 drivers/net/can/usb/peak_usb/pcan_usb_fd.c static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff)
onoff             286 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	if (onoff) {
onoff             345 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 				   bool onoff, u16 ucan_mask, u16 usb_mask)
onoff             350 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 					(onoff) ? PUCAN_CMD_SET_EN_OPTION :
onoff             348 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff)
onoff             353 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	pcan_msg_add_rec(&um, PCAN_USBPRO_SETTS, onoff);
onoff             373 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff)
onoff             378 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	if (onoff) {
onoff             386 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff);
onoff             391 drivers/net/can/usb/peak_usb/pcan_usb_pro.c static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff)
onoff             396 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff);
onoff              90 drivers/net/can/usb/peak_usb/pcan_usb_pro.h 	__le16 onoff;
onoff              96 drivers/net/can/usb/peak_usb/pcan_usb_pro.h 	__le16 onoff;
onoff             286 drivers/net/ethernet/broadcom/sb1250-mac.c static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff);
onoff            1685 drivers/net/ethernet/broadcom/sb1250-mac.c static void sbmac_promiscuous_mode(struct sbmac_softc *sc,int onoff)
onoff            1692 drivers/net/ethernet/broadcom/sb1250-mac.c 	if (onoff) {
onoff             913 drivers/net/wireless/atmel/at76c50x-usb.c static int at76_set_autorate_fallback(struct at76_priv *priv, int onoff)
onoff             920 drivers/net/wireless/atmel/at76c50x-usb.c 	priv->mib_buf.data.byte = onoff;
onoff             134 drivers/pcmcia/ricoh.h static void ricoh_zoom_video(struct pcmcia_socket *sock, int onoff)
onoff             140 drivers/pcmcia/ricoh.h         if (onoff)
onoff             204 drivers/pcmcia/ti113x.h static void ti_zoom_video(struct pcmcia_socket *sock, int onoff)
onoff             212 drivers/pcmcia/ti113x.h 	if (onoff)
onoff             229 drivers/pcmcia/ti113x.h static void ti1250_zoom_video(struct pcmcia_socket *sock, int onoff)
onoff             235 drivers/pcmcia/ti113x.h 	ti_zoom_video(sock, onoff);
onoff             243 drivers/pcmcia/ti113x.h 	if(onoff)
onoff             110 drivers/pcmcia/topic.h static void topic97_zoom_video(struct pcmcia_socket *sock, int onoff)
onoff             116 drivers/pcmcia/topic.h 	if (onoff) {
onoff            5646 drivers/platform/x86/thinkpad_acpi.c 		seq_printf(m, "status:\t\t%s\n", onoff(status, 0));
onoff            7829 drivers/platform/x86/thinkpad_acpi.c 				onoff(status, TP_EC_AUDIO_MUTESW));
onoff             250 drivers/s390/char/vmlogrdr.c 	char *onoff, *qid_string;
onoff             253 drivers/s390/char/vmlogrdr.c 	onoff = ((action == 1) ? "ON" : "OFF");
onoff             277 drivers/s390/char/vmlogrdr.c 		onoff,
onoff              82 drivers/s390/cio/ccwgroup.c 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
onoff              93 drivers/s390/cio/ccwgroup.c 	atomic_set(&gdev->onoff, 0);
onoff             111 drivers/s390/cio/ccwgroup.c 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
onoff             122 drivers/s390/cio/ccwgroup.c 	atomic_set(&gdev->onoff, 0);
onoff             191 drivers/s390/cio/ccwgroup.c 	if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
onoff             205 drivers/s390/cio/ccwgroup.c 		atomic_set(&gdev->onoff, 0);
onoff             333 drivers/s390/cio/ccwgroup.c 	atomic_set(&gdev->onoff, 0);
onoff             494 drivers/s390/cio/ccwgroup.c 	if (atomic_read(&gdev->onoff))
onoff              56 drivers/s390/cio/chp.c static void set_chp_logically_online(struct chp_id chpid, int onoff)
onoff              58 drivers/s390/cio/chp.c 	chpid_to_chp(chpid)->state = onoff;
onoff             164 drivers/s390/cio/cmf.c static inline void cmf_activate(void *area, unsigned int onoff)
onoff             170 drivers/s390/cio/cmf.c 	__gpr1 = onoff;
onoff             508 drivers/s390/cio/device.c 	if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
onoff             546 drivers/s390/cio/device.c 	atomic_set(&cdev->private->onoff, 0);
onoff             752 drivers/s390/cio/device.c 	atomic_set(&priv->onoff, 0);
onoff            1337 drivers/s390/cio/device.c 	    (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
onoff            1341 drivers/s390/cio/device.c 		atomic_set(&cdev->private->onoff, 0);
onoff            1808 drivers/s390/cio/device.c 	if (atomic_read(&cdev->private->onoff))
onoff             134 drivers/s390/cio/io_sch.h 	atomic_t onoff;
onoff             480 drivers/spi/spi-mpc512x-psc.c static void mpc512x_spi_cs_control(struct spi_device *spi, bool onoff)
onoff             482 drivers/spi/spi-mpc512x-psc.c 	gpio_set_value(spi->cs_gpio, onoff);
onoff              87 drivers/staging/greybus/arche-platform.c static inline void svc_reset_onoff(struct gpio_desc *gpio, bool onoff)
onoff              89 drivers/staging/greybus/arche-platform.c 	gpiod_set_raw_value(gpio, onoff);
onoff             339 drivers/staging/isdn/avm/avmcard.h 				   int onoff)
onoff             341 drivers/staging/isdn/avm/avmcard.h 	b1_wr_reg(base, B1_STAT0(cardtype), onoff ? 0x21 : 0x20);
onoff             104 drivers/staging/isdn/avm/b1.c 	int onoff, i;
onoff             129 drivers/staging/isdn/avm/b1.c 	for (onoff = !0, i = 0; i < 10; i++) {
onoff             130 drivers/staging/isdn/avm/b1.c 		b1_set_test_bit(base, cardtype, onoff);
onoff             131 drivers/staging/isdn/avm/b1.c 		if (b1_get_test_bit(base, cardtype) != onoff)
onoff             133 drivers/staging/isdn/avm/b1.c 		onoff = !onoff;
onoff            1148 drivers/tty/moxa.c static void moxa_dtr_rts(struct tty_port *port, int onoff)
onoff            1151 drivers/tty/moxa.c 	MoxaPortLineCtrl(ch, onoff, onoff);
onoff            2901 drivers/tty/n_gsm.c static void gsm_dtr_rts(struct tty_port *port, int onoff)
onoff            2905 drivers/tty/n_gsm.c 	if (onoff)
onoff             162 drivers/usb/serial/whiteheat.c static int firm_set_rts(struct usb_serial_port *port, __u8 onoff);
onoff             163 drivers/usb/serial/whiteheat.c static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff);
onoff             164 drivers/usb/serial/whiteheat.c static int firm_set_break(struct usb_serial_port *port, __u8 onoff);
onoff             716 drivers/usb/serial/whiteheat.c static int firm_set_rts(struct usb_serial_port *port, __u8 onoff)
onoff             721 drivers/usb/serial/whiteheat.c 	rts_command.state = onoff;
onoff             727 drivers/usb/serial/whiteheat.c static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff)
onoff             732 drivers/usb/serial/whiteheat.c 	dtr_command.state = onoff;
onoff             738 drivers/usb/serial/whiteheat.c static int firm_set_break(struct usb_serial_port *port, __u8 onoff)
onoff             743 drivers/usb/serial/whiteheat.c 	break_command.state = onoff;
onoff            3141 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	bool onoff, rf, ipc, vs, hs, de;
onoff            3198 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	onoff = true;
onoff            3211 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	l = FLD_VAL(onoff, 17, 17) |
onoff            3234 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		val = (rf << 0) | (ipc << 3) | (onoff << 6);
onoff              49 sound/isa/wavefront/wavefront_fx.c wavefront_fx_mute (snd_wavefront_t *dev, int onoff)
onoff              56 sound/isa/wavefront/wavefront_fx.c 	outb (onoff ? 0x02 : 0x00, dev->fx_op);
onoff             596 sound/pci/rme9652/rme9652.c static int rme9652_set_passthru(struct snd_rme9652 *rme9652, int onoff)
onoff             598 sound/pci/rme9652/rme9652.c 	if (onoff) {
onoff             624 sound/pci/rme9652/rme9652.c static void rme9652_spdif_set_bit (struct snd_rme9652 *rme9652, int mask, int onoff)
onoff             626 sound/pci/rme9652/rme9652.c 	if (onoff) 
onoff             549 tools/vm/slabinfo.c 			s->object_size, s->slabs, onoff(s->sanity_checks),
onoff             553 tools/vm/slabinfo.c 			onoff(s->red_zone), s->objects * s->object_size);
onoff             555 tools/vm/slabinfo.c 			page_size << s->order, s->partial, onoff(s->poison),
onoff             558 tools/vm/slabinfo.c 			s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user),
onoff             561 tools/vm/slabinfo.c 			s->align, s->objs_per_slab, onoff(s->trace),