/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 73 MODULE_PARM_DESC(setvpp, "Set Vpp (0=Never, 1=On writes, 2=Always on, default=0)"); 299 static void pcmciamtd_set_vpp(struct map_info *map, int on) argument 305 pr_debug("dev = %p on = %d vpp = %d\n\n", dev, on, dev->vpp); 307 if (on) { 308 if (++pcmcia_vpp_refcnt == 1) /* first nested 'on' */ 379 /* from here on: DEBUG only */ 402 /* from here on: DEBUG only */
|
/drivers/net/wireless/b43/ |
H A D | phy_common.c | 439 void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on) argument 441 b43_write16(dev, B43_MMIO_PHY0, on ? 0 : 0xF4);
|
/drivers/net/wireless/p54/ |
H A D | fwio.c | 8 * Based on: 738 bool on = false; local 747 on = !(priv->filter_flags & FIF_ALLMULTI) && 751 if (on) {
|
/drivers/ssb/ |
H A D | driver_chipcommon_pmu.c | 264 /* Adjust the BBPLL to 2 on all channels later. */ 449 /* The PLL may turn on, if it decides so. */ 460 /* The PLL may turn on, if it decides so. */ 468 /* The PLL may turn on, if it decides so. */ 589 void ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on) argument 608 if (on)
|
/drivers/staging/nvec/ |
H A D | nvec_power.c | 29 int on; member in struct:nvec_power 97 if (power->on != res->plu) { 98 power->on = res->plu; 229 val->intval = power->on;
|
/drivers/tty/vt/ |
H A D | vc_screen.c | 312 /* Advance state pointers and move on. */ 319 * Update region sizes up/down depending on free 454 * Return data written up to now on failure. 589 vcs_fasync(int fd, struct file *file, int on) argument 595 if (!on) 602 return fasync_helper(fd, file, on, &poll->fasync);
|
/drivers/usb/host/ |
H A D | ohci-hcd.c | 9 * [ Initialisation is based on Linus' ] 90 static void sb800_prefetch(struct ohci_hcd *ohci, int on); 92 static inline void sb800_prefetch(struct ohci_hcd *ohci, int on) argument 519 * depending on usb keyboards may be usable even if the 648 * easily be a longstanding bug in chip init on Linux. 693 /* wake on ConnectStatusChange, matching external hubs */ 696 /* Choose the interrupts we care about now, others later on demand */ 711 /* hub power always on; required for AMD-756 and some 730 /* Create timer to watch for bad queue state on ZF Micro */ 755 * work on al [all...] |
/drivers/usb/misc/ |
H A D | yurex.c | 90 /* on success, sender woken up by CMD_ACK int in, or timeout */ 352 static int yurex_fasync(int fd, struct file *file, int on) argument 357 return fasync_helper(fd, file, on, &dev->async_queue); 405 /* decrement the count on our device */
|
/drivers/usb/otg/ |
H A D | mv_otg.c | 58 static int mv_otg_set_vbus(struct usb_otg *otg, bool on) argument 64 return mvotg->pdata->set_vbus(on); 203 static void mv_otg_start_host(struct mv_otg *mvotg, int on) argument 212 dev_info(&mvotg->pdev->dev, "%s host\n", on ? "start" : "stop"); 216 if (on) 223 static void mv_otg_start_periphrals(struct mv_otg *mvotg, int on) argument 230 dev_info(mvotg->phy.dev, "gadget %s\n", on ? "on" : "off"); 232 if (on)
|
/drivers/usb/serial/ |
H A D | f81232.c | 166 * break_state = -1 to turn on break, and 0 to turn off break 230 static void f81232_dtr_rts(struct usb_serial_port *port, int on) argument 238 if (on)
|
H A D | keyspan_pda.c | 13 * See Documentation/usb/usb-serial.txt for more information on using this 324 is on /dev/ttyS0 */ 495 device how much room it really has. This is done only on 615 static void keyspan_pda_dtr_rts(struct usb_serial_port *port, int on) argument 620 if (on)
|
H A D | mct_u232.c | 13 * by using SniffUSB on Windows98. For technical details see mct_u232.h. 15 * William G. Greathouse and Greg Kroah-Hartman provided great help on how to 57 static void mct_u232_dtr_rts(struct usb_serial_port *port, int on); 464 * always turn on DTR and RTS here, so do the same. I'm not 512 static void mct_u232_dtr_rts(struct usb_serial_port *port, int on) argument 521 if (on) 672 /* reassert DTR and RTS on transition from B0 */
|
H A D | usb_wwan.c | 42 void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) argument 58 portdata->rts_state = on; 59 portdata->dtr_state = on; 295 dbg("%s: nonzero status: %d on endpoint %02x.",
|
/drivers/video/ |
H A D | pmag-aa-fb.c | 74 int on; member in struct:aafb_cursor 105 static void aafb_set_cursor(struct aafb_info *info, int on) argument 109 if (on) { 128 if (c->on) 135 c->on = 0; 139 if (c->on) 140 aafb_set_cursor(info, c->on); 174 c->on ^= 1; 175 aafb_set_cursor(info, c->on); 189 c->on [all...] |
/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 99 static int ipmi_fasync(int fd, struct file *file, int on) argument 105 result = fasync_helper(fd, file, on, &priv->fasync_queue); 652 * ioctls on 64-bit kernels. This allows running 32-bit apps on the
|
/drivers/gpio/ |
H A D | gpio-pxa.c | 41 * BANK 3 is only available on PXA27x and later processors. 42 * BANK 4 and 5 are only available on PXA935 67 int (*set_wake)(unsigned int gpio, unsigned int on); 115 /* GPIO86/87/88/89 on PXA26x have their direction bits in PXA_GPDR(2 inverted, 301 /* number of GPIOs on last bank may be less than 32 */ 418 static int pxa_gpio_set_wake(struct irq_data *d, unsigned int on) argument 424 return c->set_wake(gpio, on);
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_dpi.c | 205 dev_err(dev->dev, "DPI panel is already on\n"); 216 mdfld_dsi_dpi_turn_on(dpi_output, pipe); /* Send turn on command */ 423 * Calculate the dpi time basing on a given drm mode @mode 424 * return 0 on success. 577 /*send turn on package*/ 602 /*if output is on, or mode setting didn't happen, ignore this*/ 633 static void mdfld_dsi_dpi_set_power(struct drm_encoder *encoder, bool on) argument 648 if (on) { 899 /*turn on DPI interface*/ 930 * return pointer of newly allocated DPI encoder, NULL on erro [all...] |
/drivers/gpu/drm/i2c/ |
H A D | sil164_drv.c | 157 sil164_set_power_state(struct i2c_client *client, bool on) argument 161 if (on) 220 bool on = (mode == DRM_MODE_DPMS_ON); local 221 bool duallink = (on && encoder->crtc->mode.clock > 165000); 223 sil164_set_power_state(drm_i2c_encoder_get_client(encoder), on); local
|
/drivers/ide/ |
H A D | icside.c | 208 * here, but we rely on the main IDE driver spotting that both 215 * calculate the cycle time based on the transfer mode, and the EIDE 284 static void icside_dma_host_set(ide_drive_t *drive, int on) argument 303 /* We can not enable DMA on both channels simultaneously. */ 321 * We can not enable DMA on both channels. 431 * Be on the safe side - disable interrupts 506 * Be on the safe side - disable interrupts
|
/drivers/infiniband/core/ |
H A D | uverbs_main.c | 358 static int ib_uverbs_event_fasync(int fd, struct file *filp, int on) argument 362 return fasync_helper(fd, filp, on, &file->async_queue);
|
/drivers/input/ |
H A D | joydev.c | 161 static int joydev_fasync(int fd, struct file *file, int on) argument 165 return fasync_helper(fd, file, on, &client->fasync);
|
/drivers/input/keyboard/ |
H A D | lkkbd.c | 6 * LK keyboard driver for Linux, based on sunkbd.c (C) by Vojtech Pavlik 11 * and VAXstations, but can also be used on any standard RS232 with an 23 * Pin numbers for DE9 and DB25 are noted on the plug (quite small:). For 42 * has. These need to be switched on with the LK_CMD_ENABLE_LK401 43 * command. You'll find this document (scanned .pdf file) on MANX, 208 [0xae] = KEY_LEFTSHIFT, /* Same as KEY_RIGHTSHIFT on LK201 */ 371 * Print keyboard name and modify Compose=Alt on user's request. 388 "lkkbd: keyboard on %s is unknown, please report to " 397 printk(KERN_INFO "lkkbd: keyboard on %s identified as: %s\n", 409 printk(KERN_ERR "lkkbd: Stuck key on keyboar 521 lkkbd_toggle_keyclick(struct lkkbd *lk, bool on) argument [all...] |
/drivers/input/misc/ |
H A D | cm109.c | 18 * This driver is based on the yealink.c driver 116 unsigned char buzzer_state; /* on/off */ 153 * The "up" and "down" keys, are symbolised by arrows on the button. 155 * on the button. 461 static void cm109_toggle_buzzer_sync(struct cm109_dev *dev, int on) argument 465 if (on)
|
/drivers/isdn/hardware/eicon/ |
H A D | maintidi.c | 48 static int SuperTraceSetAudioTap(void *hLib, int Channel, int on); 49 static int SuperTraceSetBChannel(void *hLib, int Channel, int on); 50 static int SuperTraceSetDChannel(void *hLib, int on); 51 static int SuperTraceSetInfo(void *hLib, int on); 106 Return 0 on error. 199 Return (-1) on error 1879 Read variable value to they destination based on the variable type 2019 static int SuperTraceSetAudioTap(void *hLib, int Channel, int on) { argument 2027 if (on) { 2046 static int SuperTraceSetBChannel(void *hLib, int Channel, int on) { argument 2063 SuperTraceSetDChannel(void *hLib, int on) argument 2075 SuperTraceSetInfo(void *hLib, int on) argument [all...] |
/drivers/macintosh/ |
H A D | via-pmu68k.c | 2 * Device driver for the PMU on 68K-based Apple PowerBooks 6 * battery charging and system power on the PowerBooks. 13 * Based largely on the PowerMac PMU code by Paul Mackerras and 16 * Also based on the PMU driver from MkLinux by Apple Computer, Inc. 71 #define SR_EXT 0x0c /* Shift on external clock */ 76 #define CB1_INT 0x10 /* transition on CB1 input */ 117 static void pmu_enable_backlight(int on); 746 pmu_enable_backlight(int on) argument 750 if (on) { 773 PMU_POW_BACKLIGHT | (on 797 pmu_enable_irled(int on) argument [all...] |