Symbol: onoff
arch/arm/mach-omap1/board-sx1.c
126
int sx1_setmmipower(u8 onoff)
arch/arm/mach-omap1/board-sx1.c
133
if (onoff)
arch/arm/mach-omap1/board-sx1.c
141
int sx1_setusbpower(u8 onoff)
arch/arm/mach-omap1/board-sx1.c
148
if (onoff)
arch/arm/mach-omap1/board-sx1.h
35
int sx1_setmmipower(u8 onoff);
arch/arm/mach-omap1/board-sx1.h
36
int sx1_setusbpower(u8 onoff);
arch/s390/include/asm/ccwgroup.h
22
atomic_t onoff;
drivers/atm/lanai.c
1070
static const char *onoff[2] = { "off to on", "on to off" };
drivers/atm/lanai.c
1072
itf, name, onoff[!status]);
drivers/dma/lgm/lgm-dma.c
1424
c->onoff = DMA_CH_OFF;
drivers/dma/lgm/lgm-dma.c
200
enum ldma_chan_on_off onoff;
drivers/dma/lgm/lgm-dma.c
608
c->onoff = DMA_CH_ON;
drivers/dma/lgm/lgm-dma.c
630
c->onoff = DMA_CH_OFF;
drivers/dma/lgm/lgm-dma.c
867
reg |= c->onoff ? DMA_CCTRL_ON : 0;
drivers/gpu/drm/omapdrm/dss/dispc.c
3026
bool onoff, rf, ipc, vs, hs, de;
drivers/gpu/drm/omapdrm/dss/dispc.c
3042
onoff = true; /* always use the 'rf' setting */
drivers/gpu/drm/omapdrm/dss/dispc.c
3045
l = FLD_VAL(onoff, 17, 17) |
drivers/gpu/drm/omapdrm/dss/dispc.c
3068
val = (rf << 0) | (ipc << 3) | (onoff << 6);
drivers/gpu/drm/tidss/tidss_dispc.c
1134
bool align, onoff, rf, ieo, ipc, ihs, ivs;
drivers/gpu/drm/tidss/tidss_dispc.c
1178
onoff = true;
drivers/gpu/drm/tidss/tidss_dispc.c
1191
FIELD_PREP(DISPC_VP_POL_FREQ_ONOFF_MASK, onoff) |
drivers/hid/hid-wiimote-modules.c
1979
__u8 pressure, __u8 onoff,
drivers/hid/hid-wiimote-modules.c
1988
} else if (onoff != !!*store) {
drivers/hid/hid-wiimote-modules.c
1989
*store = onoff ? default_pressure : 0;
drivers/iio/accel/fxls8962af-core.c
825
static int __fxls8962af_fifo_set_mode(struct fxls8962af_data *data, bool onoff)
drivers/iio/accel/fxls8962af-core.c
838
FXLS8962AF_BC1_BUF_MODE_PREP(onoff));
drivers/macintosh/mediabay.c
332
static inline void set_mb_power(struct media_bay_info* bay, int onoff)
drivers/macintosh/mediabay.c
335
if (onoff) {
drivers/media/common/b2c2/flexcop-common.h
127
flexcop_dma_index_t no, int onoff);
drivers/media/common/b2c2/flexcop-common.h
132
int onoff);
drivers/media/common/b2c2/flexcop-common.h
174
struct dvb_demux_feed *dvbdmxfeed, int onoff);
drivers/media/common/b2c2/flexcop-common.h
177
void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff);
drivers/media/common/b2c2/flexcop-common.h
180
void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
101
u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
107
u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
11
flexcop_set_ibi_value(ctrl_208, Rcv_Data_sig, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
113
int index, u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
119
pid, pid, index, onoff ? "on" : "off");
drivers/media/common/b2c2/flexcop-hw-filter.c
12
deb_ts("rcv_data is now: '%s'\n", onoff ? "on" : "off");
drivers/media/common/b2c2/flexcop-hw-filter.c
129
flexcop_pid_Stream1_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
132
flexcop_pid_Stream2_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
135
flexcop_pid_PCR_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
138
flexcop_pid_PMT_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
141
flexcop_pid_EMM_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
144
flexcop_pid_ECM_PID_ctrl(fc, pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
15
void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
156
vpid.pid_n_reg_314.PID = onoff ? pid : 0x1fff;
drivers/media/common/b2c2/flexcop-hw-filter.c
157
vpid.pid_n_reg_314.PID_enable_bit = onoff;
drivers/media/common/b2c2/flexcop-hw-filter.c
164
static int flexcop_toggle_fullts_streaming(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
166
if (fc->fullts_streaming_state != onoff) {
drivers/media/common/b2c2/flexcop-hw-filter.c
167
deb_ts("%s full TS transfer\n",onoff ? "enabling" : "disabling");
drivers/media/common/b2c2/flexcop-hw-filter.c
168
flexcop_pid_group_filter(fc, 0, 0x1fe0 * (!onoff));
drivers/media/common/b2c2/flexcop-hw-filter.c
169
flexcop_pid_group_filter_ctrl(fc, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
17
flexcop_set_ibi_value(ctrl_208, SMC_Enable_sig, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
170
fc->fullts_streaming_state = onoff;
drivers/media/common/b2c2/flexcop-hw-filter.c
176
struct dvb_demux_feed *dvbdmxfeed, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
183
fc->feedcount += onoff ? 1 : -1; /* the number of PIDs/Feed currently requested */
drivers/media/common/b2c2/flexcop-hw-filter.c
185
fc->extra_feedcount += onoff ? 1 : -1;
drivers/media/common/b2c2/flexcop-hw-filter.c
193
if (!fc->pid_filtering && fc->feedcount == onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
194
flexcop_toggle_fullts_streaming(fc, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
198
(fc, dvbdmxfeed->index, dvbdmxfeed->pid, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
20
static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
203
flexcop_toggle_fullts_streaming(fc, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
209
if (fc->feedcount == onoff) {
drivers/media/common/b2c2/flexcop-hw-filter.c
210
flexcop_rcv_data_ctrl(fc, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
212
fc->stream_control(fc, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
215
if (onoff == 0) {
drivers/media/common/b2c2/flexcop-hw-filter.c
22
flexcop_set_ibi_value(ctrl_208, Null_filter_sig, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
41
void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
43
flexcop_set_ibi_value(ctrl_208, MAC_filter_Mode_sig, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
56
static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
58
flexcop_set_ibi_value(ctrl_208, Mask_filter_sig, onoff);
drivers/media/common/b2c2/flexcop-hw-filter.c
68
vpid.vregname.field = onoff ? pid : 0x1fff; \
drivers/media/common/b2c2/flexcop-hw-filter.c
70
v208.ctrl_208.enablefield = onoff; \
drivers/media/common/b2c2/flexcop-hw-filter.c
75
u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
82
u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
89
u16 pid, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
9
static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff)
drivers/media/common/b2c2/flexcop-hw-filter.c
95
u16 pid, int onoff)
drivers/media/common/siano/sms-cards.c
279
int sms_board_power(struct smscore_device_t *coredev, int onoff)
drivers/media/common/siano/sms-cards.c
288
board->led_power, onoff ? 1 : 0);
drivers/media/common/siano/sms-cards.c
293
if (!onoff)
drivers/media/common/siano/sms-cards.c
324
int sms_board_lna_control(struct smscore_device_t *coredev, int onoff)
drivers/media/common/siano/sms-cards.c
329
pr_debug("%s: LNA %s\n", __func__, onoff ? "enabled" : "disabled");
drivers/media/common/siano/sms-cards.c
335
board->rf_switch, onoff ? 1 : 0);
drivers/media/common/siano/sms-cards.c
337
board->lna_ctrl, onoff ? 1 : 0);
drivers/media/common/siano/sms-cards.h
122
int sms_board_power(struct smscore_device_t *coredev, int onoff);
drivers/media/common/siano/sms-cards.h
123
int sms_board_lna_control(struct smscore_device_t *coredev, int onoff);
drivers/media/dvb-frontends/af9013.c
1163
static int af9013_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/af9013.c
1169
dev_dbg(&client->dev, "onoff %d\n", onoff);
drivers/media/dvb-frontends/af9013.c
1171
ret = regmap_update_bits(state->regmap, 0xd503, 0x01, onoff);
drivers/media/dvb-frontends/af9013.c
1182
int onoff)
drivers/media/dvb-frontends/af9013.c
1190
index, pid, onoff);
drivers/media/dvb-frontends/af9013.c
1203
ret = regmap_write(state->regmap, 0xd504, onoff << 5 | index << 0);
drivers/media/dvb-frontends/af9033.c
964
static int af9033_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/af9033.c
970
dev_dbg(&client->dev, "onoff=%d\n", onoff);
drivers/media/dvb-frontends/af9033.c
972
ret = regmap_update_bits(dev->regmap, 0x80f993, 0x01, onoff);
drivers/media/dvb-frontends/af9033.c
983
int onoff)
drivers/media/dvb-frontends/af9033.c
991
index, pid, onoff);
drivers/media/dvb-frontends/af9033.c
999
ret = regmap_write(dev->regmap, 0x80f994, onoff);
drivers/media/dvb-frontends/af9033.h
86
int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/af9033.h
88
int onoff);
drivers/media/dvb-frontends/au8522_common.c
129
static int au8522_led_gpio_enable(struct au8522_state *state, int onoff)
drivers/media/dvb-frontends/au8522_common.c
141
if (onoff) {
drivers/media/dvb-frontends/dib0090.c
1020
static void dib0090_set_boost(struct dib0090_state *state, int onoff)
drivers/media/dvb-frontends/dib0090.c
1023
state->bb_1_def |= onoff << 13;
drivers/media/dvb-frontends/dib0090.c
1385
int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib0090.c
1390
| ((onoff & 1) << 15));
drivers/media/dvb-frontends/dib0090.h
163
static inline int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib0090.h
88
extern int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff);
drivers/media/dvb-frontends/dib3000.h
34
int (*pid_parse)(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib3000.h
35
int (*fifo_ctrl)(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib3000.h
36
int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff);
drivers/media/dvb-frontends/dib3000.h
37
int (*tuner_pass_ctrl)(struct dvb_frontend *fe, int onoff, u8 pll_ctrl);
drivers/media/dvb-frontends/dib3000mb.c
701
static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff)
drivers/media/dvb-frontends/dib3000mb.c
704
pid = (onoff ? pid | DIB3000_ACTIVATE_PID_FILTERING : 0);
drivers/media/dvb-frontends/dib3000mb.c
709
static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib3000mb.c
713
deb_xfer("%s fifo\n",onoff ? "enabling" : "disabling");
drivers/media/dvb-frontends/dib3000mb.c
714
if (onoff) {
drivers/media/dvb-frontends/dib3000mb.c
722
static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib3000mb.c
725
deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling");
drivers/media/dvb-frontends/dib3000mb.c
726
wr(DIB3000MB_REG_PID_PARSE,onoff);
drivers/media/dvb-frontends/dib3000mb.c
730
static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr)
drivers/media/dvb-frontends/dib3000mb.c
733
if (onoff) {
drivers/media/dvb-frontends/dib3000mc.c
832
int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff)
drivers/media/dvb-frontends/dib3000mc.c
835
dib3000mc_write_word(state, 212 + index, onoff ? (1 << 13) | pid : 0);
drivers/media/dvb-frontends/dib3000mc.c
840
int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib3000mc.c
844
tmp |= (onoff << 4);
drivers/media/dvb-frontends/dib3000mc.h
76
extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff);
drivers/media/dvb-frontends/dib3000mc.h
77
extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib7000m.c
1332
int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib7000m.c
1336
val |= (onoff & 0x1) << 4;
drivers/media/dvb-frontends/dib7000m.c
1337
dprintk("PID filter enabled %d\n", onoff);
drivers/media/dvb-frontends/dib7000m.c
1342
int dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
drivers/media/dvb-frontends/dib7000m.c
1345
dprintk("PID filter: index %x, PID %d, OnOff %d\n", id, pid, onoff);
drivers/media/dvb-frontends/dib7000m.c
1347
onoff ? (1 << 13) | pid : 0);
drivers/media/dvb-frontends/dib7000m.c
342
static int dib7000m_set_diversity_in(struct dvb_frontend *demod, int onoff)
drivers/media/dvb-frontends/dib7000m.c
348
onoff = 0;
drivers/media/dvb-frontends/dib7000m.c
350
state->div_state = (u8)onoff;
drivers/media/dvb-frontends/dib7000m.c
352
if (onoff) {
drivers/media/dvb-frontends/dib7000m.h
49
extern int dib7000m_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff);
drivers/media/dvb-frontends/dib7000m.h
50
extern int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff);
drivers/media/dvb-frontends/dib7000m.h
69
u16 pid, u8 onoff)
drivers/media/dvb-frontends/dib7000m.h
76
uint8_t onoff)
drivers/media/dvb-frontends/dib7000p.c
2062
static int dib7000p_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib7000p.c
2066
val |= (onoff & 0x1) << 4;
drivers/media/dvb-frontends/dib7000p.c
2067
dprintk("PID filter enabled %d\n", onoff);
drivers/media/dvb-frontends/dib7000p.c
2071
static int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
drivers/media/dvb-frontends/dib7000p.c
2074
dprintk("PID filter: index %x, PID %d, OnOff %d\n", id, pid, onoff);
drivers/media/dvb-frontends/dib7000p.c
2075
return dib7000p_write_word(state, 241 + id, onoff ? (1 << 13) | pid : 0);
drivers/media/dvb-frontends/dib7000p.c
221
static int dib7000p_set_diversity_in(struct dvb_frontend *demod, int onoff)
drivers/media/dvb-frontends/dib7000p.c
227
onoff = 0;
drivers/media/dvb-frontends/dib7000p.c
232
state->div_state = (u8) onoff;
drivers/media/dvb-frontends/dib7000p.c
234
if (onoff) {
drivers/media/dvb-frontends/dib7000p.c
2498
static void dib7090_enMpegMux(struct dib7000p_state *state, int onoff)
drivers/media/dvb-frontends/dib7000p.c
2502
switch (onoff) {
drivers/media/dvb-frontends/dib7000p.c
2583
static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib7000p.c
2588
switch (onoff) {
drivers/media/dvb-frontends/dib7000p.c
2612
dib7000p_set_diversity_in(&state->demod, onoff);
drivers/media/dvb-frontends/dib7000p.c
2698
static int dib7090_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib7000p.c
2703
dprintk("sleep dib7090: %d\n", onoff);
drivers/media/dvb-frontends/dib7000p.c
2710
if (onoff)
drivers/media/dvb-frontends/dib7000p.c
91
static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib7000p.h
58
int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff);
drivers/media/dvb-frontends/dib7000p.h
59
int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
drivers/media/dvb-frontends/dib7000p.h
62
int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib8000.c
1440
static void dib8096p_enMpegMux(struct dib8000_state *state, int onoff)
drivers/media/dvb-frontends/dib8000.c
1446
switch (onoff) {
drivers/media/dvb-frontends/dib8000.c
1526
static int dib8096p_set_diversity_in(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib8000.c
1531
switch (onoff) {
drivers/media/dvb-frontends/dib8000.c
1557
dib8000_set_diversity_in(state->fe[0], onoff);
drivers/media/dvb-frontends/dib8000.c
1892
static int dib8096p_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib8000.c
1897
dprintk("sleep dib8096p: %d\n", onoff);
drivers/media/dvb-frontends/dib8000.c
1905
if (onoff)
drivers/media/dvb-frontends/dib8000.c
2685
static void dib8000_viterbi_state(struct dib8000_state *state, u8 onoff)
drivers/media/dvb-frontends/dib8000.c
2690
if (onoff) /* start P_restart_chd : channel_decoder */
drivers/media/dvb-frontends/dib8000.c
4397
static int dib8000_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib8000.c
4401
val |= (onoff & 0x1) << 4;
drivers/media/dvb-frontends/dib8000.c
4403
dprintk("pid filter enabled %d\n", onoff);
drivers/media/dvb-frontends/dib8000.c
4407
static int dib8000_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
drivers/media/dvb-frontends/dib8000.c
4410
dprintk("Index %x, PID %d, OnOff %d\n", id, pid, onoff);
drivers/media/dvb-frontends/dib8000.c
4411
return dib8000_write_word(st, 305 + id, onoff ? (1 << 13) | pid : 0);
drivers/media/dvb-frontends/dib8000.c
466
static int dib8000_set_diversity_in(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib8000.c
471
dprintk("set diversity input to %i\n", onoff);
drivers/media/dvb-frontends/dib8000.c
479
state->diversity_onoff = onoff;
drivers/media/dvb-frontends/dib8000.c
481
switch (onoff) {
drivers/media/dvb-frontends/dib8000.h
50
int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
drivers/media/dvb-frontends/dib8000.h
61
int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff);
drivers/media/dvb-frontends/dib8000.h
62
int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
drivers/media/dvb-frontends/dib9000.c
1529
static int dib9000_fw_set_diversity_in(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/dib9000.c
1532
u16 mode = (u16) onoff;
drivers/media/dvb-frontends/dib9000.c
1778
int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib9000.c
1789
state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
drivers/media/dvb-frontends/dib9000.c
1799
val |= (onoff & 0x1) << 4;
drivers/media/dvb-frontends/dib9000.c
1801
dprintk("PID filter enabled %d\n", onoff);
drivers/media/dvb-frontends/dib9000.c
1809
int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
drivers/media/dvb-frontends/dib9000.c
1822
state->pid_ctrl[state->pid_ctrl_index].onoff = onoff;
drivers/media/dvb-frontends/dib9000.c
1832
dprintk("Index %x, PID %d, OnOff %d\n", id, pid, onoff);
drivers/media/dvb-frontends/dib9000.c
1834
onoff ? (1 << 13) | pid : 0);
drivers/media/dvb-frontends/dib9000.c
2148
state->pid_ctrl[index_pid_filter_cmd].onoff);
drivers/media/dvb-frontends/dib9000.c
2153
state->pid_ctrl[index_pid_filter_cmd].onoff);
drivers/media/dvb-frontends/dib9000.c
45
u8 onoff;
drivers/media/dvb-frontends/dib9000.h
37
extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff);
drivers/media/dvb-frontends/dib9000.h
38
extern int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
drivers/media/dvb-frontends/dib9000.h
76
static inline int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff)
drivers/media/dvb-frontends/dib9000.h
82
static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
drivers/media/dvb-frontends/dibx000_common.c
264
u8 addr, int onoff)
drivers/media/dvb-frontends/dibx000_common.c
269
if (onoff)
drivers/media/dvb-frontends/drxd_hard.c
2799
static int drxd_config_i2c(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/drxd_hard.c
2806
return DRX_ConfigureI2CBridge(state, onoff);
drivers/media/dvb-frontends/gp8psk-fe.c
294
static int gp8psk_fe_enable_high_lnb_voltage(struct dvb_frontend* fe, long onoff)
drivers/media/dvb-frontends/gp8psk-fe.c
298
return st->ops->out(st->priv, USE_EXTRA_VOLT, onoff, 0, NULL, 0);
drivers/media/dvb-frontends/lg2160.c
124
u16 reg, int bit, int onoff)
drivers/media/dvb-frontends/lg2160.c
129
lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
drivers/media/dvb-frontends/lg2160.c
136
val |= (onoff & 1) << bit;
drivers/media/dvb-frontends/lg2160.c
360
static int lg2160_tuner_pwr_save(struct lg216x_state *state, int onoff)
drivers/media/dvb-frontends/lg2160.c
370
val |= (onoff) ? 0x40 : 0x00;
drivers/media/dvb-frontends/lg2160.c
456
static int lg216x_enable_fic(struct lg216x_state *state, int onoff)
drivers/media/dvb-frontends/lg2160.c
471
0xfc | ((onoff) ? 0x02 : 0x00));
drivers/media/dvb-frontends/lg2160.c
474
ret = lg216x_write_reg(state, 0x0016, (onoff) ? 0x10 : 0x00);
drivers/media/dvb-frontends/lg2160.c
484
if (onoff) {
drivers/media/dvb-frontends/lgdt3305.c
161
u16 reg, int bit, int onoff)
drivers/media/dvb-frontends/lgdt3305.c
166
lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
drivers/media/dvb-frontends/lgdt3305.c
173
val |= (onoff & 1) << bit;
drivers/media/dvb-frontends/lgdt3306a.c
183
u16 reg, int bit, int onoff)
drivers/media/dvb-frontends/lgdt3306a.c
188
dbg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff);
drivers/media/dvb-frontends/lgdt3306a.c
195
val |= (onoff & 1) << bit;
drivers/media/dvb-frontends/rtl2830.c
577
static int rtl2830_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/rtl2830.c
583
dev_dbg(&client->dev, "onoff=%d\n", onoff);
drivers/media/dvb-frontends/rtl2830.c
586
if (onoff)
drivers/media/dvb-frontends/rtl2830.c
601
static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff)
drivers/media/dvb-frontends/rtl2830.c
609
index, pid, onoff);
drivers/media/dvb-frontends/rtl2830.c
615
if (onoff)
drivers/media/dvb-frontends/rtl2832.c
946
static int rtl2832_pid_filter_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/dvb-frontends/rtl2832.c
953
dev_dbg(&client->dev, "onoff=%d, slave_ts=%d\n", onoff, dev->slave_ts);
drivers/media/dvb-frontends/rtl2832.c
956
if (onoff)
drivers/media/dvb-frontends/rtl2832.c
975
int onoff)
drivers/media/dvb-frontends/rtl2832.c
983
index, pid, onoff, dev->slave_ts);
drivers/media/dvb-frontends/rtl2832.c
989
if (onoff)
drivers/media/pci/b2c2/flexcop-dma.c
102
v0xc.dma_0xc.dma_1start = onoff;
drivers/media/pci/b2c2/flexcop-dma.c
115
int onoff)
drivers/media/pci/b2c2/flexcop-dma.c
121
v.dma_0xc.remap_enable = onoff;
drivers/media/pci/b2c2/flexcop-dma.c
128
int onoff)
drivers/media/pci/b2c2/flexcop-dma.c
133
v.ctrl_208.DMA1_Timer_Enable_sig = onoff;
drivers/media/pci/b2c2/flexcop-dma.c
136
v.ctrl_208.DMA2_Timer_Enable_sig = onoff;
drivers/media/pci/b2c2/flexcop-dma.c
75
int onoff)
drivers/media/pci/b2c2/flexcop-dma.c
99
v0x0.dma_0x0.dma_0start = onoff;
drivers/media/pci/b2c2/flexcop-pci.c
235
static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff)
drivers/media/pci/b2c2/flexcop-pci.c
238
if (onoff) {
drivers/media/pci/cx23885/altera-ci.c
515
u16 pid, int onoff)
drivers/media/pci/cx23885/altera-ci.c
532
if (onoff)/* 0 - on, 1 - off */
drivers/media/pci/cx23885/altera-ci.c
542
pid_filt->nr, pid, pid, onoff ? "off" : "on");
drivers/media/pci/cx23885/altera-ci.c
546
int filt_nr, int onoff)
drivers/media/pci/cx23885/altera-ci.c
553
onoff ? "off" : "on");
drivers/media/pci/cx23885/altera-ci.c
555
if (onoff)/* 0 - on, 1 - off */
drivers/media/pci/cx23885/altera-ci.c
576
struct dvb_demux_feed *feed, int onoff)
drivers/media/pci/cx23885/altera-ci.c
582
altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1);
drivers/media/pci/cx23885/altera-ci.c
584
if (onoff)
drivers/media/pci/cx23885/altera-ci.c
591
onoff ? 0 : 1);
drivers/media/pci/cx23885/altera-ci.h
77
struct dvb_demux_feed *dvbdmxfeed, int onoff)
drivers/media/pci/cx23885/cx23885-dvb.c
976
static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
drivers/media/pci/cx23885/cx23885-dvb.c
980
return dib7000p_ops->set_gpio(fe, 8, 0, !onoff);
drivers/media/pci/cx23885/cx23885-dvb.c
983
static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/usb/as102/as102_drv.c
106
switch (onoff) {
drivers/media/usb/as102/as102_drv.c
95
int index, u16 pid, int onoff) {
drivers/media/usb/b2c2/flexcop-usb.c
403
static int flexcop_usb_stream_control(struct flexcop_device *fc, int onoff)
drivers/media/usb/dvb-usb-v2/af9015.c
1075
static int af9015_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb-v2/af9015.c
1082
ret = pdata->pid_filter_ctrl(adap->fe[0], onoff);
drivers/media/usb/dvb-usb-v2/af9015.c
1089
u16 pid, int onoff)
drivers/media/usb/dvb-usb-v2/af9015.c
1096
ret = pdata->pid_filter(adap->fe[0], index, pid, onoff);
drivers/media/usb/dvb-usb-v2/af9015.c
552
static int af9015_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/af9015.c
562
dev_dbg(&intf->dev, "adap id %d, onoff %d\n", adap_id, onoff);
drivers/media/usb/dvb-usb-v2/af9015.c
607
if (adap_id == 0 && onoff) {
drivers/media/usb/dvb-usb-v2/af9015.c
618
} else if (adap_id == 1 && onoff) {
drivers/media/usb/dvb-usb-v2/af9015.c
629
} else if (adap_id == 0 && !onoff) {
drivers/media/usb/dvb-usb-v2/af9015.c
640
} else if (adap_id == 1 && !onoff) {
drivers/media/usb/dvb-usb-v2/af9035.c
1959
static int af9035_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb-v2/af9035.c
1963
return state->ops.pid_filter_ctrl(adap->fe[0], onoff);
drivers/media/usb/dvb-usb-v2/af9035.c
1967
int onoff)
drivers/media/usb/dvb-usb-v2/af9035.c
1971
return state->ops.pid_filter(adap->fe[0], index, pid, onoff);
drivers/media/usb/dvb-usb-v2/anysee.c
161
static int anysee_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/anysee.c
163
u8 buf[] = {CMD_STREAMING_CTRL, (u8)onoff, 0x00};
drivers/media/usb/dvb-usb-v2/anysee.c
164
dev_dbg(&fe_to_d(fe)->udev->dev, "%s: onoff=%d\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/anysee.c
176
static int anysee_ir_ctrl(struct dvb_usb_device *d, u8 onoff)
drivers/media/usb/dvb-usb-v2/anysee.c
178
u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x02, onoff};
drivers/media/usb/dvb-usb-v2/anysee.c
179
dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/anysee.c
516
static int anysee_frontend_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/anysee.c
521
dev_dbg(&d->udev->dev, "%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
drivers/media/usb/dvb-usb-v2/anysee.c
524
if (onoff == 0)
drivers/media/usb/dvb-usb-v2/az6007.c
188
static int az6007_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/az6007.c
192
pr_debug("%s: %s\n", __func__, onoff ? "enable" : "disable");
drivers/media/usb/dvb-usb-v2/az6007.c
194
return az6007_write(d, 0xbc, onoff, 0, NULL, 0);
drivers/media/usb/dvb-usb-v2/az6007.c
689
static int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/az6007.c
733
if (!onoff)
drivers/media/usb/dvb-usb-v2/ce6230.c
216
static int ce6230_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/ce6230.c
220
dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/ce6230.c
224
ret = usb_set_interface(d->udev, 1, onoff);
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
528
static int dvb_usbv2_device_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
532
if (onoff)
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
537
if (d->powered == 0 || (onoff && d->powered == 1)) {
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
539
dev_dbg(&d->udev->dev, "%s: power=%d\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
541
ret = d->props->power_ctrl(d, onoff);
drivers/media/usb/dvb-usb-v2/dvbsky.c
59
static int dvbsky_stream_ctrl(struct dvb_usb_device *d, u8 onoff)
drivers/media/usb/dvb-usb-v2/dvbsky.c
69
if (!ret && onoff) {
drivers/media/usb/dvb-usb-v2/dvbsky.c
78
static int dvbsky_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/dvbsky.c
82
return dvbsky_stream_ctrl(d, (onoff == 0) ? 0 : 1);
drivers/media/usb/dvb-usb-v2/ec168.c
310
static int ec168_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/ec168.c
314
dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/ec168.c
316
if (onoff)
drivers/media/usb/dvb-usb-v2/gl861.c
408
static int friio_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/gl861.c
410
return onoff ? friio_reset(d) : 0;
drivers/media/usb/dvb-usb-v2/gl861.c
516
static int friio_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/gl861.c
520
led_color = onoff ? FRIIO_LED_RUNNING : FRIIO_LED_STOPPED;
drivers/media/usb/dvb-usb-v2/lmedm04.c
1119
static int lme2510_powerup(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/lmedm04.c
1129
ret = lme2510_usb_talk(d, onoff ? lnb_on : lnb_off, len, rbuf, rlen);
drivers/media/usb/dvb-usb-v2/lmedm04.c
413
static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb-v2/lmedm04.c
425
if (!onoff) {
drivers/media/usb/dvb-usb-v2/lmedm04.c
443
int onoff)
drivers/media/usb/dvb-usb-v2/lmedm04.c
449
pid, index, onoff);
drivers/media/usb/dvb-usb-v2/lmedm04.c
451
if (onoff) {
drivers/media/usb/dvb-usb-v2/lmedm04.c
567
static int lme2510_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/lmedm04.c
576
deb_info(1, "STM (%02x)", onoff);
drivers/media/usb/dvb-usb-v2/lmedm04.c
579
if (onoff == 1)
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
261
int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
266
mxl_debug("(%d)", onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
276
if (onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
84
int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
86
mxl_debug("(%d)", onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c
88
return mxl111sf_write_reg(state, 0x01, onoff ? 0x01 : 0x00);
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.h
15
int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf-phy.h
29
int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
253
int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
256
onoff ? 1 : 0);
drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
59
int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
62
state->cfg->top_master_ctrl(state->mxl_state, onoff) :
drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
43
int (*top_master_ctrl)(struct mxl111sf_state *state, int onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1223
static int mxl111sf_streaming_ctrl_atsc_mh(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1225
pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1228
return mxl111sf_ep6_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1230
return mxl111sf_ep4_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1232
return mxl111sf_ep5_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1300
static int mxl111sf_streaming_ctrl_mercury(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1302
pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1305
return mxl111sf_ep6_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1307
return mxl111sf_ep4_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1309
return mxl111sf_ep5_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1311
return mxl111sf_ep6_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1373
static int mxl111sf_streaming_ctrl_mercury_mh(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1375
pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1378
return mxl111sf_ep4_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1380
return mxl111sf_ep5_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
1382
return mxl111sf_ep6_streaming_ctrl(fe, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
257
static int mxl111sf_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
346
static int mxl111sf_ep6_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
352
pr_debug("%s(%d)\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
354
if (onoff) {
drivers/media/usb/dvb-usb-v2/mxl111sf.c
371
static int mxl111sf_ep5_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
376
pr_debug("%s(%d)\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
378
if (onoff) {
drivers/media/usb/dvb-usb-v2/mxl111sf.c
391
ret = mxl111sf_config_spi(state, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
397
static int mxl111sf_ep4_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/mxl111sf.c
402
pr_debug("%s(%d)\n", __func__, onoff);
drivers/media/usb/dvb-usb-v2/mxl111sf.c
404
if (onoff) {
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1476
static int rtl2831u_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1481
dev_dbg(&d->intf->dev, "onoff=%d\n", onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1495
if (onoff) {
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1529
if (onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1538
static int rtl2832u_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1542
dev_dbg(&d->intf->dev, "onoff=%d\n", onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1544
if (onoff) {
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1596
static int rtl28xxu_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1601
return rtl2831u_power_ctrl(d, onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1603
return rtl2832u_power_ctrl(d, onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1606
static int rtl28xxu_frontend_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1614
dev_dbg(&d->intf->dev, "fe=%d onoff=%d\n", fe->id, onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1621
if (onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1631
ret = pdata->slave_ts_ctrl(dev->i2c_client_demod, onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1851
static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1858
return pdata->pid_filter_ctrl(adap->fe[0], onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1862
return pdata->pid_filter_ctrl(adap->fe[0], onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1867
u16 pid, int onoff)
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1874
return pdata->pid_filter(adap->fe[0], index, pid, onoff);
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
1878
return pdata->pid_filter(adap->fe[0], index, pid, onoff);
drivers/media/usb/dvb-usb-v2/zd1301.c
229
static int zd1301_streaming_ctrl(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb-v2/zd1301.c
234
u8 buf[3] = {0x03, 0x00, onoff ? 0x07 : 0x08};
drivers/media/usb/dvb-usb-v2/zd1301.c
236
dev_dbg(&intf->dev, "onoff=%d\n", onoff);
drivers/media/usb/dvb-usb/a800.c
23
static int a800_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/af9005.c
778
int af9005_led_control(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/af9005.c
783
if (onoff && dvb_usb_af9005_led)
drivers/media/usb/dvb-usb/af9005.c
887
static int af9005_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/af9005.c
893
static int af9005_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/af9005.c
896
deb_info("pid filter control onoff %d\n", onoff);
drivers/media/usb/dvb-usb/af9005.c
897
if (onoff) {
drivers/media/usb/dvb-usb/af9005.c
919
u16 pid, int onoff)
drivers/media/usb/dvb-usb/af9005.c
924
pid, onoff);
drivers/media/usb/dvb-usb/af9005.c
925
if (onoff) {
drivers/media/usb/dvb-usb/af9005.c
930
ret = af9005_pid_filter_control(adap, onoff);
drivers/media/usb/dvb-usb/af9005.c
950
ret = af9005_pid_filter_control(adap, onoff);
drivers/media/usb/dvb-usb/af9005.h
3473
extern int af9005_led_control(struct dvb_usb_device *d, int onoff);
drivers/media/usb/dvb-usb/az6027.c
363
static int az6027_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/az6027.c
371
deb_info("%s %d", __func__, onoff);
drivers/media/usb/dvb-usb/az6027.c
374
value = onoff;
drivers/media/usb/dvb-usb/az6027.c
883
static int az6027_frontend_tsbypass(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/az6027.c
893
value = onoff;
drivers/media/usb/dvb-usb/cxusb.c
111
static void cxusb_gpio_tuner(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
1143
static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
1148
return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
drivers/media/usb/dvb-usb/cxusb.c
1151
static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
116
if (st->gpio_write_state[GPIO_TUNER] == onoff &&
drivers/media/usb/dvb-usb/cxusb.c
121
o[1] = onoff;
drivers/media/usb/dvb-usb/cxusb.c
126
st->gpio_write_state[GPIO_TUNER] = onoff;
drivers/media/usb/dvb-usb/cxusb.c
153
static void cxusb_nano2_led(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
155
cxusb_bluebird_gpio_rw(d, 0x40, onoff ? 0 : 0x40);
drivers/media/usb/dvb-usb/cxusb.c
159
u8 addr, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
161
u8 o[2] = {addr, onoff};
drivers/media/usb/dvb-usb/cxusb.c
294
static int _cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
298
dev_info(&d->udev->dev, "setting power %s\n", onoff ? "ON" : "OFF");
drivers/media/usb/dvb-usb/cxusb.c
300
if (onoff)
drivers/media/usb/dvb-usb/cxusb.c
306
static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
311
if (is_medion && !onoff) {
drivers/media/usb/dvb-usb/cxusb.c
323
ret = _cxusb_power_ctrl(d, onoff);
drivers/media/usb/dvb-usb/cxusb.c
326
if (is_medion && !onoff) {
drivers/media/usb/dvb-usb/cxusb.c
335
static int cxusb_aver_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
339
if (!onoff)
drivers/media/usb/dvb-usb/cxusb.c
382
static int cxusb_bluebird_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
386
if (onoff)
drivers/media/usb/dvb-usb/cxusb.c
392
static int cxusb_nano2_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
396
rc = cxusb_power_ctrl(d, onoff);
drivers/media/usb/dvb-usb/cxusb.c
397
if (!onoff)
drivers/media/usb/dvb-usb/cxusb.c
403
static int cxusb_d680_dmb_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
408
ret = cxusb_power_ctrl(d, onoff);
drivers/media/usb/dvb-usb/cxusb.c
409
if (!onoff)
drivers/media/usb/dvb-usb/cxusb.c
418
static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
425
if (is_medion && onoff) {
drivers/media/usb/dvb-usb/cxusb.c
433
if (onoff)
drivers/media/usb/dvb-usb/cxusb.c
438
if (is_medion && !onoff)
drivers/media/usb/dvb-usb/cxusb.c
444
static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/cxusb.c
446
if (onoff)
drivers/media/usb/dvb-usb/cxusb.c
501
int onoff)
drivers/media/usb/dvb-usb/cxusb.c
503
if (onoff) {
drivers/media/usb/dvb-usb/dib0700.h
65
int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff);
drivers/media/usb/dvb-usb/dib0700_core.c
583
int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dib0700_core.c
588
if ((onoff != 0) && (st->fw_version >= 0x10201)) {
drivers/media/usb/dvb-usb/dib0700_core.c
604
st->buf[1] = (onoff << 4) | 0x00;
drivers/media/usb/dvb-usb/dib0700_core.c
622
if (onoff)
drivers/media/usb/dvb-usb/dib0700_core.c
630
adapt_nr, onoff ? "ON" : "OFF", 3, st->buf);
drivers/media/usb/dvb-usb/dib0700_devices.c
1230
static int dib80xx_tuner_reset(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
1235
return state->dib8000_ops.set_gpio(fe, 5, 0, !onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
1238
static int dib80xx_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
1243
return state->dib8000_ops.set_gpio(fe, 0, 0, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
1327
u16 pid, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
1331
return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
1335
int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
1339
return state->dib8000_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
2194
static int dib90x0_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
2196
return dib9000_fw_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
2199
static int dib90x0_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
2201
return dib9000_fw_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
2204
static int dib90x0_tuner_reset(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
2206
return dib9000_set_gpio(fe, 5, 0, !onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
2209
static int dib90x0_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
2211
return dib9000_set_gpio(fe, 0, 0, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
796
static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
801
deb_info("reset: %d", onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
802
return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
805
static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
810
deb_info("sleep: %d", onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
811
return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
917
u16 pid, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
923
return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
924
return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
927
static int stk7700p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
932
return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
933
return dib7000m_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
936
static int stk70x0p_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
939
return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff);
drivers/media/usb/dvb-usb/dib0700_devices.c
942
static int stk70x0p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff)
drivers/media/usb/dvb-usb/dib0700_devices.c
945
return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff);
drivers/media/usb/dvb-usb/dibusb-common.c
105
b[1] = onoff ? DIBUSB_IOCTL_CMD_ENABLE_STREAM : DIBUSB_IOCTL_CMD_DISABLE_STREAM;
drivers/media/usb/dvb-usb/dibusb-common.c
114
int dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
119
if (!onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
23
int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
28
if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) {
drivers/media/usb/dvb-usb/dibusb-common.c
37
int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
43
index, pid, onoff);
drivers/media/usb/dvb-usb/dibusb-common.c
49
int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
54
if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0)
drivers/media/usb/dvb-usb/dibusb-common.c
61
int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
72
b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP;
drivers/media/usb/dvb-usb/dibusb-common.c
84
int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dibusb-common.c
93
if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0)
drivers/media/usb/dvb-usb/dibusb-common.c
96
if (onoff) {
drivers/media/usb/dvb-usb/dtt200u.c
24
static int dtt200u_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/dtt200u.c
33
if (onoff)
drivers/media/usb/dvb-usb/dtt200u.c
40
static int dtt200u_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dtt200u.c
48
st->data[1] = onoff;
drivers/media/usb/dvb-usb/dtt200u.c
54
if (onoff)
drivers/media/usb/dvb-usb/dtt200u.c
66
static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
drivers/media/usb/dvb-usb/dtt200u.c
72
pid = onoff ? pid : 0;
drivers/media/usb/dvb-usb/dvb-usb-common.h
32
extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff);
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
14
static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
233
static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff)
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
238
adap->props.frontend_ctrl(fe, onoff) : 0;
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
244
if (onoff)
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
27
newfeedcount = adap->feedcount + (onoff ? 1 : -1);
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
49
dvbdmxfeed->index, onoff ? "on" : "off");
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
53
adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff);
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
58
if (adap->feedcount == onoff && adap->feedcount > 0) {
drivers/media/usb/dvb-usb/dvb-usb-init.c
249
int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/dvb-usb-init.c
251
if (onoff)
drivers/media/usb/dvb-usb/dvb-usb-init.c
256
if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 */
drivers/media/usb/dvb-usb/dvb-usb-init.c
257
deb_info("power control: %d\n", onoff);
drivers/media/usb/dvb-usb/dvb-usb-init.c
259
return d->props.power_ctrl(d, onoff);
drivers/media/usb/dvb-usb/dw2102.c
941
static int su3000_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/dw2102.c
948
.buf = onoff ? command_start : command_stop,
drivers/media/usb/dvb-usb/gp8psk.c
183
static int gp8psk_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/gp8psk.c
188
if (onoff) {
drivers/media/usb/dvb-usb/gp8psk.c
248
static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/gp8psk.c
250
return gp8psk_usb_out_op(adap->dev, ARM_TRANSFER, onoff, 0 , NULL, 0);
drivers/media/usb/dvb-usb/m920x.c
381
static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/m920x.c
385
m->filtering_enabled[adap->id] = onoff ? 1 : 0;
drivers/media/usb/dvb-usb/m920x.c
390
static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
drivers/media/usb/dvb-usb/m920x.c
394
m->filters[adap->id][index] = onoff ? pid : 0;
drivers/media/usb/dvb-usb/opera1.c
278
static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/opera1.c
280
u8 val = onoff ? 0x01 : 0x00;
drivers/media/usb/dvb-usb/opera1.c
283
info("power %s", onoff ? "on" : "off");
drivers/media/usb/dvb-usb/opera1.c
288
static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/opera1.c
293
{.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2},
drivers/media/usb/dvb-usb/opera1.c
296
info("streaming %s", onoff ? "on" : "off");
drivers/media/usb/dvb-usb/opera1.c
302
int onoff)
drivers/media/usb/dvb-usb/opera1.c
310
onoff ? "on" : "off");
drivers/media/usb/dvb-usb/opera1.c
312
b_pid[1] = onoff ? (pid & 0xff) : (0x00);
drivers/media/usb/dvb-usb/opera1.c
313
b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00);
drivers/media/usb/dvb-usb/opera1.c
318
static int opera1_pid_filter_control(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/opera1.c
326
info("%s hw-pidfilter", onoff ? "enable" : "disable");
drivers/media/usb/dvb-usb/ttusb2.c
479
static int ttusb2_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/ttusb2.c
481
u8 b = onoff;
drivers/media/usb/dvb-usb/vp702x.c
187
static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff)
drivers/media/usb/dvb-usb/vp702x.c
193
if (onoff)
drivers/media/usb/dvb-usb/vp702x.c
245
static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
drivers/media/usb/dvb-usb/vp7045.c
91
static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff)
drivers/media/usb/dvb-usb/vp7045.c
93
u8 v = onoff;
drivers/media/usb/pvrusb2/pvrusb2-dvb.c
190
static int pvr2_dvb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
drivers/media/usb/pvrusb2/pvrusb2-dvb.c
199
if (onoff) {
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4032
static int pvr2_hdw_cmd_hcw_demod_reset(struct pvr2_hdw *hdw, int onoff)
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4046
((onoff ? 1 : 0) << 16));
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4052
((onoff ? 1 : 0) << 16));
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4056
static int pvr2_hdw_cmd_onair_fe_power_ctrl(struct pvr2_hdw *hdw, int onoff)
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4059
return pvr2_issue_simple_cmd(hdw,(onoff ?
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4066
int onoff)
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4068
return pvr2_issue_simple_cmd(hdw,(onoff ?
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4110
static void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff)
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4118
if (onoff) {
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4135
static void pvr2_led_ctrl(struct pvr2_hdw *hdw,int onoff)
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4140
if ((!onoff) == (!hdw->led_on)) return;
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4142
hdw->led_on = onoff != 0;
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
4151
if (fp) (*fp)(hdw,onoff);
drivers/net/can/sja1000/peak_pcmcia.c
361
static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff)
drivers/net/can/sja1000/peak_pcmcia.c
365
err = pcan_write_eeprom(card, 0, !!onoff);
drivers/net/can/sja1000/peak_pcmcia.c
369
(onoff) ? "on" : "off", err);
drivers/net/can/usb/peak_usb/pcan_usb.c
223
static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb.c
226
[0] = !!onoff,
drivers/net/can/usb/peak_usb/pcan_usb.c
233
static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb.c
236
[0] = !!onoff,
drivers/net/can/usb/peak_usb/pcan_usb.c
253
static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb.c
256
[0] = !!onoff,
drivers/net/can/usb/peak_usb/pcan_usb.c
262
static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb.c
265
[0] = !!onoff,
drivers/net/can/usb/peak_usb/pcan_usb.c
298
static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb.c
302
err = pcan_usb_set_bus(dev, onoff);
drivers/net/can/usb/peak_usb/pcan_usb.c
306
if (!onoff) {
drivers/net/can/usb/peak_usb/pcan_usb_core.h
62
int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff);
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
312
static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
317
if (onoff) {
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
376
bool onoff, u16 ucan_mask, u16 usb_mask)
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
381
(onoff) ? PUCAN_CMD_SET_EN_OPTION :
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
350
static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff)
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
355
pcan_msg_add_rec(&um, PCAN_USBPRO_SETTS, onoff);
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
375
static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
380
if (onoff) {
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
388
pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff);
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
393
static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff)
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
398
pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff);
drivers/net/can/usb/peak_usb/pcan_usb_pro.h
91
__le16 onoff;
drivers/net/can/usb/peak_usb/pcan_usb_pro.h
97
__le16 onoff;
drivers/net/ethernet/broadcom/sb1250-mac.c
1683
static void sbmac_promiscuous_mode(struct sbmac_softc *sc,int onoff)
drivers/net/ethernet/broadcom/sb1250-mac.c
1690
if (onoff) {
drivers/net/ethernet/broadcom/sb1250-mac.c
286
static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff);
drivers/net/wireless/atmel/at76c50x-usb.c
913
static int at76_set_autorate_fallback(struct at76_priv *priv, int onoff)
drivers/net/wireless/atmel/at76c50x-usb.c
920
priv->mib_buf.data.byte = onoff;
drivers/pcmcia/ricoh.h
134
static void ricoh_zoom_video(struct pcmcia_socket *sock, int onoff)
drivers/pcmcia/ricoh.h
140
if (onoff)
drivers/pcmcia/ti113x.h
204
static void ti_zoom_video(struct pcmcia_socket *sock, int onoff)
drivers/pcmcia/ti113x.h
212
if (onoff)
drivers/pcmcia/ti113x.h
229
static void ti1250_zoom_video(struct pcmcia_socket *sock, int onoff)
drivers/pcmcia/ti113x.h
235
ti_zoom_video(sock, onoff);
drivers/pcmcia/ti113x.h
243
if(onoff)
drivers/pcmcia/topic.h
110
static void topic97_zoom_video(struct pcmcia_socket *sock, int onoff)
drivers/pcmcia/topic.h
116
if (onoff) {
drivers/pwm/pwm-pca9685.c
170
u8 onoff[4];
drivers/pwm/pwm-pca9685.c
185
.onoff = { 0, 0, 0, LED_FULL, },
drivers/pwm/pwm-pca9685.c
191
wfhw->onoff[0], wfhw->onoff[1], wfhw->onoff[2], wfhw->onoff[3], wfhw->prescale);
drivers/pwm/pwm-pca9685.c
241
.onoff = { on & 0xff, (on >> 8) & 0xf, off & 0xff, (off >> 8) & 0xf },
drivers/pwm/pwm-pca9685.c
246
.onoff = { 0, LED_FULL, 0, 0, },
drivers/pwm/pwm-pca9685.c
253
ret_tohw ? "#" : "", wfhw->onoff[0], wfhw->onoff[1], wfhw->onoff[2], wfhw->onoff[3], wfhw->prescale);
drivers/pwm/pwm-pca9685.c
278
if (wfhw->onoff[3] & LED_FULL) {
drivers/pwm/pwm-pca9685.c
281
} else if (wfhw->onoff[1] & LED_FULL) {
drivers/pwm/pwm-pca9685.c
285
unsigned int on = wfhw->onoff[0] | (wfhw->onoff[1] & 0xf) << 8;
drivers/pwm/pwm-pca9685.c
286
unsigned int off = wfhw->onoff[2] | (wfhw->onoff[3] & 0xf) << 8;
drivers/pwm/pwm-pca9685.c
294
wfhw->onoff[0], wfhw->onoff[1], wfhw->onoff[2], wfhw->onoff[3], wfhw->prescale,
drivers/pwm/pwm-pca9685.c
309
ret = regmap_bulk_read(pca->regmap, REG_ON_L(pwm->hwpwm), &wfhw->onoff, 4);
drivers/pwm/pwm-pca9685.c
357
return regmap_bulk_write(pca->regmap, REG_ON_L(pwm->hwpwm), &wfhw->onoff, 4);
drivers/s390/char/vmlogrdr.c
249
char *onoff, *qid_string;
drivers/s390/char/vmlogrdr.c
252
onoff = ((action == 1) ? "ON" : "OFF");
drivers/s390/char/vmlogrdr.c
276
onoff,
drivers/s390/cio/ccwgroup.c
109
atomic_set(&gdev->onoff, 0);
drivers/s390/cio/ccwgroup.c
177
if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
drivers/s390/cio/ccwgroup.c
191
atomic_set(&gdev->onoff, 0);
drivers/s390/cio/ccwgroup.c
329
atomic_set(&gdev->onoff, 0);
drivers/s390/cio/ccwgroup.c
63
if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
drivers/s390/cio/ccwgroup.c
74
atomic_set(&gdev->onoff, 0);
drivers/s390/cio/ccwgroup.c
93
if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0)
drivers/s390/cio/chp.c
56
static void set_chp_logically_online(struct chp_id chpid, int onoff)
drivers/s390/cio/chp.c
58
chpid_to_chp(chpid)->state = onoff;
drivers/s390/cio/cmf.c
163
static inline void cmf_activate(void *area, unsigned int onoff)
drivers/s390/cio/cmf.c
171
: [r1] "d" ((unsigned long)onoff),
drivers/s390/cio/device.c
1334
if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
drivers/s390/cio/device.c
1337
atomic_set(&cdev->private->onoff, 0);
drivers/s390/cio/device.c
497
if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0)
drivers/s390/cio/device.c
535
atomic_set(&cdev->private->onoff, 0);
drivers/s390/cio/device.c
750
atomic_set(&priv->onoff, 0);
drivers/s390/cio/io_sch.h
134
atomic_t onoff;
drivers/staging/greybus/arche-platform.c
87
static inline void svc_reset_onoff(struct gpio_desc *gpio, bool onoff)
drivers/staging/greybus/arche-platform.c
89
gpiod_set_raw_value(gpio, onoff);
drivers/usb/serial/whiteheat.c
157
static int firm_set_rts(struct usb_serial_port *port, __u8 onoff);
drivers/usb/serial/whiteheat.c
158
static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff);
drivers/usb/serial/whiteheat.c
159
static int firm_set_break(struct usb_serial_port *port, __u8 onoff);
drivers/usb/serial/whiteheat.c
689
static int firm_set_rts(struct usb_serial_port *port, __u8 onoff)
drivers/usb/serial/whiteheat.c
694
rts_command.state = onoff;
drivers/usb/serial/whiteheat.c
700
static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff)
drivers/usb/serial/whiteheat.c
705
dtr_command.state = onoff;
drivers/usb/serial/whiteheat.c
711
static int firm_set_break(struct usb_serial_port *port, __u8 onoff)
drivers/usb/serial/whiteheat.c
716
break_command.state = onoff;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3016
bool onoff, rf, ipc, vs, hs, de;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3073
onoff = true;
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3086
l = FLD_VAL(onoff, 17, 17) |
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3109
val = (rf << 0) | (ipc << 3) | (onoff << 6);
sound/isa/wavefront/wavefront_fx.c
49
wavefront_fx_mute (snd_wavefront_t *dev, int onoff)
sound/isa/wavefront/wavefront_fx.c
56
outb (onoff ? 0x02 : 0x00, dev->fx_op);
sound/pci/rme9652/rme9652.c
574
static int rme9652_set_passthru(struct snd_rme9652 *rme9652, int onoff)
sound/pci/rme9652/rme9652.c
576
if (onoff) {
sound/pci/rme9652/rme9652.c
602
static void rme9652_spdif_set_bit (struct snd_rme9652 *rme9652, int mask, int onoff)
sound/pci/rme9652/rme9652.c
604
if (onoff)
sound/soc/codecs/max98396.c
341
static void max98396_global_enable_onoff(struct regmap *regmap, bool onoff)
sound/soc/codecs/max98396.c
343
regmap_write(regmap, MAX98396_R210F_GLOBAL_EN, onoff ? 1 : 0);
tools/mm/slabinfo.c
576
s->object_size, s->slabs, onoff(s->sanity_checks),
tools/mm/slabinfo.c
580
onoff(s->red_zone), s->objects * s->object_size);
tools/mm/slabinfo.c
582
page_size << s->order, s->partial, onoff(s->poison),
tools/mm/slabinfo.c
585
s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user),
tools/mm/slabinfo.c
588
s->align, s->objs_per_slab, onoff(s->trace),
tools/testing/selftests/powerpc/nx-gzip/include/nx_dbg.h
93
void nx_lib_debug(int onoff);
tools/tracing/rtla/src/common.h
149
int osnoise_set_workload(struct osnoise_context *context, bool onoff);
tools/tracing/rtla/src/osnoise.c
775
static int osnoise_options_set_option(char *option, bool onoff)
tools/tracing/rtla/src/osnoise.c
779
if (onoff)
tools/tracing/rtla/src/osnoise.c
800
int osnoise_set_irq_disable(struct osnoise_context *context, bool onoff)
tools/tracing/rtla/src/osnoise.c
808
if (opt_irq_disable == onoff)
tools/tracing/rtla/src/osnoise.c
811
retval = osnoise_options_set_option("OSNOISE_IRQ_DISABLE", onoff);
tools/tracing/rtla/src/osnoise.c
815
context->opt_irq_disable = onoff;
tools/tracing/rtla/src/osnoise.c
861
int osnoise_set_workload(struct osnoise_context *context, bool onoff)
tools/tracing/rtla/src/osnoise.c
869
if (opt_workload == onoff)
tools/tracing/rtla/src/osnoise.c
872
retval = osnoise_options_set_option("OSNOISE_WORKLOAD", onoff);
tools/tracing/rtla/src/osnoise.c
876
context->opt_workload = onoff;
tools/tracing/rtla/src/osnoise.h
52
int osnoise_set_irq_disable(struct osnoise_context *context, bool onoff);