/drivers/bcma/ |
H A D | core.c | 86 void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) argument 93 if (on) {
|
/drivers/mfd/ |
H A D | pcf50633-gpio.c | 82 int gpio, int regulator, int on) 89 val = !!on << (gpio - PCF50633_GPIO1); 81 pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, int gpio, int regulator, int on) argument
|
/drivers/gpu/drm/nouveau/ |
H A D | nv10_gpio.c | 86 nv10_gpio_irq_enable(struct drm_device *dev, int line, bool on) argument 91 nv_mask(dev, 0x001144, mask, on ? mask : 0);
|
H A D | nv50_gpio.c | 69 nv50_gpio_irq_enable(struct drm_device *dev, int line, bool on) argument 75 nv_mask(dev, reg + 0, mask, on ? mask : 0);
|
/drivers/ide/ |
H A D | ide-lib.c | 12 * @on: on/off boolean 18 void ide_toggle_bounce(ide_drive_t *drive, int on) argument 24 } else if (on && drive->media == ide_disk) {
|
H A D | ide-dma-sff.c | 17 * on the good/bad drive lists. 31 * Enable DMA on any drive that has 39 * Enable DMA on any drive that has mode2 DMA 75 * ide_dma_host_set - Enable/disable DMA on a host 78 * Enable/disable DMA on an IDE controller following generic 82 void ide_dma_host_set(ide_drive_t *drive, int on) argument 88 if (on) 183 * Returns 0 on success. If a PIO fallback is required then 1 284 /* returns 1 on error, 0 otherwise */
|
H A D | trm290.c | 14 * of the Tekram TRM290 chip, used on a variety of PCI IDE add-on boards, 26 * but can be turned on manually (with "hdparm -d1") at run time. 41 * trm290_base depends on jumper settings, and is probed for by ide-dma.c 230 static void trm290_dma_host_set(ide_drive_t *drive, int on) argument
|
/drivers/net/fddi/skfp/ |
H A D | queue.c | 124 * on 0 disconnect 125 * on 1 connect 127 u_short smt_online(struct s_smc *smc, int on) argument 129 queue_event(smc,EVENT_ECM,on ? EC_CONNECT : EC_DISCONNECT) ;
|
/drivers/leds/ |
H A D | leds-asic3.c | 21 * Hence we turn the LEDs on/off via the TimeBase register. 26 * This driver supports hardware blinking with an on+off 65 u32 on; local 74 on = MS_TO_CLK(500); 77 on = MS_TO_CLK(*delay_on); 79 if ((on + off) > MAX_CLK) 84 asic3_write_register(asic, (base + ASIC3_LED_PeriodTime), (on + off)); 85 asic3_write_register(asic, (base + ASIC3_LED_DutyTime), on); 89 *delay_on = CLK_TO_MS(on);
|
/drivers/media/radio/ |
H A D | radio-aimslab.c | 11 * Notes on the hardware (reverse engineered from other peoples' 17 * to indicate that (on my card, at least) the frequency setting isn't 75 /* The 128+64 on these outb's is to keep the volume stable while tuning. 80 static void send_0_byte(struct radio_isa_card *isa, int on) argument 82 outb_p(128+64+16+on+1, isa->io); /* wr-enable + data low */ 83 outb_p(128+64+16+on+2+1, isa->io); /* clock */ 87 static void send_1_byte(struct radio_isa_card *isa, int on) argument 89 outb_p(128+64+16+on+4+1, isa->io); /* wr-enable+data high */ 90 outb_p(128+64+16+on+4+2+1, isa->io); /* clock */ 96 int on local [all...] |
/drivers/media/video/s5p-tv/ |
H A D | hdmiphy_drv.c | 79 static int hdmiphy_s_power(struct v4l2_subdev *sd, int on) argument
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_custom_gpio.c | 46 int wifi_set_power(int on, unsigned long msec); 51 int wifi_set_power(int on, unsigned long msec) { return -1; } argument 159 WL_TRACE(("%s: call customer specific GPIO to turn on WL_REG_ON\n", 200 /* Table should be filled out based on custom platform regulatory requirement */
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-led.c | 78 * Adjust led blink rate to compensate on a MAC Clock difference on every HW 79 * Led blink rate analysis showed an average deviation of 20% on 5000 series 81 * Need to compensate on the led on/off time per HW according to the deviation 120 unsigned long on, 132 if (priv->blink_on == on && priv->blink_off == off) 137 on = IWL_LED_SOLID; 142 led_cmd.on = iwl_blink_compensation(priv, on, 119 iwl_led_cmd(struct iwl_priv *priv, unsigned long on, unsigned long off) argument 159 unsigned long on = 0; local [all...] |
/drivers/usb/otg/ |
H A D | ulpi.c | 6 * Based on sources from 235 static int ulpi_set_vbus(struct usb_otg *otg, bool on) argument 242 if (on) {
|
/drivers/video/backlight/ |
H A D | locomolcd.c | 83 void locomolcd_power(int on) argument 101 if (on)
|
/drivers/gpu/drm/gma500/ |
H A D | oaktrail_lvds.c | 47 bool on) 55 if (on) { 109 * The LVDS pin pair will already have been turned on in the 110 * psb_intel_crtc_mode_set since it has a large impact on the DPLL 118 /* If the firmware says dither on Moorestown, or the BIOS does 119 on Oaktrail then enable dithering */ 259 /* Use the firmware provided data on Moorestown */ 319 * oaktrail_lvds_init - setup LVDS connectors on this device 323 * modes we can display on the LVDS panel (if present). 382 * 1) check for EDID on DD 45 oaktrail_lvds_set_power(struct drm_device *dev, struct psb_intel_encoder *psb_intel_encoder, bool on) argument [all...] |
/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 93 * @on: state to set 95 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) argument 100 if (on) 283 MODULE_DESCRIPTION("PMIC8xxx vibrator driver based on ff-memless framework");
|
/drivers/isdn/hysdn/ |
H A D | boardergo.c | 53 /* clear any pending ints on the board */ 153 ergo_set_errlog_state(hysdn_card *card, int on) argument 163 if (((card->err_log_state == ERRLOG_STATE_OFF) && !on) || 164 ((card->err_log_state == ERRLOG_STATE_ON) && on)) { 168 if (on)
|
/drivers/lguest/x86/ |
H A D | core.c | 78 * runs on that CPU. This has to contain the state for that Guest: we copy the 152 * Now: we push the "eflags" register on the stack, then do an "lcall". 233 /* Restore SYSENTER if it's supposed to be on. */ 292 * cmpxchg8b instruction in early boot on many configurations. This 447 static void adjust_pge(void *on) argument 449 if (on) 464 * Most of the x86/switcher_32.S doesn't care that it's been moved; on 482 * but some depends on what Guest we are running (which is set up in 501 * All CPUs on the Host use the same Interrupt Descriptor 545 * The Host needs to be able to use the LGUEST segments on thi [all...] |
/drivers/mtd/maps/ |
H A D | sa1100-flash.c | 2 * Flash memory access on SA11x0 based devices 41 static void sa1100_set_vpp(struct map_info *map, int on) argument 47 if (on) { 48 if (++sa1100_vpp_refcnt == 1) /* first nested 'on' */
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88x201x.c | 52 /* Setup the LED registers so we can turn on/off. 167 static int mv88x201x_set_loopback(struct cphy *cphy, int on) argument 182 /* Turn on/off Link LED */ 231 /* Allows for Link,Ack LED turn on/off */
|
H A D | my3126.c | 103 static int my3126_set_loopback(struct cphy *cphy, int on) argument 127 /* Turn on the LED. */
|
/drivers/net/usb/ |
H A D | cdc_ether.c | 103 dev_dbg(&intf->dev, "CDC descriptors on config\n"); 107 * been seen on some 2Wire Inc RNDIS-ish products. 119 "CDC descriptors on endpoint\n"); 376 * an optional status endpoint on the control interface. 408 event->wValue ? "on" : "off"); 460 static int cdc_manage_power(struct usbnet *dev, int on) argument 462 dev->intf->needs_remote_wakeup = on; 580 /* LG Electronics VL600 wants additional headers on every frame */ 608 * we get FLAG_WWAN set on the device, since it's descriptors are
|
H A D | qmi_wwan.c | 27 * QMI is wrapped in CDC, using CDC encapsulated commands on the 41 * commands on any of the serial interfaces driven by the option driver 45 * parses the CDC functional descriptors on the control interface to 178 static int qmi_wwan_manage_power(struct usbnet *dev, int on) argument 183 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__, atomic_read(pmcount), on); 185 if ((on && atomic_add_return(1, pmcount) == 1) || (!on && atomic_dec_and_test(pmcount))) { 190 dev->intf->needs_remote_wakeup = on; 197 static int qmi_wwan_cdc_wdm_manage_power(struct usb_interface *intf, int on) argument [all...] |
/drivers/pps/ |
H A D | pps.c | 61 static int pps_cdev_fasync(int fd, struct file *file, int on) argument 64 return fasync_helper(fd, file, on, &pps->async_queue);
|