/drivers/media/dvb/dvb-usb/ |
H A D | af9005-fe.c | 797 static int af9005_fe_power(struct dvb_frontend *fe, int on) argument 800 u8 temp = on; 802 deb_info("power %s tuner\n", on ? "on" : "off");
|
/drivers/media/video/ |
H A D | as3645a.c | 138 /* Return negative errno else zero on success */ 177 * Return 0 on success, or a negative error code if an I2C communication error 207 * @on: Desired output state 211 * Return 0 on success, or a negative error code if an I2C communication error 215 as3645a_set_control(struct as3645a *flash, enum as_mode mode, bool on) argument 221 | (on ? AS_CONTROL_OUT_ON : 0) 238 * Turn the LEDs output on/off and set the operation mode based on the current 246 * In indicator and assist modes, turn the output on/off based on th 253 bool on; local 515 __as3645a_set_power(struct as3645a *flash, int on) argument 540 as3645a_set_power(struct v4l2_subdev *sd, int on) argument [all...] |
H A D | ov5642.c | 6 * Based on Sony IMX074 Camera Driver 9 * Based on Omnivision OV7670 Camera Driver 934 static int ov5642_s_power(struct v4l2_subdev *sd, int on) argument 939 if (!on)
|
H A D | tcm825x.c | 10 * Based on code from David Cohen <david.cohen@indt.org.br> 12 * This driver was based on ov9640 sensor driver from MontaVista 325 val &= mask; /* Enforce mask on value */ 719 static int ioctl_s_power(struct v4l2_int_device *s, int on) argument 723 return sensor->platform_data->power_set(on);
|
H A D | tuner-core.c | 3 * core core, i.e. kernel interfaces, registering and so on 457 on analog tuners for PLL to properly work 552 * Search for existing radio and/or TV tuners on the given I2C adapter, 587 *tuner_probe - Probes the existing tuners on an I2C bus 596 * type, like on tea5767/5761 devices. 632 /* autodetection code based on the i2c addr */ 682 /* Initializes only the first TV tuner on this adapter. Why only the 746 * digital TV or radio, depending on what the caller wants. If the 875 * such hacks. Instead, it relies on a proper video standard selection from 1016 * VIDIOC_LOG_STATUS. No changes should happen on thi 1087 tuner_s_power(struct v4l2_subdev *sd, int on) argument [all...] |
/drivers/media/video/m5mols/ |
H A D | m5mols_core.c | 139 * Returns 0 on success, or else negative errno. 238 * Returns 0 on success, or else negative errno. 473 v4l2_info(sd, "No support Auto Focus on this firmware\n"); 856 * dependends on the firmware provider. 858 static int m5mols_s_power(struct v4l2_subdev *sd, int on) argument 863 if (on) {
|
/drivers/media/video/s5p-fimc/ |
H A D | mipi-csis.c | 166 static void s5pcsis_enable_interrupts(struct csis_state *state, bool on) argument 170 val = on ? val | S5PCSIS_INTMSK_EN_ALL : 183 static void s5pcsis_system_enable(struct csis_state *state, int on) argument 188 if (on) 195 if (on) 291 static int s5pcsis_s_power(struct v4l2_subdev *sd, int on) argument 296 if (on)
|
/drivers/media/video/zoran/ |
H A D | zoran_device.c | 65 * on TV monitor connected to the output. 67 * load on Bt819 input, there will be 72 "Use digital path capture mode (on LML33 cards)"); 376 * "| 1 Doesn't have any effect, tested on both a DC10 and a DC10+" 377 * this is false. It inverses chroma values on the LML33R10 (so Cr 401 VEnd = VStart + tvn->Ha / 2; // - 1; FIXME SnapShot times out with -1 in 768*576 on the DC10 - LP 447 /* RJ: since this makes only sense on the screen, we use 468 * Switch overlay on or off 473 int on) 477 if (on) { 472 zr36057_overlay(struct zoran *zr, int on) argument [all...] |
/drivers/message/i2o/ |
H A D | i2o_config.c | 1073 static int cfg_fasync(int fd, struct file *fp, int on) argument 1085 ret = fasync_helper(fd, fp, on, &p->fasync);
|
/drivers/mmc/host/ |
H A D | pxamci.c | 106 int on; local 123 on = ((1 << vdd) & host->pdata->ocr_mask); 125 !!on ^ host->pdata->gpio_power_invert); 235 * unaligned (to 8-byte boundaries) data, so switch on byte alignment 370 * This means that if there was an error on any block, we mark all 495 * we write clkrt on the next command 561 pr_err("%s: DMA error on channel %d (DCSR=%#x)\n",
|
/drivers/net/ethernet/i825xx/ |
H A D | znet.c | 7 This driver is based on the Linux skeleton driver. The copyright of the 50 limitations on I/O space, and using multiple locations would eliminate 56 initialization incantation you could use the same part on many different 58 than an on-board transceiver leads me to believe that they were planning 68 TX buffer corruption on my laptop. 79 Tested on a vintage Zenith Z-Note 433Lnp+. Probably broken on 209 static void znet_transceiver_power (struct net_device *dev, int on) argument 214 /* Turn on/off the 82501 SIA, using zenith-specific magic. */ 218 if (on) [all...] |
/drivers/net/wireless/b43/ |
H A D | phy_lcn.c | 323 /* TODO: wl operates on PHY 0x416, brcmsmac is outdated here */ 798 static void b43_phy_lcn_op_switch_analog(struct b43_wldev *dev, bool on) argument 800 if (on) {
|
/drivers/net/wireless/bcmdhd/ |
H A D | bcmsdh.c | 58 uint32 vendevid; /* Target Vendor and Device ID on SD bus */ 145 bool on; local 148 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); 152 return on;
|
H A D | wl_cfgp2p.h | 73 bool on; /* p2p on/off switch */ member in struct:p2p_info 130 #define p2p_on(wl) ((wl)->p2p->on) 132 #define p2p_is_on(wl) ((wl)->p2p && (wl)->p2p->on)
|
/drivers/parisc/ |
H A D | led.c | 54 /* The control of the LEDs and LCDs on PARISC-machines have to be done 67 static int lcd_no_led_support __read_mostly = 0; /* KittyHawk doesn't support LED on its LCD */ 82 unsigned char on; /* value for turning LED on */ member in struct:lcd_block 88 lcd_cmd_reg_addr needs to be 64bit aligned on 64bit PA2.0-machines */ 139 /* KittyHawk has no LED support on its LCD */ 279 #define LED_DATA 0x01 /* data to shift (0:on 1:off) */ 336 gsc_writeb( leds & mask[i] ? blockp[i]->on : 348 ** calculate if there was TX- or RX-throughput on the network interfaces 634 ** Displays the given string on th [all...] |
/drivers/power/ |
H A D | da9030_battery.c | 142 seq_printf(s, "charger is %s\n", charger->is_on ? "on" : "off"); 231 static void da9030_set_charge(struct da9030_charger *charger, int on) argument 235 if (on) { 254 /* we wake or boot with external power on */
|
/drivers/s390/cio/ |
H A D | chp.c | 76 * Calculate and return the operational path mask (opm) based on the chpids 113 static int s390_vary_chpid(struct chp_id chpid, int on) argument 118 sprintf(dbf_text, on?"varyon%x.%02x":"varyoff%x.%02x", chpid.cssid, 123 if (!on && !status) 126 set_chp_logically_online(chpid, on); 127 chsc_chp_vary(chpid, on); 262 if (!strnicmp(cmd, "on", 2) || !strcmp(cmd, "1")) { 383 * zero on success, non-zero otherwise. 458 * data associated with the given channel-path ID. Return %NULL on error. 553 /* Force chp_info refresh on nex [all...] |
/drivers/spi/ |
H A D | spi-txx9.c | 4 * Based on linux/arch/mips/tx4938/toshiba_rbtx4938/spi_txx9.c 98 int on, unsigned int cs_delay) 100 int val = (spi->mode & SPI_CS_HIGH) ? on : !on; 101 if (on) { 97 txx9spi_cs_func(struct spi_device *spi, struct txx9spi *c, int on, unsigned int cs_delay) argument
|
/drivers/usb/class/ |
H A D | cdc-wdm.c | 47 * embed the Qualcomm QMI protocol inside CDC on CDC ECM like 237 dev_err(&desc->intf->dev, "Stall on int endpoint\n"); 796 static int wdm_manage_power(struct usb_interface *intf, int on) argument 803 intf->needs_remote_wakeup = on; 870 * usb_set_intfdata/usb_get_intfdata on intf.
|
/drivers/usb/serial/ |
H A D | ch341.c | 288 static void ch341_dtr_rts(struct usb_serial_port *port, int on) argument 296 if (on)
|
H A D | cp210x.c | 53 static void cp210x_dtr_rts(struct usb_serial_port *p, int on); 383 * Convenience function for calling cp210x_set_config on single data values 449 /* The baud rate must be initialised on cp2104 */ 647 /* This maps the requested rate to a rate valid on cp2102 or cp2103, 826 static void cp210x_dtr_rts(struct usb_serial_port *p, int on) argument 828 if (on) 867 state == BREAK_OFF ? "off" : "on");
|
H A D | cypress_m8.c | 14 * See Documentation/usb/usb-serial.txt for more information on using this 17 * See http://geocities.com/i0xox0i for information on this driver and the 118 __u8 current_status; /* received from last read - info on dsr,cts,cd,ri,etc */ 140 static void cypress_dtr_rts(struct usb_serial_port *port, int on); 285 "of %d on Earthmate GPS", __func__, new_rate); 645 static void cypress_dtr_rts(struct usb_serial_port *port, int on) argument 650 if (on == 0) 1178 /* something ugly is going on... */
|
H A D | pl2303.c | 13 * See Documentation/usb/usb-serial.txt for more information on using this 457 static void pl2303_dtr_rts(struct usb_serial_port *port, int on) argument 465 if (on) 667 state == BREAK_OFF ? "off" : "on");
|
H A D | ssu100.c | 4 * based on ftdi_sio.c and the original serqt_usb.c from Quatech 529 static void ssu100_dtr_rts(struct usb_serial_port *port, int on) argument 538 if (!on && 542 if (on)
|
/drivers/video/msm/ |
H A D | mddi.c | 335 void mddi_set_auto_hibernate(struct msm_mddi_client_data *cdata, int on) argument 341 mddi_writel(MDDI_CMD_HIBERNATE | !!on, CMD); 367 /* If we are turning on band gap, need to wait 5us before 368 * turning on the rest of the PAD */ 408 /* turn on the client */ 411 /* turn on the clock */ 725 /* turn on the mddi client bridge chip */
|