/linux-4.4.14/drivers/media/common/b2c2/ |
D | flexcop-hw-filter.c | 8 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) in flexcop_rcv_data_ctrl() argument 10 flexcop_set_ibi_value(ctrl_208, Rcv_Data_sig, onoff); in flexcop_rcv_data_ctrl() 11 deb_ts("rcv_data is now: '%s'\n", onoff ? "on" : "off"); in flexcop_rcv_data_ctrl() 14 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) in flexcop_smc_ctrl() argument 16 flexcop_set_ibi_value(ctrl_208, SMC_Enable_sig, onoff); in flexcop_smc_ctrl() 19 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_null_filter_ctrl() argument 21 flexcop_set_ibi_value(ctrl_208, Null_filter_sig, onoff); in flexcop_null_filter_ctrl() 40 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_mac_filter_ctrl() argument 42 flexcop_set_ibi_value(ctrl_208, MAC_filter_Mode_sig, onoff); in flexcop_mac_filter_ctrl() 55 static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_pid_group_filter_ctrl() argument [all …]
|
D | flexcop-common.h | 127 flexcop_dma_index_t no, int onoff); 129 flexcop_dma_index_t no, int onoff); 134 int onoff); 178 struct dvb_demux_feed *dvbdmxfeed, int onoff); 181 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff); 184 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff);
|
/linux-4.4.14/drivers/media/pci/b2c2/ |
D | flexcop-dma.c | 73 int onoff) in flexcop_dma_xfer_control() argument 97 v0x0.dma_0x0.dma_0start = onoff; in flexcop_dma_xfer_control() 100 v0xc.dma_0xc.dma_1start = onoff; in flexcop_dma_xfer_control() 113 int onoff) in flexcop_dma_remap() argument 118 v.dma_0xc.remap_enable = onoff; in flexcop_dma_remap() 125 int onoff) in flexcop_dma_control_size_irq() argument 130 v.ctrl_208.DMA1_IRQ_Enable_sig = onoff; in flexcop_dma_control_size_irq() 133 v.ctrl_208.DMA2_IRQ_Enable_sig = onoff; in flexcop_dma_control_size_irq() 142 int onoff) in flexcop_dma_control_timer_irq() argument 147 v.ctrl_208.DMA1_Timer_Enable_sig = onoff; in flexcop_dma_control_timer_irq() [all …]
|
D | flexcop-pci.c | 232 static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff) in flexcop_pci_stream_control() argument 235 if (onoff) { in flexcop_pci_stream_control()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | dibusb-common.c | 26 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_streaming_ctrl() argument 31 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { in dibusb_streaming_ctrl() 40 int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in dibusb_pid_filter() argument 46 index, pid, onoff); in dibusb_pid_filter() 52 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_pid_filter_ctrl() argument 57 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) in dibusb_pid_filter_ctrl() 64 int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff) in dibusb_power_ctrl() argument 70 b[2] = onoff ? DIBUSB_IOCTL_POWER_WAKEUP : DIBUSB_IOCTL_POWER_SLEEP; in dibusb_power_ctrl() 77 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb2_0_streaming_ctrl() argument 82 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0) in dibusb2_0_streaming_ctrl() [all …]
|
D | opera1.c | 286 static int opera1_power_ctrl(struct dvb_usb_device *d, int onoff) in opera1_power_ctrl() argument 288 u8 val = onoff ? 0x01 : 0x00; in opera1_power_ctrl() 291 info("power %s", onoff ? "on" : "off"); in opera1_power_ctrl() 296 static int opera1_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in opera1_streaming_ctrl() argument 301 {.addr = ADDR_B1A6_STREAM_CTRL,.buf = onoff ? buf_start : buf_stop,.len = 2}, in opera1_streaming_ctrl() 304 info("streaming %s", onoff ? "on" : "off"); in opera1_streaming_ctrl() 310 int onoff) in opera1_pid_filter() argument 318 onoff ? "on" : "off"); in opera1_pid_filter() 320 b_pid[1] = onoff ? (pid & 0xff) : (0x00); in opera1_pid_filter() 321 b_pid[2] = onoff ? ((pid >> 8) & 0xff) : (0x00); in opera1_pid_filter() [all …]
|
D | dtt200u.c | 23 static int dtt200u_power_ctrl(struct dvb_usb_device *d, int onoff) in dtt200u_power_ctrl() argument 27 if (onoff) in dtt200u_power_ctrl() 33 static int dtt200u_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dtt200u_streaming_ctrl() argument 35 u8 b_streaming[2] = { SET_STREAMING, onoff }; in dtt200u_streaming_ctrl() 40 if (onoff == 0) in dtt200u_streaming_ctrl() 45 static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in dtt200u_pid_filter() argument 48 pid = onoff ? pid : 0; in dtt200u_pid_filter()
|
D | dvb-usb-dvb.c | 12 static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) in dvb_usb_ctrl_feed() argument 25 newfeedcount = adap->feedcount + (onoff ? 1 : -1); in dvb_usb_ctrl_feed() 47 dvbdmxfeed->index, onoff ? "on" : "off"); in dvb_usb_ctrl_feed() 51 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); in dvb_usb_ctrl_feed() 56 if (adap->feedcount == onoff && adap->feedcount > 0) { in dvb_usb_ctrl_feed() 227 static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff) in dvb_usb_set_active_fe() argument 232 adap->props.frontend_ctrl(fe, onoff) : 0; in dvb_usb_set_active_fe() 238 if (onoff) in dvb_usb_set_active_fe()
|
D | cxusb.c | 84 static void cxusb_gpio_tuner(struct dvb_usb_device *d, int onoff) in cxusb_gpio_tuner() argument 89 if (st->gpio_write_state[GPIO_TUNER] == onoff) in cxusb_gpio_tuner() 93 o[1] = onoff; in cxusb_gpio_tuner() 99 st->gpio_write_state[GPIO_TUNER] = onoff; in cxusb_gpio_tuner() 125 static void cxusb_nano2_led(struct dvb_usb_device *d, int onoff) in cxusb_nano2_led() argument 127 cxusb_bluebird_gpio_rw(d, 0x40, onoff ? 0 : 0x40); in cxusb_nano2_led() 131 u8 addr, int onoff) in cxusb_d680_dmb_gpio_tuner() argument 133 u8 o[2] = {addr, onoff}; in cxusb_d680_dmb_gpio_tuner() 267 static int cxusb_power_ctrl(struct dvb_usb_device *d, int onoff) in cxusb_power_ctrl() argument 270 if (onoff) in cxusb_power_ctrl() [all …]
|
D | dvb-usb-init.c | 215 int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff) in dvb_usb_device_power_ctrl() argument 217 if (onoff) in dvb_usb_device_power_ctrl() 222 …if (d->powered == 0 || (onoff && d->powered == 1)) { /* when switching from 1 to 0 or from 0 to 1 … in dvb_usb_device_power_ctrl() 223 deb_info("power control: %d\n", onoff); in dvb_usb_device_power_ctrl() 225 return d->props.power_ctrl(d, onoff); in dvb_usb_device_power_ctrl()
|
D | af9005.c | 771 int af9005_led_control(struct dvb_usb_device *d, int onoff) in af9005_led_control() argument 776 if (onoff && dvb_usb_af9005_led) in af9005_led_control() 875 static int af9005_power_ctrl(struct dvb_usb_device *d, int onoff) in af9005_power_ctrl() argument 881 static int af9005_pid_filter_control(struct dvb_usb_adapter *adap, int onoff) in af9005_pid_filter_control() argument 884 deb_info("pid filter control onoff %d\n", onoff); in af9005_pid_filter_control() 885 if (onoff) { in af9005_pid_filter_control() 907 u16 pid, int onoff) in af9005_pid_filter() argument 912 pid, onoff); in af9005_pid_filter() 913 if (onoff) { in af9005_pid_filter() 918 ret = af9005_pid_filter_control(adap, onoff); in af9005_pid_filter() [all …]
|
D | gp8psk.c | 164 static int gp8psk_power_ctrl(struct dvb_usb_device *d, int onoff) in gp8psk_power_ctrl() argument 169 if (onoff) { in gp8psk_power_ctrl() 226 static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in gp8psk_streaming_ctrl() argument 228 return gp8psk_usb_out_op(adap->dev, ARM_TRANSFER, onoff, 0 , NULL, 0); in gp8psk_streaming_ctrl()
|
D | friio.c | 200 static int friio_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff); 382 static int friio_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in friio_streaming_ctrl() argument 386 deb_info("%s called.(%d)\n", __func__, onoff); in friio_streaming_ctrl() 389 if (onoff) in friio_streaming_ctrl()
|
D | dib0700_devices.c | 795 static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) in dib7070_tuner_reset() argument 800 deb_info("reset: %d", onoff); in dib7070_tuner_reset() 801 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); in dib7070_tuner_reset() 804 static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) in dib7070_tuner_sleep() argument 809 deb_info("sleep: %d", onoff); in dib7070_tuner_sleep() 810 return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff); in dib7070_tuner_sleep() 916 u16 pid, int onoff) in stk7700p_pid_filter() argument 922 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk7700p_pid_filter() 923 return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk7700p_pid_filter() 926 static int stk7700p_pid_filter_ctrl(struct dvb_usb_adapter *adapter, int onoff) in stk7700p_pid_filter_ctrl() argument [all …]
|
D | dib0700_core.c | 548 int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dib0700_streaming_ctrl() argument 553 if ((onoff != 0) && (st->fw_version >= 0x10201)) { in dib0700_streaming_ctrl() 569 st->buf[1] = (onoff << 4) | 0x00; in dib0700_streaming_ctrl() 578 deb_info("modifying (%d) streaming state for %d\n", onoff, adap->id); in dib0700_streaming_ctrl() 584 if (onoff) in dib0700_streaming_ctrl() 589 if (onoff) in dib0700_streaming_ctrl()
|
D | vp7045.c | 94 static int vp7045_power_ctrl(struct dvb_usb_device *d, int onoff) in vp7045_power_ctrl() argument 96 u8 v = onoff; in vp7045_power_ctrl()
|
D | vp702x.c | 190 static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) in vp702x_set_pid() argument 196 if (onoff) in vp702x_set_pid() 248 static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in vp702x_streaming_ctrl() argument
|
D | dvb-usb-common.h | 30 extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff);
|
D | dib0700.h | 63 extern int dib0700_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff);
|
D | gp8psk-fe.c | 282 static int gp8psk_fe_enable_high_lnb_voltage(struct dvb_frontend* fe, long onoff) in gp8psk_fe_enable_high_lnb_voltage() argument 285 return gp8psk_usb_out_op(state->d, USE_EXTRA_VOLT, onoff, 0,NULL,0); in gp8psk_fe_enable_high_lnb_voltage()
|
D | az6027.c | 366 static int az6027_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in az6027_streaming_ctrl() argument 374 deb_info("%s %d", __func__, onoff); in az6027_streaming_ctrl() 377 value = onoff; in az6027_streaming_ctrl() 885 static int az6027_frontend_tsbypass(struct dvb_usb_adapter *adap, int onoff) in az6027_frontend_tsbypass() argument 895 value = onoff; in az6027_frontend_tsbypass()
|
D | a800.c | 26 static int a800_power_ctrl(struct dvb_usb_device *d, int onoff) in a800_power_ctrl() argument
|
D | m920x.c | 380 static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in m920x_pid_filter_ctrl() argument 384 m->filtering_enabled[adap->id] = onoff ? 1 : 0; in m920x_pid_filter_ctrl() 389 static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in m920x_pid_filter() argument 393 m->filters[adap->id][index] = onoff ? pid : 0; in m920x_pid_filter()
|
D | ttusb2.c | 462 static int ttusb2_power_ctrl(struct dvb_usb_device *d, int onoff) in ttusb2_power_ctrl() argument 464 u8 b = onoff; in ttusb2_power_ctrl()
|
D | dw2102.c | 878 static int su3000_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in su3000_streaming_ctrl() argument 885 .buf = onoff ? command_start : command_stop, in su3000_streaming_ctrl()
|
D | af9005.h | 3486 extern int af9005_led_control(struct dvb_usb_device *d, int onoff);
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | dib3000.h | 38 int (*pid_parse)(struct dvb_frontend *fe, int onoff); 39 int (*fifo_ctrl)(struct dvb_frontend *fe, int onoff); 40 int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff); 41 int (*tuner_pass_ctrl)(struct dvb_frontend *fe, int onoff, u8 pll_ctrl);
|
D | dib7000m.h | 50 extern int dib7000m_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff); 51 extern int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); 70 u16 pid, u8 onoff) in dib7000m_pid_filter() argument 77 uint8_t onoff) in dib7000m_pid_filter_ctrl() argument
|
D | dib9000.h | 36 extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); 37 extern int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); 76 static inline int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) in dib9000_fw_pid_filter_ctrl() argument 82 static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) in dib9000_fw_pid_filter() argument
|
D | dib7000p.h | 59 int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); 60 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); 63 int (*tuner_sleep)(struct dvb_frontend *fe, int onoff);
|
D | af9033.h | 96 int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff); 98 int onoff);
|
D | dib3000mb.c | 713 static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff) in dib3000mb_pid_control() argument 716 pid = (onoff ? pid | DIB3000_ACTIVATE_PID_FILTERING : 0); in dib3000mb_pid_control() 721 static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff) in dib3000mb_fifo_control() argument 725 deb_xfer("%s fifo\n",onoff ? "enabling" : "disabling"); in dib3000mb_fifo_control() 726 if (onoff) { in dib3000mb_fifo_control() 734 static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff) in dib3000mb_pid_parse() argument 737 deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling"); in dib3000mb_pid_parse() 738 wr(DIB3000MB_REG_PID_PARSE,onoff); in dib3000mb_pid_parse() 742 static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr) in dib3000mb_tuner_pass_ctrl() argument 745 if (onoff) { in dib3000mb_tuner_pass_ctrl()
|
D | dib8000.h | 49 int (*tuner_sleep)(struct dvb_frontend *fe, int onoff); 61 int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); 62 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
|
D | dib3000mc.h | 81 extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff); 82 extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);
|
D | dib7000m.c | 338 static int dib7000m_set_diversity_in(struct dvb_frontend *demod, int onoff) in dib7000m_set_diversity_in() argument 344 onoff = 0; in dib7000m_set_diversity_in() 346 state->div_state = (u8)onoff; in dib7000m_set_diversity_in() 348 if (onoff) { in dib7000m_set_diversity_in() 1328 int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) in dib7000m_pid_filter_ctrl() argument 1332 val |= (onoff & 0x1) << 4; in dib7000m_pid_filter_ctrl() 1333 dprintk("PID filter enabled %d", onoff); in dib7000m_pid_filter_ctrl() 1338 int dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) in dib7000m_pid_filter() argument 1341 dprintk("PID filter: index %x, PID %d, OnOff %d", id, pid, onoff); in dib7000m_pid_filter() 1343 onoff ? (1 << 13) | pid : 0); in dib7000m_pid_filter()
|
D | dib7000p.c | 92 static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff); 222 static int dib7000p_set_diversity_in(struct dvb_frontend *demod, int onoff) in dib7000p_set_diversity_in() argument 228 onoff = 0; in dib7000p_set_diversity_in() 233 state->div_state = (u8) onoff; in dib7000p_set_diversity_in() 235 if (onoff) { in dib7000p_set_diversity_in() 2048 static int dib7000p_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) in dib7000p_pid_filter_ctrl() argument 2052 val |= (onoff & 0x1) << 4; in dib7000p_pid_filter_ctrl() 2053 dprintk("PID filter enabled %d", onoff); in dib7000p_pid_filter_ctrl() 2057 static int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) in dib7000p_pid_filter() argument 2060 dprintk("PID filter: index %x, PID %d, OnOff %d", id, pid, onoff); in dib7000p_pid_filter() [all …]
|
D | lg2160.c | 138 u16 reg, int bit, int onoff) in lg216x_set_reg_bit() argument 143 lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff); in lg216x_set_reg_bit() 150 val |= (onoff & 1) << bit; in lg216x_set_reg_bit() 374 static int lg2160_tuner_pwr_save(struct lg216x_state *state, int onoff) in lg2160_tuner_pwr_save() argument 384 val |= (onoff) ? 0x40 : 0x00; in lg2160_tuner_pwr_save() 470 static int lg216x_enable_fic(struct lg216x_state *state, int onoff) in lg216x_enable_fic() argument 485 0xfc | ((onoff) ? 0x02 : 0x00)); in lg216x_enable_fic() 488 ret = lg216x_write_reg(state, 0x0016, (onoff) ? 0x10 : 0x00); in lg216x_enable_fic() 498 if (onoff) { in lg216x_enable_fic()
|
D | dib0090.h | 91 extern int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff); 166 static inline int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff) in dib0090_set_vga() argument
|
D | rtl2830.c | 609 static int rtl2830_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) in rtl2830_pid_filter_ctrl() argument 615 dev_dbg(&client->dev, "onoff=%d\n", onoff); in rtl2830_pid_filter_ctrl() 618 if (onoff) in rtl2830_pid_filter_ctrl() 633 static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff) in rtl2830_pid_filter() argument 641 index, pid, onoff); in rtl2830_pid_filter() 647 if (onoff) in rtl2830_pid_filter()
|
D | au8522_common.c | 141 static int au8522_led_gpio_enable(struct au8522_state *state, int onoff) in au8522_led_gpio_enable() argument 153 if (onoff) { in au8522_led_gpio_enable()
|
D | dib9000.c | 40 u8 onoff; member 1525 static int dib9000_fw_set_diversity_in(struct dvb_frontend *fe, int onoff) in dib9000_fw_set_diversity_in() argument 1528 u16 mode = (u16) onoff; in dib9000_fw_set_diversity_in() 1774 int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) in dib9000_fw_pid_filter_ctrl() argument 1785 state->pid_ctrl[state->pid_ctrl_index].onoff = onoff; in dib9000_fw_pid_filter_ctrl() 1795 val |= (onoff & 0x1) << 4; in dib9000_fw_pid_filter_ctrl() 1797 dprintk("PID filter enabled %d", onoff); in dib9000_fw_pid_filter_ctrl() 1805 int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) in dib9000_fw_pid_filter() argument 1818 state->pid_ctrl[state->pid_ctrl_index].onoff = onoff; in dib9000_fw_pid_filter() 1828 dprintk("Index %x, PID %d, OnOff %d", id, pid, onoff); in dib9000_fw_pid_filter() [all …]
|
D | rtl2832.c | 1131 static int rtl2832_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) in rtl2832_pid_filter_ctrl() argument 1138 dev_dbg(&client->dev, "onoff=%d\n", onoff); in rtl2832_pid_filter_ctrl() 1141 if (onoff) in rtl2832_pid_filter_ctrl() 1157 int onoff) in rtl2832_pid_filter() argument 1165 index, pid, onoff); in rtl2832_pid_filter() 1171 if (onoff) in rtl2832_pid_filter()
|
D | af9033.c | 1010 static int af9033_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) in af9033_pid_filter_ctrl() argument 1015 dev_dbg(&dev->client->dev, "onoff=%d\n", onoff); in af9033_pid_filter_ctrl() 1017 ret = af9033_wr_reg_mask(dev, 0x80f993, onoff, 0x01); in af9033_pid_filter_ctrl() 1030 int onoff) in af9033_pid_filter() argument 1037 index, pid, onoff); in af9033_pid_filter() 1046 ret = af9033_wr_reg(dev, 0x80f994, onoff); in af9033_pid_filter()
|
D | dib8000.c | 462 static int dib8000_set_diversity_in(struct dvb_frontend *fe, int onoff) in dib8000_set_diversity_in() argument 467 dprintk("set diversity input to %i", onoff); in dib8000_set_diversity_in() 475 state->diversity_onoff = onoff; in dib8000_set_diversity_in() 477 switch (onoff) { in dib8000_set_diversity_in() 1436 static void dib8096p_enMpegMux(struct dib8000_state *state, int onoff) in dib8096p_enMpegMux() argument 1442 switch (onoff) { in dib8096p_enMpegMux() 1522 static int dib8096p_set_diversity_in(struct dvb_frontend *fe, int onoff) in dib8096p_set_diversity_in() argument 1527 switch (onoff) { in dib8096p_set_diversity_in() 1553 dib8000_set_diversity_in(state->fe[0], onoff); in dib8096p_set_diversity_in() 1887 static int dib8096p_tuner_sleep(struct dvb_frontend *fe, int onoff) in dib8096p_tuner_sleep() argument [all …]
|
D | dib3000mc.c | 801 int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff) in dib3000mc_pid_control() argument 804 dib3000mc_write_word(state, 212 + index, onoff ? (1 << 13) | pid : 0); in dib3000mc_pid_control() 809 int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff) in dib3000mc_pid_parse() argument 813 tmp |= (onoff << 4); in dib3000mc_pid_parse()
|
D | dibx000_common.c | 257 u8 addr, int onoff) in dibx000_i2c_gate_ctrl() argument 262 if (onoff) in dibx000_i2c_gate_ctrl()
|
D | lgdt3305.c | 175 u16 reg, int bit, int onoff) in lgdt3305_set_reg_bit() argument 180 lg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff); in lgdt3305_set_reg_bit() 187 val |= (onoff & 1) << bit; in lgdt3305_set_reg_bit()
|
D | af9013.c | 305 static int af9013_power_ctrl(struct af9013_state *state, u8 onoff) in af9013_power_ctrl() argument 310 dev_dbg(&state->i2c->dev, "%s: onoff=%d\n", __func__, onoff); in af9013_power_ctrl() 337 if (onoff) { in af9013_power_ctrl()
|
D | lgdt3306a.c | 177 u16 reg, int bit, int onoff) in lgdt3306a_set_reg_bit() argument 182 dbg_reg("reg: 0x%04x, bit: %d, level: %d\n", reg, bit, onoff); in lgdt3306a_set_reg_bit() 189 val |= (onoff & 1) << bit; in lgdt3306a_set_reg_bit()
|
D | dib0090.c | 1030 static void dib0090_set_boost(struct dib0090_state *state, int onoff) in dib0090_set_boost() argument 1033 state->bb_1_def |= onoff << 13; in dib0090_set_boost() 1389 int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff) in dib0090_set_vga() argument 1394 | ((onoff & 1) << 15)); in dib0090_set_vga()
|
D | drxd_hard.c | 2838 static int drxd_config_i2c(struct dvb_frontend *fe, int onoff) in drxd_config_i2c() argument 2845 return DRX_ConfigureI2CBridge(state, onoff); in drxd_config_i2c()
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.c | 254 static int mxl111sf_power_ctrl(struct dvb_usb_device *d, int onoff) 343 static int mxl111sf_ep6_streaming_ctrl(struct dvb_frontend *fe, int onoff) in mxl111sf_ep6_streaming_ctrl() argument 349 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep6_streaming_ctrl() 351 if (onoff) { in mxl111sf_ep6_streaming_ctrl() 368 static int mxl111sf_ep5_streaming_ctrl(struct dvb_frontend *fe, int onoff) in mxl111sf_ep5_streaming_ctrl() argument 373 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep5_streaming_ctrl() 375 if (onoff) { in mxl111sf_ep5_streaming_ctrl() 388 ret = mxl111sf_config_spi(state, onoff); in mxl111sf_ep5_streaming_ctrl() 394 static int mxl111sf_ep4_streaming_ctrl(struct dvb_frontend *fe, int onoff) in mxl111sf_ep4_streaming_ctrl() argument 399 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep4_streaming_ctrl() [all …]
|
D | mxl111sf-phy.c | 97 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff) in mxl1x1sf_top_master_ctrl() argument 99 mxl_debug("(%d)", onoff); in mxl1x1sf_top_master_ctrl() 101 return mxl111sf_write_reg(state, 0x01, onoff ? 0x01 : 0x00); in mxl1x1sf_top_master_ctrl() 274 int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff) in mxl111sf_config_spi() argument 279 mxl_debug("(%d)", onoff); in mxl111sf_config_spi() 289 if (onoff) in mxl111sf_config_spi()
|
D | mxl111sf-phy.h | 28 int mxl1x1sf_top_master_ctrl(struct mxl111sf_state *state, int onoff); 42 int mxl111sf_config_spi(struct mxl111sf_state *state, int onoff);
|
D | rtl28xxu.c | 1417 static int rtl2831u_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl2831u_power_ctrl() argument 1422 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2831u_power_ctrl() 1436 if (onoff) { in rtl2831u_power_ctrl() 1470 if (onoff) in rtl2831u_power_ctrl() 1479 static int rtl2832u_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl2832u_power_ctrl() argument 1483 dev_dbg(&d->intf->dev, "onoff=%d\n", onoff); in rtl2832u_power_ctrl() 1485 if (onoff) { in rtl2832u_power_ctrl() 1537 static int rtl28xxu_power_ctrl(struct dvb_usb_device *d, int onoff) in rtl28xxu_power_ctrl() argument 1542 return rtl2831u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl() 1544 return rtl2832u_power_ctrl(d, onoff); in rtl28xxu_power_ctrl() [all …]
|
D | mxl111sf-tuner.c | 72 int onoff) in mxl1x1sf_tuner_top_master_ctrl() argument 75 state->cfg->top_master_ctrl(state->mxl_state, onoff) : in mxl1x1sf_tuner_top_master_ctrl() 266 int onoff) 269 onoff ? 1 : 0);
|
D | anysee.c | 183 static int anysee_streaming_ctrl(struct dvb_frontend *fe, int onoff) in anysee_streaming_ctrl() argument 185 u8 buf[] = {CMD_STREAMING_CTRL, (u8)onoff, 0x00}; in anysee_streaming_ctrl() 186 dev_dbg(&fe_to_d(fe)->udev->dev, "%s: onoff=%d\n", __func__, onoff); in anysee_streaming_ctrl() 198 static int anysee_ir_ctrl(struct dvb_usb_device *d, u8 onoff) in anysee_ir_ctrl() argument 200 u8 buf[] = {CMD_LED_AND_IR_CTRL, 0x02, onoff}; in anysee_ir_ctrl() 201 dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff); in anysee_ir_ctrl() 538 static int anysee_frontend_ctrl(struct dvb_frontend *fe, int onoff) in anysee_frontend_ctrl() argument 543 dev_dbg(&d->udev->dev, "%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); in anysee_frontend_ctrl() 546 if (onoff == 0) in anysee_frontend_ctrl()
|
D | ce6230.c | 222 static int ce6230_power_ctrl(struct dvb_usb_device *d, int onoff) in ce6230_power_ctrl() argument 226 dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff); in ce6230_power_ctrl() 230 ret = usb_set_interface(d->udev, 1, onoff); in ce6230_power_ctrl()
|
D | lmedm04.c | 458 static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in lme2510_pid_filter_ctrl() argument 470 if (!onoff) { in lme2510_pid_filter_ctrl() 485 int onoff) in lme2510_pid_filter() argument 491 pid, index, onoff); in lme2510_pid_filter() 493 if (onoff) { in lme2510_pid_filter() 607 static int lme2510_streaming_ctrl(struct dvb_frontend *fe, int onoff) in lme2510_streaming_ctrl() argument 616 deb_info(1, "STM (%02x)", onoff); in lme2510_streaming_ctrl() 619 if (onoff == 1) in lme2510_streaming_ctrl() 1172 static int lme2510_powerup(struct dvb_usb_device *d, int onoff) in lme2510_powerup() argument 1182 if (onoff) in lme2510_powerup()
|
D | ec168.c | 312 static int ec168_streaming_ctrl(struct dvb_frontend *fe, int onoff) in ec168_streaming_ctrl() argument 316 dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff); in ec168_streaming_ctrl() 318 if (onoff) in ec168_streaming_ctrl()
|
D | mxl111sf-tuner.h | 57 int (*top_master_ctrl)(struct mxl111sf_state *state, int onoff);
|
D | az6007.c | 196 static int az6007_streaming_ctrl(struct dvb_frontend *fe, int onoff) in az6007_streaming_ctrl() argument 200 pr_debug("%s: %s\n", __func__, onoff ? "enable" : "disable"); in az6007_streaming_ctrl() 202 return az6007_write(d, 0xbc, onoff, 0, NULL, 0); in az6007_streaming_ctrl() 690 static int az6007_power_ctrl(struct dvb_usb_device *d, int onoff) in az6007_power_ctrl() argument 734 if (!onoff) in az6007_power_ctrl()
|
D | dvbsky.c | 73 static int dvbsky_stream_ctrl(struct dvb_usb_device *d, u8 onoff) in dvbsky_stream_ctrl() argument 82 if (!ret && onoff) { in dvbsky_stream_ctrl() 90 static int dvbsky_streaming_ctrl(struct dvb_frontend *fe, int onoff) in dvbsky_streaming_ctrl() argument 94 return dvbsky_stream_ctrl(d, (onoff == 0) ? 0 : 1); in dvbsky_streaming_ctrl()
|
D | dvb_usb_core.c | 544 static int dvb_usbv2_device_power_ctrl(struct dvb_usb_device *d, int onoff) in dvb_usbv2_device_power_ctrl() argument 548 if (onoff) in dvb_usbv2_device_power_ctrl() 553 if (d->powered == 0 || (onoff && d->powered == 1)) { in dvb_usbv2_device_power_ctrl() 555 dev_dbg(&d->udev->dev, "%s: power=%d\n", __func__, onoff); in dvb_usbv2_device_power_ctrl() 557 ret = d->props->power_ctrl(d, onoff); in dvb_usbv2_device_power_ctrl()
|
D | af9015.c | 1017 static int af9015_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in af9015_pid_filter_ctrl() argument 1021 dev_dbg(&d->udev->dev, "%s: onoff=%d\n", __func__, onoff); in af9015_pid_filter_ctrl() 1023 if (onoff) in af9015_pid_filter_ctrl() 1032 int onoff) in af9015_pid_filter() argument 1038 __func__, index, pid, onoff); in af9015_pid_filter()
|
D | af9035.c | 1879 static int af9035_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in af9035_pid_filter_ctrl() argument 1883 return state->ops.pid_filter_ctrl(adap->fe[0], onoff); in af9035_pid_filter_ctrl() 1887 int onoff) in af9035_pid_filter() argument 1891 return state->ops.pid_filter(adap->fe[0], index, pid, onoff); in af9035_pid_filter()
|
/linux-4.4.14/drivers/media/common/siano/ |
D | sms-cards.c | 291 int sms_board_power(struct smscore_device_t *coredev, int onoff) in sms_board_power() argument 300 board->led_power, onoff ? 1 : 0); in sms_board_power() 305 if (!onoff) in sms_board_power() 336 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff) in sms_board_lna_control() argument 341 pr_debug("%s: LNA %s\n", __func__, onoff ? "enabled" : "disabled"); in sms_board_lna_control() 347 board->rf_switch, onoff ? 1 : 0); in sms_board_lna_control() 349 board->lna_ctrl, onoff ? 1 : 0); in sms_board_lna_control()
|
D | sms-cards.h | 134 int sms_board_power(struct smscore_device_t *coredev, int onoff); 135 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff);
|
/linux-4.4.14/arch/arm/mach-omap1/include/mach/ |
D | board-sx1.h | 42 int sx1_setmmipower(u8 onoff); 43 int sx1_setusbpower(u8 onoff);
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | altera-ci.c | 520 u16 pid, int onoff) in altera_pid_control() argument 537 if (onoff)/* 0 - on, 1 - off */ in altera_pid_control() 547 pid_filt->nr, pid, pid, onoff ? "off" : "on"); in altera_pid_control() 551 int filt_nr, int onoff) in altera_toggle_fullts_streaming() argument 558 onoff ? "off" : "on"); in altera_toggle_fullts_streaming() 560 if (onoff)/* 0 - on, 1 - off */ in altera_toggle_fullts_streaming() 581 struct dvb_demux_feed *feed, int onoff) in altera_pid_feed_control() argument 587 altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1); in altera_pid_feed_control() 589 if (onoff) in altera_pid_feed_control() 596 onoff ? 0 : 1); in altera_pid_feed_control()
|
D | altera-ci.h | 89 struct dvb_demux_feed *dvbdmxfeed, int onoff)
|
D | cx23885-dvb.c | 970 static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) in dib7070_tuner_reset() argument 974 return dib7000p_ops->set_gpio(fe, 8, 0, !onoff); in dib7070_tuner_reset() 977 static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) in dib7070_tuner_sleep() argument
|
/linux-4.4.14/drivers/s390/cio/ |
D | ccwgroup.c | 81 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_set_online() 92 atomic_set(&gdev->onoff, 0); in ccwgroup_set_online() 110 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_set_offline() 121 atomic_set(&gdev->onoff, 0); in ccwgroup_set_offline() 190 if (atomic_cmpxchg(&gdev->onoff, 0, 1) != 0) in ccwgroup_ungroup_store() 204 atomic_set(&gdev->onoff, 0); in ccwgroup_ungroup_store() 330 atomic_set(&gdev->onoff, 0); in ccwgroup_create_dev() 485 if (atomic_read(&gdev->onoff)) in ccwgroup_pm_prepare()
|
D | io_sch.h | 121 atomic_t onoff; member
|
D | device.c | 546 if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0) in online_store() 584 atomic_set(&cdev->private->onoff, 0); in online_store() 775 atomic_set(&priv->onoff, 0); in io_subchannel_initialize_dev() 1343 (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) { in purge_fn() 1347 atomic_set(&cdev->private->onoff, 0); in purge_fn() 1812 if (atomic_read(&cdev->private->onoff)) in ccw_device_pm_prepare()
|
D | chp.c | 58 static void set_chp_logically_online(struct chp_id chpid, int onoff) in set_chp_logically_online() argument 60 chpid_to_chp(chpid)->state = onoff; in set_chp_logically_online()
|
D | cmf.c | 173 static inline void cmf_activate(void *area, unsigned int onoff) in cmf_activate() argument 179 __gpr1 = onoff ? 2 : 0; in cmf_activate()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | board-sx1.c | 130 int sx1_setmmipower(u8 onoff) in sx1_setmmipower() argument 137 if (onoff) in sx1_setmmipower() 145 int sx1_setusbpower(u8 onoff) in sx1_setusbpower() argument 152 if (onoff) in sx1_setusbpower()
|
/linux-4.4.14/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 186 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus() argument 189 [0] = !!onoff, in pcan_usb_set_bus() 195 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent() argument 198 [0] = !!onoff, in pcan_usb_set_silent() 204 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc() argument 207 [0] = !!onoff, in pcan_usb_set_ext_vcc() 240 static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff) in pcan_usb_write_mode() argument 244 err = pcan_usb_set_bus(dev, onoff); in pcan_usb_write_mode() 248 if (!onoff) { in pcan_usb_write_mode()
|
D | pcan_usb_pro.h | 98 __le16 onoff; member 104 __le16 onoff; member
|
D | pcan_usb_pro.c | 354 static int pcan_usb_pro_set_ts(struct peak_usb_device *dev, u16 onoff) in pcan_usb_pro_set_ts() argument 359 pcan_msg_add_rec(&um, PCAN_USBPRO_SETTS, onoff); in pcan_usb_pro_set_ts() 379 static int pcan_usb_pro_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_bus() argument 384 if (onoff) { in pcan_usb_pro_set_bus() 392 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_bus() 397 static int pcan_usb_pro_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_pro_set_silent() argument 402 pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_silent()
|
D | pcan_usb_core.h | 66 int (*dev_set_bus)(struct peak_usb_device *dev, u8 onoff);
|
D | pcan_usb_fd.c | 287 static int pcan_usb_fd_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_fd_set_bus() argument 292 if (onoff) { in pcan_usb_fd_set_bus() 351 bool onoff, u16 ucan_mask, u16 usb_mask) in pcan_usb_fd_set_options() argument 356 (onoff) ? PUCAN_CMD_SET_EN_OPTION : in pcan_usb_fd_set_options()
|
/linux-4.4.14/drivers/usb/serial/ |
D | whiteheat.c | 167 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff); 168 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff); 169 static int firm_set_break(struct usb_serial_port *port, __u8 onoff); 754 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff) in firm_set_rts() argument 759 rts_command.state = onoff; in firm_set_rts() 765 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff) in firm_set_dtr() argument 770 dtr_command.state = onoff; in firm_set_dtr() 776 static int firm_set_break(struct usb_serial_port *port, __u8 onoff) in firm_set_break() argument 781 break_command.state = onoff; in firm_set_break()
|
/linux-4.4.14/drivers/pcmcia/ |
D | topic.h | 110 static void topic97_zoom_video(struct pcmcia_socket *sock, int onoff) in topic97_zoom_video() argument 116 if (onoff) { in topic97_zoom_video()
|
D | ricoh.h | 130 static void ricoh_zoom_video(struct pcmcia_socket *sock, int onoff) in ricoh_zoom_video() argument 136 if (onoff) in ricoh_zoom_video()
|
D | ti113x.h | 204 static void ti_zoom_video(struct pcmcia_socket *sock, int onoff) in ti_zoom_video() argument 212 if (onoff) in ti_zoom_video() 229 static void ti1250_zoom_video(struct pcmcia_socket *sock, int onoff) in ti1250_zoom_video() argument 235 ti_zoom_video(sock, onoff); in ti1250_zoom_video() 243 if(onoff) in ti1250_zoom_video()
|
/linux-4.4.14/tools/testing/selftests/rcutorture/configs/lock/ |
D | ver_functions.sh | 29 echo CPU-hotplug kernel, adding locktorture onoff. 1>&2
|
/linux-4.4.14/tools/testing/selftests/rcutorture/configs/rcu/ |
D | ver_functions.sh | 41 echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2
|
/linux-4.4.14/sound/isa/wavefront/ |
D | wavefront_fx.c | 62 wavefront_fx_mute (snd_wavefront_t *dev, int onoff) in wavefront_fx_mute() argument 69 outb (onoff ? 0x02 : 0x00, dev->fx_op); in wavefront_fx_mute()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_common.h | 36 extern void isdn_timer_ctrl(int tf, int onoff);
|
D | isdn_common.c | 269 isdn_timer_ctrl(int tf, int onoff) in isdn_timer_ctrl() argument 281 if (onoff) in isdn_timer_ctrl()
|
/linux-4.4.14/drivers/isdn/hardware/avm/ |
D | b1.c | 104 int onoff, i; in b1_detect() local 129 for (onoff = !0, i = 0; i < 10; i++) { in b1_detect() 130 b1_set_test_bit(base, cardtype, onoff); in b1_detect() 131 if (b1_get_test_bit(base, cardtype) != onoff) in b1_detect() 133 onoff = !onoff; in b1_detect()
|
D | avmcard.h | 339 int onoff) in b1_set_test_bit() argument 341 b1_wr_reg(base, B1_STAT0(cardtype), onoff ? 0x21 : 0x20); in b1_set_test_bit()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | ccwgroup.h | 22 atomic_t onoff; member
|
/linux-4.4.14/drivers/media/usb/as102/ |
D | as102_drv.c | 104 int index, u16 pid, int onoff) { in as10x_pid_filter() argument 115 switch (onoff) { in as10x_pid_filter()
|
/linux-4.4.14/drivers/net/can/sja1000/ |
D | peak_pcmcia.c | 370 static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff) in pcan_set_can_power() argument 374 err = pcan_write_eeprom(card, 0, !!onoff); in pcan_set_can_power() 378 (onoff) ? "on" : "off", err); in pcan_set_can_power()
|
/linux-4.4.14/tools/vm/ |
D | slabinfo.c | 429 static const char *onoff(int x) in onoff() function 538 s->object_size, s->slabs, onoff(s->sanity_checks), in report() 542 onoff(s->red_zone), s->objects * s->object_size); in report() 544 page_size << s->order, s->partial, onoff(s->poison), in report() 547 s->slab_size - s->object_size, s->cpu_slabs, onoff(s->store_user), in report() 550 s->align, s->objs_per_slab, onoff(s->trace), in report()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 205 static int pvr2_dvb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) in pvr2_dvb_ctrl_feed() argument 214 if (onoff) { in pvr2_dvb_ctrl_feed()
|
D | pvrusb2-hdw.c | 4058 static int pvr2_hdw_cmd_hcw_demod_reset(struct pvr2_hdw *hdw, int onoff) in pvr2_hdw_cmd_hcw_demod_reset() argument 4064 ((onoff ? 1 : 0) << 16)); in pvr2_hdw_cmd_hcw_demod_reset() 4068 static int pvr2_hdw_cmd_onair_fe_power_ctrl(struct pvr2_hdw *hdw, int onoff) in pvr2_hdw_cmd_onair_fe_power_ctrl() argument 4071 return pvr2_issue_simple_cmd(hdw,(onoff ? in pvr2_hdw_cmd_onair_fe_power_ctrl() 4078 int onoff) in pvr2_hdw_cmd_onair_digital_path_ctrl() argument 4080 return pvr2_issue_simple_cmd(hdw,(onoff ? in pvr2_hdw_cmd_onair_digital_path_ctrl() 4122 static void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff) in pvr2_led_ctrl_hauppauge() argument 4130 if (onoff) { in pvr2_led_ctrl_hauppauge() 4147 static void pvr2_led_ctrl(struct pvr2_hdw *hdw,int onoff) in pvr2_led_ctrl() argument 4152 if ((!onoff) == (!hdw->led_on)) return; in pvr2_led_ctrl() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | vmlogrdr.c | 249 char *onoff, *qid_string; in vmlogrdr_recording() local 252 onoff = ((action == 1) ? "ON" : "OFF"); in vmlogrdr_recording() 276 onoff, in vmlogrdr_recording()
|
/linux-4.4.14/drivers/spi/ |
D | spi-mpc512x-psc.c | 484 static void mpc512x_spi_cs_control(struct spi_device *spi, bool onoff) in mpc512x_spi_cs_control() argument 486 gpio_set_value(spi->cs_gpio, onoff); in mpc512x_spi_cs_control()
|
/linux-4.4.14/drivers/macintosh/ |
D | mediabay.c | 336 static inline void set_mb_power(struct media_bay_info* bay, int onoff) in set_mb_power() argument 339 if (onoff) { in set_mb_power()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 300 static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff); 1703 static void sbmac_promiscuous_mode(struct sbmac_softc *sc,int onoff) in sbmac_promiscuous_mode() argument 1710 if (onoff) { in sbmac_promiscuous_mode()
|
/linux-4.4.14/drivers/mmc/card/ |
D | sdio_uart.c | 571 static void uart_dtr_rts(struct tty_port *tport, int onoff) in uart_dtr_rts() argument 578 if (onoff == 0) in uart_dtr_rts()
|
/linux-4.4.14/sound/pci/rme9652/ |
D | rme9652.c | 609 static int rme9652_set_passthru(struct snd_rme9652 *rme9652, int onoff) in rme9652_set_passthru() argument 611 if (onoff) { in rme9652_set_passthru() 637 static void rme9652_spdif_set_bit (struct snd_rme9652 *rme9652, int mask, int onoff) in rme9652_spdif_set_bit() argument 639 if (onoff) in rme9652_spdif_set_bit()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1203 static void hdmi_audio_control(struct hdmi_context *hdata, bool onoff) in hdmi_audio_control() argument 1208 hdmi_reg_writeb(hdata, HDMI_AUI_CON, onoff ? 2 : 0); in hdmi_audio_control() 1209 hdmi_reg_writemask(hdata, HDMI_CON_0, onoff ? in hdmi_audio_control()
|
/linux-4.4.14/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 376 static int flexcop_usb_stream_control(struct flexcop_device *fc, int onoff) in flexcop_usb_stream_control() argument
|
/linux-4.4.14/drivers/tty/ |
D | moxa.c | 1161 static void moxa_dtr_rts(struct tty_port *port, int onoff) in moxa_dtr_rts() argument 1164 MoxaPortLineCtrl(ch, onoff, onoff); in moxa_dtr_rts()
|
D | n_gsm.c | 2881 static void gsm_dtr_rts(struct tty_port *port, int onoff) in gsm_dtr_rts() argument 2885 if (onoff) in gsm_dtr_rts()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | dispc.c | 3089 bool onoff, rf, ipc, vs, hs, de; in _dispc_mgr_set_lcd_timings() local 3146 onoff = true; in _dispc_mgr_set_lcd_timings() 3159 l = FLD_VAL(onoff, 17, 17) | in _dispc_mgr_set_lcd_timings() 3178 val = (rf << 0) | (ipc << 3) | (onoff << 6); in _dispc_mgr_set_lcd_timings()
|
/linux-4.4.14/drivers/char/pcmcia/ |
D | synclink_cs.c | 381 static void dtr_rts(struct tty_port *port, int onoff); 2465 static void dtr_rts(struct tty_port *port, int onoff) in dtr_rts() argument 2471 if (onoff) in dtr_rts()
|
/linux-4.4.14/drivers/tty/serial/ |
D | serial_core.c | 1571 static void uart_dtr_rts(struct tty_port *port, int onoff) in uart_dtr_rts() argument 1576 if (onoff) in uart_dtr_rts()
|
/linux-4.4.14/drivers/net/wireless/ |
D | at76c50x-usb.c | 918 static int at76_set_autorate_fallback(struct at76_priv *priv, int onoff) in at76_set_autorate_fallback() argument 925 priv->mib_buf.data.byte = onoff; in at76_set_autorate_fallback()
|
/linux-4.4.14/drivers/atm/ |
D | lanai.c | 1075 static const char *onoff[2] = { "off to on", "on to off" }; in status_message() local 1077 itf, name, onoff[!status]); in status_message()
|
/linux-4.4.14/drivers/platform/x86/ |
D | thinkpad_acpi.c | 248 #define onoff(status, bit) ((status) & (1 << (bit)) ? "on" : "off") macro 5123 seq_printf(m, "status:\t\t%s\n", onoff(status, 0)); in light_read() 7338 onoff(status, TP_EC_AUDIO_MUTESW)); in volume_read()
|