Searched defs:on (Results 1 - 25 of 265) sorted by relevance

1234567891011

/drivers/bcma/
H A Dcore.c86 void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) argument
93 if (on) {
/drivers/mfd/
H A Dpcf50633-gpio.c82 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 Dnv10_gpio.c86 nv10_gpio_irq_enable(struct drm_device *dev, int line, bool on) argument
91 nv_mask(dev, 0x001144, mask, on ? mask : 0);
H A Dnv50_gpio.c69 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 Dide-lib.c12 * @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 Dide-dma-sff.c17 * 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 Dtrm290.c14 * 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 Dqueue.c124 * 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 Dleds-asic3.c21 * 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 Dradio-aimslab.c11 * 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 Dhdmiphy_drv.c79 static int hdmiphy_s_power(struct v4l2_subdev *sd, int on) argument
/drivers/net/wireless/bcmdhd/
H A Ddhd_custom_gpio.c46 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 Diwl-led.c78 * 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 Dulpi.c6 * 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 Dlocomolcd.c83 void locomolcd_power(int on) argument
101 if (on)
/drivers/gpu/drm/gma500/
H A Doaktrail_lvds.c47 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 Dpm8xxx-vibrator.c93 * @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 Dboardergo.c53 /* 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 Dcore.c78 * 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 Dsa1100-flash.c2 * 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 Dmv88x201x.c52 /* 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 Dmy3126.c103 static int my3126_set_loopback(struct cphy *cphy, int on) argument
127 /* Turn on the LED. */
/drivers/net/usb/
H A Dcdc_ether.c103 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 Dqmi_wwan.c27 * 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 Dpps.c61 static int pps_cdev_fasync(int fd, struct file *file, int on) argument
64 return fasync_helper(fd, file, on, &pps->async_queue);

Completed in 623 milliseconds

1234567891011