Searched defs:on (Results 151 - 175 of 265) sorted by relevance

1234567891011

/drivers/media/video/
H A Dmt9v032.c6 * Based on the MT9M001 driver,
218 static int __mt9v032_set_power(struct mt9v032 *mt9v032, bool on) argument
223 if (!on) {
543 static int mt9v032_set_power(struct v4l2_subdev *subdev, int on) argument
553 if (mt9v032->power_count == !on) {
554 ret = __mt9v032_set_power(mt9v032, !!on);
560 mt9v032->power_count += on ? 1 : -1;
H A Dnoon010pc30.c7 * Initial register configuration based on a driver authored by
315 static int noon010_enable_autowhitebalance(struct v4l2_subdev *sd, int on) argument
319 ret = cam_i2c_write(sd, AWB_CTL_REG(1), on ? 0x2E : 0x2F);
321 ret = cam_i2c_write(sd, AWB_CTL_REG(0), on ? 0xFB : 0x7B);
397 v4l2_info(&info->sd, "%s: sensor is already on\n", __func__);
428 v4l2_dbg(1, debug, &info->sd, "%s: sensor is on\n", __func__);
590 static int noon010_s_power(struct v4l2_subdev *sd, int on) argument
596 if (on) {
607 if (!ret && on)
613 static int noon010_s_stream(struct v4l2_subdev *sd, int on) argument
[all...]
/drivers/media/video/s5p-tv/
H A Dhdmi_drv.c44 /* default preset configured on probe */
636 /* turn HDMI power on */
638 /* power-on hdmi physical interface */
642 /* turn clocks on */
656 static int hdmi_s_power(struct v4l2_subdev *sd, int on) argument
661 if (on)
956 /* on failure or not adapter is no longer useful */
976 /* on failure or not adapter is no longer useful */
/drivers/media/video/saa7134/
H A Dsaa7134-dvb.c80 MODULE_PARM_DESC(debug, "Turn on/off module debugging (default:off).");
95 static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on) argument
99 if (!on) {
115 dprintk("%s %s\n", __func__, ok ? "on" : "off");
191 u8 on[] = { 0x00, 0x71}; local
205 msg.buf = on;
1848 static int on = TDA9887_PRESENT | TDA9887_PORT2_INACTIVE; local
1851 tda9887_cfg.priv = &on;
1853 /* otherwise we don't detect the tuner on next insmod */
/drivers/media/video/zoran/
H A Dzoran_driver.c16 * Based on
305 * Things on big endian architectures if the stat_com array
524 /* make sure a grab isn't going on currently with this buffer */
562 * Sync on a V4L buffer
590 "%s: %s - attempt to sync on a buffer which was not queued?\n",
595 /* wait on this buffer to get ready */
762 * Sync on a MJPEG buffer
852 fh->buffers.buffer[i].state = BUZ_STATE_USER; /* nothing going on */
917 dprintk(1, KERN_ERR "%s: too many users (%d) on device\n",
934 * on nor
1139 int on, end; local
1252 setup_overlay(struct zoran_fh *fh, int on) argument
1427 int on; local
1992 zoran_overlay(struct file *file, void *__fh, unsigned int on) argument
[all...]
/drivers/mfd/
H A Dtc6393xb.c9 * Based on code written by Sharp/Lineo for 2.4 kernels
10 * Based on locomo.c
131 /* SMD buffer on */
132 dev_dbg(&dev->dev, "SMD buffer on\n");
302 int tc6393xb_lcd_set_power(struct platform_device *fb, bool on) argument
312 if (on)
/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c64 * 40Hz (at the lowest frequency), but as it can be pretty time consuming on
218 /* LIS3 power on delay is quite long */
465 * Be careful: on some HP laptops the bios force DD when on battery and
634 static int lis3lv02d_misc_fasync(int fd, struct file *file, int on) argument
639 return fasync_helper(fd, file, on, &lis3->async_queue);
1021 * IRQF_TRIGGER_RISING seems pointless on HP laptops because the
/drivers/mmc/host/
H A Dsdhci-pci.c1 /* linux/drivers/mmc/host/sdhci-pci.c - SDHCI on PCI bus interface
87 int num_slots; /* Slots on controller */
373 static int jmicron_pmos(struct sdhci_pci_chip *chip, int on) argument
383 * Turn PMOS on [bit 0], set over current detection to 2.4 V
386 if (on)
458 /* quirk for unsable RO-detection on JM388 chips */
466 static void jmicron_enable_mmc(struct sdhci_host *host, int on) argument
472 if (on)
/drivers/net/ethernet/8390/
H A Dax88796.c7 * Based on ne.c, by Donald Becker, et-al.
210 * source for hints. The NEx000 doesn't share the on-board packet
260 * What effect will an odd byte count have on the 8390? I
380 static void ax_phy_switch(struct net_device *dev, int on) argument
387 if (!!on)
407 /* turn the phy on (if turned off) */
/drivers/net/ethernet/freescale/
H A Dgianfar_ptp.c37 * Generated by regen.tcl on Thu May 13 01:38:57 PM CEST 2010
97 #define PP1 (1<<7) /* periodic pulse generated on FIPER1 */
98 #define PP2 (1<<6) /* periodic pulse generated on FIPER2 */
99 #define PP3 (1<<5) /* periodic pulse generated on FIPER3 */
363 struct ptp_clock_request *rq, int on)
383 if (on)
394 if (on)
362 ptp_gianfar_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
/drivers/net/ethernet/sfc/
H A Dtxc43128_phy.c78 /* Amplitude on lanes 0, 1 */
80 /* Amplitude on lanes 2, 3 */
102 /* Preemphasis on lanes 0, 1 */
104 /* Preemphasis on lanes 2, 3 */
174 void falcon_txc_set_gpio_val(struct efx_nic *efx, int pin, int on) argument
176 efx_mdio_set_flag(efx, MDIO_MMD_PHYXS, TXC_GPIO_OUTPUT, 1 << pin, on);
207 /* Run a single BIST on one MMD */
284 /* Turn amplitude down and preemphasis off on the host side
300 * defaults as an erratum causes them to be 0 on at least some
436 /* The data sheet claims we can do the logic reset on eithe
[all...]
/drivers/net/
H A Dtun.c194 /* Drop the extra count on the net device */
415 /* Orphan the skb - required as we might hang on to it
1267 * This is needed because we never checked for invalid flags on
1488 static int tun_chr_fasync(int fd, struct file *file, int on) argument
1496 tun_debug(KERN_INFO, tun, "tun_chr_fasync %d\n", on);
1498 if ((ret = fasync_helper(fd, file, on, &tun->fasync)) < 0)
1501 if (on) {
/drivers/net/wan/
H A Dhdlc_fr.c227 static inline void pvc_carrier(int on, pvc_device *pvc) argument
229 if (on) {
490 netdev_warn(dev, "Memory squeeze on fr_lmi_send()\n");
826 netdev_warn(dev, "Memory squeeze on fr_lmi_recv()\n");
1068 netdev_warn(frad, "Memory squeeze on fr_add_pvc()\n");
1084 netdev_warn(frad, "Memory squeeze on fr_pvc()\n");
/drivers/net/wireless/ath/ath9k/
H A Dar5008_phy.c84 * Used on external AR2133/AR5133 radios.
113 * Fix on 2.4 GHz band for orientation sensitivity issue by increasing
161 ath_dbg(common, CONFIG, "Force rf_pwd_icsyndiv to %1d on %4d\n",
172 * ar5008_hw_set_channel - tune to a channel on the external AR2133/AR5133 radios
526 * ar5008_hw_set_rf_regs - programs rf registers based on EEPROM
711 * Necessary to avoid issues on AR5416 2.0
716 * Disable RIFS search on some chips to avoid baseband
1056 u32 on = param ? 1 : 0; local
1060 m1ThreshLow[on]);
1063 m2ThreshLow[on]);
1203 u32 on = param ? 1 : 0; local
[all...]
H A Dar9003_phy.c44 * ar9003_hw_set_channel - set channel on single-chip device
48 * This is the function to change channel on single-chip devices, that is
523 * Wait for the frequency synth to settle (synth goes on
533 /* Activate the PHY (includes baseband activate + synthesizer on) */
593 * Multicast search based on both MAC Address and Key ID. By default,
595 * feature, we switch it off; otherwise multicast search based on
792 * Wait for the frequency synth to settle (synth goes on via PHY_ACTIVE_EN).
819 * on == 1 means ofdm weak signal detection is ON
820 * on == 1 is the default, for less noise immunity
822 * on
825 u32 on = param ? 1 : 0; local
[all...]
/drivers/net/wireless/bcmdhd/
H A Dwl_android.c150 * time (only) in dhd_open, subsequential wifi on will be handled by
500 DHD_INFO(("%s: Android private cmd \"%s\" on %s\n", __FUNCTION__, command, ifr->ifr_name));
773 int wifi_set_power(int on, unsigned long msec) argument
775 DHD_ERROR(("%s = %d\n", __FUNCTION__, on));
777 wifi_control_data->set_power(on);
810 static int wifi_set_carddetect(int on) argument
812 DHD_ERROR(("%s = %d\n", __FUNCTION__, on));
814 wifi_control_data->set_carddetect(on);
/drivers/ptp/
H A Dptp_pch.c307 * traffic on the ethernet interface
485 struct ptp_clock_request *rq, int on)
493 pch_dev->exts0_enabled = on ? 1 : 0;
496 pch_dev->exts1_enabled = on ? 1 : 0;
484 ptp_pch_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
/drivers/s390/cio/
H A Dchsc.c183 * that beast may be on we'll have to do a stsch
184 * on all devices, grr...
190 /* Put it on the slow path. */
221 * do a validation on those.
481 struct chp_id chpid, int on)
491 on ? CHP_VARY_ON : CHP_VARY_OFF);
519 /* Put it on the slow path. */
527 * @on: non-zero for vary online, zero for vary offline
529 int chsc_chp_vary(struct chp_id chpid, int on) argument
536 * Redo PathVerification on th
480 __s390_subchannel_vary_chpid(struct subchannel *sch, struct chp_id chpid, int on) argument
[all...]
/drivers/spi/
H A Dspi-fsl-spi.c934 static void fsl_spi_cs_control(struct spi_device *spi, bool on) argument
942 gpio_set_value(gpio, on ^ alow);
/drivers/staging/comedi/
H A Dcomedi_fops.c108 static int comedi_fasync(int fd, struct file *file, int on);
136 /* Device config is special, because it must work on
145 DPRINTK("no driver configured on /dev/comedi%i\n", dev->minor);
1489 DPRINTK("no driver configured on comedi%i\n", dev->minor);
1566 DPRINTK("no driver configured on comedi%i\n", dev->minor);
1619 DPRINTK("no driver configured on comedi%i\n", dev->minor);
1730 DPRINTK("no driver configured on comedi%i\n", dev->minor);
1968 static int comedi_fasync(int fd, struct file *file, int on) argument
1981 return fasync_helper(fd, file, on, &dev->async_queue);
/drivers/staging/iio/light/
H A Dtsl2563.c140 static int tsl2563_set_power(struct tsl2563_chip *chip, int on) argument
145 cmd = on ? TSL2563_CMD_POWER_ON : TSL2563_CMD_POWER_OFF;
151 * Return value is 0 for off, 1 for on, or a negative error
634 /* ensure the chip is actually on */
/drivers/staging/media/lirc/
H A Dlirc_serial.c5 * (space-lengths) between DDCD event on a serial port.
45 * long. Fixed by accounting for latency on each pulse/space
90 u8 on; member in struct:lirc_serial
134 .on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
150 .on = UART_MCR_OUT2,
161 .on = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2),
172 .on = 0,
182 .on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
198 * We receive on CTS of the 2nd serial port (R142,LHS), we
206 .on
308 static void on(void) function
[all...]
H A Dlirc_sir.c5 * mode of IrDA on many notebooks.
206 static void on(void) function
717 on();
787 printk(KERN_INFO "Power on IR module\n");
792 sa1100_irda_set_power_collie(3); /* power on */
913 /* turn on UART */
/drivers/staging/media/solo6x10/
H A Dv4l2.c72 /* Keep the erasing flag on for 8 frames minimum */
103 static int solo_v4l2_ch_ext_4up(struct solo_dev *solo_dev, u8 idx, int on) argument
110 if (!on) {
135 static int solo_v4l2_ch_ext_16up(struct solo_dev *solo_dev, int on) argument
139 if (!on) {
165 static int solo_v4l2_ch(struct solo_dev *solo_dev, u8 ch, int on) argument
170 solo_win_setup(solo_dev, ch, on ? 0 : solo_dev->video_hsize,
171 on ? 0 : solo_vlines(solo_dev),
173 on ? 1 : 0);
184 return solo_v4l2_ch_ext_4up(solo_dev, ext_ch, on);
[all...]
/drivers/tty/
H A Disicom.c35 * to not lower DTR on all the ports
36 * when the last port on the card is
50 * internal modems on ISI cards.
80 * restore_flags on failure in
99 * can find this in RPM format on
332 static void isicom_dtr_rts(struct tty_port *port, int on) argument
342 if (on) {
397 * We shovel data into the card buffers on a regular basis. The card
698 /* if CBAUDEX bit is on and the baud is set to either 50 or 75
785 /* rx enabled -> enable port for rx on th
[all...]

Completed in 1221 milliseconds

1234567891011