Searched defs:on (Results 126 - 150 of 265) sorted by relevance

1234567891011

/drivers/video/omap/
H A Dlcd_mipid.c184 static void set_sleep_mode(struct mipid_device *md, int on) argument
188 if (on)
201 if (!on)
/drivers/video/
H A Dsa1100fb.c5 * Based on acornfb.c Copyright (C) Russell King.
13 * Please direct your questions and comments on this driver to the following
35 * drivers do not expect a linear colourmap, but a colourmap based on
86 * - Allows standard options to be passed on the kernel command line
111 * totally random colour depending on what was in page 0, and (b)
131 * so that we can run with interrupts on, and sleep.
136 * - Take notice of "greyscale" on any colour depth.
143 * - Added support for the ICP LCD-Kit01 on LART. This LCD is
154 * - Halve YRES on dual scan LCDs.
506 * the user to manually power on th
725 __sa1100fb_backlight_power(struct sa1100fb_info *fbi, int on) argument
733 __sa1100fb_lcd_power(struct sa1100fb_info *fbi, int on) argument
[all...]
/drivers/char/
H A Dhpet.c72 /* This clocksource driver currently only works on ia64 */
401 static int hpet_fasync(int fd, struct file *file, int on) argument
407 if (fasync_helper(fd, file, on, &devp->hd_async_queue) >= 0)
950 /* This clocksource driver currently only works on ia64 */
H A Drandom.c56 * to produce truly random numbers on a computer --- as opposed to
73 * the overhead of doing it on every interrupt is very reasonable.
145 * layer request events, on a per-disk_devt basis, as input to the
190 * For example, on most modern systems using the System V init
228 * Further background information on this topic may be obtained from
270 * The minimum number of bits of entropy before we wake up a read on
277 * should wake up processes which are selecting or polling on write
344 * Transactions on Modeling and Computer Simulation 2(3):179-194.
346 * II. ACM Transactions on Mdeling and Computer Simulation 4:254-266)
677 * Round down by 1 bit on genera
1188 random_fasync(int fd, struct file *filp, int on) argument
[all...]
H A Drtc.c16 * The /dev/rtc interface will block on reads until an interrupt
28 * Based on other minimal char device drivers, like Alan's
32 * 1.08 Miquel van Smoorenburg: disallow certain things on the
47 * 1.12 Venkatesh Pallipadi: Hooks for emulating rtc on HPET base-timer
189 * timer (but you would need to have an awful timing before you'd trip on it)
346 * ABIs supported on the same kernel. So now we support read of both
452 * than 64Hz of interrupts on a multi-user machine.
663 * than 64Hz of interrupts on a multi-user machine.
727 * Also clear the previous interrupt data on an open, and clean
728 * up things on
748 rtc_fasync(int fd, struct file *filp, int on) argument
[all...]
/drivers/dma/
H A Dat_hdmac_regs.h29 #define AT_DMA_SSREQ(x) (0x1 << ((x) << 1)) /* Request a source single transfer on channel x */
30 #define AT_DMA_DSREQ(x) (0x1 << (1 + ((x) << 1))) /* Request a destination single transfer on channel x */
33 #define AT_DMA_SCREQ(x) (0x1 << ((x) << 1)) /* Request a source chunk transfer on channel x */
34 #define AT_DMA_DCREQ(x) (0x1 << (1 + ((x) << 1))) /* Request a destination chunk transfer on channel x */
37 #define AT_DMA_SLAST(x) (0x1 << ((x) << 1)) /* This src rq is last tx of buffer on channel x */
38 #define AT_DMA_DLAST(x) (0x1 << (1 + ((x) << 1))) /* This dst rq is last tx of buffer on channel x */
164 * @desc_node: node on the channed descriptors list
207 * @save_cfg: configuration register that is saved on suspend/resume cycle
209 * the cyclic list on suspend/resume cycle
212 * @active_list: list of descriptors dmaengine is being running on
360 atc_setup_irq(struct at_dma *atdma, int chan_id, int on) argument
[all...]
/drivers/gpio/
H A Dgpio-nomadik.c6 * Rewritten based on work by Prafulla WADASKAR <prafulla.wadaskar@st.com>
35 * The GPIO module in the Nomadik family of Systems-on-Chip is an
364 * and its sleep mode based on the specified configuration. The @cfg is
419 * (for altfunction GPIO) or respective on-chip peripherals (for other
447 * nmk_gpio_set_pull() - enable/disable pull up/down on a gpio
451 * Enables/disables pull up/down on a specified pin. This only takes effect if
457 * work, this function will change the value output on the pin.
584 int gpio, bool on)
588 on ? NMK_GPIO_SLPM_WAKEUP_ENABLE
592 __nmk_gpio_irq_modify(nmk_chip, gpio, WAKE, on);
583 __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip, int gpio, bool on) argument
634 nmk_gpio_irq_set_wake(struct irq_data *d, unsigned int on) argument
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_cp.c281 /* Turn on bus mastering */
628 /* on r420, any DMA from CP to system memory while 2D is active
641 /* isync can only be written through cp on r5xx write it here */
922 /* Enable or disable IGP GART on the chip */
923 static void radeon_set_igpgart(drm_radeon_private_t * dev_priv, int on) argument
927 if (on) {
993 /* Enable or disable IGP GART on the chip */
994 static void rs600_set_igpgart(drm_radeon_private_t *dev_priv, int on) argument
999 if (on) {
1069 static void radeon_set_pciegart(drm_radeon_private_t * dev_priv, int on) argument
1099 radeon_set_pcigart(drm_radeon_private_t * dev_priv, int on) argument
[all...]
/drivers/ide/
H A Dscc_pata.c2 * Support for IDE interfaces on Celleb platform
6 * This code is based on drivers/ide/pci/siimage.c:
282 static void scc_dma_host_set(ide_drive_t *drive, int on) argument
288 if (on)
304 * Returns 0 on success. If a PIO fallback is required then 1
H A Dsgiioc4.c148 /* Error when transferring DMA data on PCI bus */
168 /* Clear the Interrupt, Error bits on the IOC4 */
226 * ordering between register reads and DMA writes on the Altix.
268 static void sgiioc4_dma_host_set(ide_drive_t *drive, int on) argument
270 if (!on)
299 /* Clear the Interrupt, Error bits on the IOC4 */
H A Dtx4939ide.c3 * Based on RBTX49xx patch from CELF patch archive.
201 static void tx4939ide_dma_host_set(ide_drive_t *drive, int on) argument
208 if (on)
/drivers/input/
H A Devdev.c135 static int evdev_fasync(int fd, struct file *file, int on) argument
139 return fasync_helper(fd, file, on, &client->fasync);
H A Dmousedev.c336 * We rely on the fact that mousedev_mix always has 0
413 static int mousedev_fasync(int fd, struct file *file, int on) argument
417 return fasync_helper(fd, file, on, &client->fasync);
/drivers/input/mouse/
H A Dbcm5974.c10 * The BCM5974 driver is based on the appletouch driver:
229 int fingers; /* number of fingers on trackpad */
581 static int bcm5974_wellspring_mode(struct bcm5974 *dev, bool on) argument
606 data[0] = on ?
624 on ? "wellspring" : "normal");
709 * starting traffic on the device.
/drivers/input/serio/
H A Di8042.c86 MODULE_PARM_DESC(debug, "Turn i8042 debugging mode on and off");
244 * i8042_command() executes a command on the i8042. It also sends the input
537 * i8042_enable_kbd_port enables keyboard port on chip
556 * i8042_enable_aux_port enables AUX (mouse) port on chip
697 * i8042_toggle_aux - enables or disables AUX port on i8042 via command and
701 static int __init i8042_toggle_aux(bool on) argument
707 on ? I8042_CMD_AUX_ENABLE : I8042_CMD_AUX_DISABLE))
717 if (!(param & I8042_CTR_AUXDIS) == on)
756 * 0xfa - no error on some notebooks which ignore the spec
757 * Because it's common for chipsets to return error on perfectl
[all...]
/drivers/isdn/hardware/eicon/
H A Ddivasmain.c417 diva_os_register_io_port(void *adapter, int on, unsigned long port, argument
420 if (on) {
/drivers/isdn/hardware/mISDN/
H A Dw6692.c5 * based on the w6692 I4L driver from Petr Novak <petr.novak@i.cz>
178 w6692_led_handler(struct w6692_hw *card, int on) argument
182 if (on) {
645 /* send confirm, on trans, free on hdlc. */
/drivers/isdn/hisax/
H A Dhfc_usb.c11 * based on the first hfc_usb driver of
283 set_led_bit(hfcusb_data *hfc, signed short led_bits, int on) argument
285 if (on) {
572 // clear status, so go on with ISO transfers
612 /* how much bit do we put on the line? */
/drivers/media/common/
H A Dsaa7146_video.c84 /* unfortunately, the saa7146 contains a bug which prevents it from doing on-the-fly byte swaps.
997 static int vidioc_overlay(struct file *file, void *fh, unsigned int on) argument
1001 DEB_D("VIDIOC_OVERLAY on:%d\n", on);
1002 if (on)
1080 because videobuf_streamoff() relies on the capture running.
/drivers/media/dvb/frontends/
H A Dcx24113.c279 static int cx24113_set_clk_inversion(struct cx24113_state *state, u8 on) argument
281 u8 r = (cx24113_readreg(state, 0x10) & 0x7f) | ((on & 0x1) << 7);
575 * after power on */
/drivers/media/radio/
H A Dradio-tea5764.c274 static void tea5764_mute(struct tea5764_device *radio, int on) argument
279 if (on)
/drivers/media/video/gspca/
H A Detoms.c341 int on)
346 on ? 0x10 /* startvideo - set Bit5 */
350 PDEBUG(D_ERR, "timeout video on/off");
681 et_video(gspca_dev, 1); /* video on */
340 et_video(struct gspca_dev *gspca_dev, int on) argument
/drivers/media/video/ivtv/
H A Divtv-ioctl.c539 can be displayed full-screen on PAL and a 720x576 video can be
540 displayed without cropping on NTSC.
542 Note that the scaling only occurs on the video stream, the osd
1453 static int ivtv_overlay(struct file *file, void *fh, unsigned int on) argument
1461 ivtv_vapi(itv, CX2341X_OSD_SET_STATE, 1, on != 0);
/drivers/media/video/
H A Dmt9p031.c8 * Based on the MT9V032 driver and Bastian Hecht's code.
274 static int __mt9p031_set_power(struct mt9p031 *mt9p031, bool on) argument
279 if (!on) {
318 * in table 13, and Binning section on page 41).
695 static int mt9p031_set_power(struct v4l2_subdev *subdev, int on) argument
705 if (mt9p031->power_count == !on) {
706 ret = __mt9p031_set_power(mt9p031, !!on);
712 mt9p031->power_count += on ? 1 : -1;
H A Dmt9t031.c227 * MT9T031 datasheet imposes window left border alignment, depending on
616 static int mt9t031_s_power(struct v4l2_subdev *sd, int on) argument
621 if (on)
786 * ourselves in the driver based on vertical blanking and frame width

Completed in 506 milliseconds

1234567891011