/drivers/net/wireless/b43/ |
H A D | phy_ht.c | 267 /* TODO: some ops on PHY regs 0x0B0 and 0xC0A */ 372 ; /* TODO: PHY op on reg 0x217 */ 454 /* TODO: PHY op on reg 0xb0 */ 506 static void b43_phy_ht_op_switch_analog(struct b43_wldev *dev, bool on) argument 508 if (on) {
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | phy_shim.c | 166 void wlapi_bmac_core_phypll_ctl(struct phy_shim_info *physhim, bool on) argument 168 brcms_b_core_phypll_ctl(physhim->wlc_hw, on);
|
/drivers/power/ |
H A D | isp1704_charger.c | 88 static void isp1704_charger_set_power(struct isp1704_charger *isp, bool on) argument 93 board->set_power(on); 123 /* Enable strong pull-up on DP (1.5K) and reset */ 162 /* Enable strong pull-up on DP (1.5K) and reset */ 169 /* Disable strong pull-up on DP (1.5K) */ 177 /* Enable weak pull-up resistor on DP */ 181 /* Disable strong pull-up on DP (1.5K) */ 185 /* Enable weak pull-down resistor on DM */ 193 /* Disable weak pull-up resistor on DP */
|
/drivers/ptp/ |
H A D | ptp_ixp46x.c | 218 struct ptp_clock_request *rq, int on) 226 ixp_clock->exts0_enabled = on ? 1 : 0; 229 ixp_clock->exts1_enabled = on ? 1 : 0; 217 ptp_ixp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
|
/drivers/rtc/ |
H A D | rtc-dev.c | 7 * based on arch/arm/common/rtctime.c 434 static int rtc_dev_fasync(int fd, struct file *file, int on) argument 437 return fasync_helper(fd, file, on, &rtc->async_queue);
|
/drivers/staging/media/solo6x10/ |
H A D | g723.c | 55 int on; member in struct:solo_snd_pcm 94 /* This means open() hasn't been called on this one */ 100 if (!solo_pcm->on) 174 if (solo_pcm->on == 0) { 175 /* If this is the first user, switch on interrupts */ 178 solo_pcm->on = 1; 182 if (solo_pcm->on) { 186 solo_pcm->on = 0; 359 sprintf(card->longname, "%s on %s IRQ %d", card->shortname,
|
/drivers/usb/host/ |
H A D | ohci-da8xx.c | 34 static void ohci_da8xx_clock(int on) argument 39 if (on) { 154 /* See if we have OCIC bit set on port 1 */ 157 "on port 1\n");
|
H A D | ohci-omap.c | 11 * Based on the 2.4 OMAP OHCI driver originally done by MontaVista Software Inc. 12 * and on ohci-sa1111.c by Christopher Hoover <ch@hpl.hp.com> 73 static void omap_ohci_clock_power(int on) argument 75 if (on) { 87 * Board specific gang-switched transceiver power on/off. 90 static int omap_ohci_transceiver_power(int on) argument 92 if (on) { 113 * OMAP-1510 specific Local Bus clock on/off 115 static int omap_1510_local_bus_power(int on) argument 117 if (on) { [all...] |
/drivers/usb/otg/ |
H A D | otg_fsm.h | 93 void (*chrg_vbus)(int on); 94 void (*drv_vbus)(int on); 95 void (*loc_conn)(int on); 96 void (*loc_sof)(int on); 100 int (*start_host)(struct otg_fsm *fsm, int on); 101 int (*start_gadget)(struct otg_fsm *fsm, int on); 105 static inline void otg_chrg_vbus(struct otg_fsm *fsm, int on) argument 107 fsm->ops->chrg_vbus(on); 110 static inline void otg_drv_vbus(struct otg_fsm *fsm, int on) argument 112 if (fsm->drv_vbus != on) { 118 otg_loc_conn(struct otg_fsm *fsm, int on) argument 126 otg_loc_sof(struct otg_fsm *fsm, int on) argument [all...] |
/drivers/usb/serial/ |
H A D | ipw.c | 13 * on MSFT's O/S, and examing the MSFT drivers' debug output 99 #define IPW_SIO_RXCTL 0x00 /* control bulk rx channel transmissions, value=1/0 (on/off) */ 104 #define IPW_SIO_INIT 0x11 /* initializes ? value=0 (appears as first thing todo on open) */ 190 /*--3: Tell the modem to open the floodgates on the rx bulk channel */ 245 static void ipw_dtr_rts(struct usb_serial_port *port, int on) argument 250 dbg("%s: on = %d", __func__, on); 255 on ? IPW_PIN_SETDTR : IPW_PIN_CLRDTR, 267 on ? IPW_PIN_SETRTS : IPW_PIN_CLRRTS, 296 /* send RXBULK_off (tell modem to stop transmitting bulk data on [all...] |
/drivers/xen/ |
H A D | evtchn.c | 66 /* Processes wait on this queue when ring is empty. */ 439 static int evtchn_fasync(int fd, struct file *filp, int on) argument 442 return fasync_helper(fd, filp, on, &u->evtchn_async_queue);
|
/drivers/ata/ |
H A D | pata_ali.c | 21 * Cannot have ATAPI on both master & slave for rev < c2 (???) but 114 * Ensure that we do not do DMA on CD devices. We may be able to 115 * fix that later on. Also ensure we do not do UDMA on WDC drives 121 /* No DMA on anything but a disk for now */ 134 * @on: 0 for off 1 for on 136 * Enable or disable the FIFO on a given device. Because of the way the 137 * ALi FIFO works it provides a boost on ATA disk but can be confused by 141 static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on) argument [all...] |
/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_lvds.c | 200 struct drm_encoder *encoder, bool on) 208 if (on) { 288 "encoder on the same pipe\n"); 314 * XXX: It would be nice to support lower refresh rates on the 362 * The LVDS pin pair will already have been turned on in the 363 * cdv_intel_crtc_mode_set since it has a large impact on the DPLL 560 * cdv_intel_lvds_init - setup LVDS connectors on this device 564 * modes we can display on the LVDS panel (if present). 645 * 1) check for EDID on DDC 647 * 3) check to see if LVDS is already on 199 cdv_intel_lvds_set_power(struct drm_device *dev, struct drm_encoder *encoder, bool on) argument [all...] |
H A D | psb_intel_lvds.c | 97 * disable runtime pm on MRST if the brightness is nil (ie blanked) 220 static void psb_intel_lvds_set_power(struct drm_device *dev, bool on) argument 231 if (on) { 394 /* PSB requires the LVDS is on pipe B, MRST has only one pipe anyway */ 396 printk(KERN_ERR "Can't support LVDS on pipe A\n"); 409 "encoder on the same pipe\n"); 435 * XXX: It would be nice to support lower refresh rates on the 483 * The LVDS pin pair will already have been turned on in the 484 * psb_intel_crtc_mode_set since it has a large impact on the DPLL 694 * psb_intel_lvds_init - setup LVDS connectors on thi [all...] |
/drivers/hid/usbhid/ |
H A D | hiddev.c | 225 static int hiddev_fasync(int fd, struct file *file, int on) argument 229 return fasync_helper(fd, file, on, &list->fasync);
|
/drivers/hwmon/ |
H A D | exynos4_tmu.c | 85 * The temperature is converted differently depending on the calibration type. 194 static void exynos4_tmu_control(struct platform_device *pdev, bool on) argument 205 if (on) {
|
/drivers/ide/ |
H A D | au1xxx-ide.c | 311 static void auide_dma_host_set(ide_drive_t *drive, int on) argument
|
H A D | ide-acpi.c | 66 MODULE_PARM_DESC(acpionboot, "call IDE ACPI methods on boot"); 110 * Returns 0 on success, <0 on error. 168 * Returns handle on success, 0 on error. 501 * @on: state, on/off 504 * ACPI spec requires _PS0 when IDE power on and _PS3 when power off 506 void ide_acpi_set_state(ide_hwif_t *hwif, int on) argument 516 /* channel first and then drives for power on an [all...] |
H A D | ide-atapi.c | 34 * based on the ATAPI IDENTIFY command results. 142 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) argument 151 pc.c[4] = on; 263 * Push back the failed request and put request sense on top 505 /* Get the number of bytes to transfer on this interrupt. */
|
H A D | ide-disk.c | 238 * Returns new maximum virtual LBA address (> 0) or 0 on failure. 427 drive->dev_flags |= IDE_DFLAG_NOHPA; /* disable HPA on resume */ 445 /* FIXME: map struct ide_taskfile on rq->cmd[] */ 765 int on) 774 cmd.tf.command = on ? ATA_CMD_MEDIA_LOCK : ATA_CMD_MEDIA_UNLOCK; 764 ide_disk_set_doorlock(ide_drive_t *drive, struct gendisk *disk, int on) argument
|
/drivers/input/misc/ |
H A D | hp_sdc_rtc.c | 75 static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on); 416 static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on) argument 418 return fasync_helper (fd, filp, on, &hp_sdc_rtc_async_queue);
|
/drivers/media/video/s5p-fimc/ |
H A D | fimc-mdevice.c | 33 bool on); 62 * @on: 1 to enable power or 0 to disable 67 static int __subdev_set_power(struct v4l2_subdev *sd, int on) argument 76 if (on && (*use_count)++ > 0) 78 else if (!on && (*use_count == 0 || --(*use_count) > 0)) 80 ret = v4l2_subdev_call(sd, core, s_power, on); 181 * fimc_pipeline_s_stream - invoke s_stream on pipeline subdevs 183 * @on: passed as the s_stream call argument 185 int fimc_pipeline_s_stream(struct fimc_dev *fimc, int on) argument 193 if ((on 595 __fimc_md_set_camclk(struct fimc_md *fmd, struct fimc_sensor_info *s_info, bool on) argument 655 fimc_md_set_camclk(struct v4l2_subdev *sd, bool on) argument [all...] |
/drivers/mfd/ |
H A D | pm8xxx-irq.c | 173 /* on pm8xxx series masters start from bit 1 of the root */ 245 static int pm8xxx_irq_set_wake(struct irq_data *d, unsigned int on) argument 264 * The pm8xxx gpio and mpp rely on the interrupt block to read 265 * the values on their pins. This function is to facilitate reading 270 * an int indicating the value read on that line
|
H A D | twl4030-madc.c | 10 * Based on twl4030-madc.c 167 * Or < 0 on failure. 502 * req->rbuf will be filled with read values of channels based on the 600 * Or < 0 on failure. 630 * @on - enable or disable chan. 633 int chan, int on) 645 if (on) 661 * Function that sets MADC software power on bit to enable MADC 663 * @on - Enable or disable MADC software powen on bi 632 twl4030_madc_set_current_generator(struct twl4030_madc_data *madc, int chan, int on) argument 666 twl4030_madc_set_power(struct twl4030_madc_data *madc, int on) argument [all...] |
H A D | ucb1x00-core.c | 14 * to be used on other non-MCP-enabled hardware platforms. 43 * Set the IO direction of the ten general purpose IO pins on 202 * Enable the ucb1x00 and ADC converter on the UCB1x00 for use. 365 static int ucb1x00_irq_set_wake(struct irq_data *data, unsigned int on) argument 375 if (on) 424 * Try to probe our interrupt, rather than relying on lots of
|