Searched refs:set_power (Results 1 - 103 of 103) sorted by relevance

/linux-4.1.27/include/linux/platform_data/
H A Domap1_bl.h8 int (*set_power)(struct device *dev, int state); member in struct:omap_backlight_config
H A Dirda-sa11x0.h16 int (*set_power)(struct device *, unsigned int state); member in struct:irda_platform_data
H A Dmmc-davinci.h16 void (*set_power)(int module, bool on); member in struct:davinci_mmc_config
H A Dmmc-s3cmci.h14 * @set_power: Callback to control the power mode.
39 void (*set_power)(unsigned char power_mode, member in struct:s3c24xx_mci_pdata
H A Dusb-davinci.h45 int (*set_power)(unsigned port, int on); member in struct:da8xx_ohci_root_hub
H A Dhsmmc-omap.h77 int (*set_power)(struct device *dev, int power_on, int vdd); member in struct:omap_hsmmc_platform_data
H A Dmmc-omap.h90 int (*set_power)(struct device *dev, int slot, member in struct:omap_mmc_platform_data::omap_mmc_slot_data
/linux-4.1.27/include/media/
H A Dm5mols.h23 * @set_power: an additional callback to the board setup code
30 int (*set_power)(struct device *dev, int on); member in struct:m5mols_platform_data
H A Dsr030pc30.h18 int (*set_power)(struct device *dev, int on); member in struct:sr030pc30_platform_data
H A Das3645a.h51 * @set_power: Set power callback
60 int (*set_power)(struct v4l2_subdev *subdev, int on); member in struct:as3645a_platform_data
H A Ds5k6aa.h29 * @set_power: an additional callback to the board code, called
41 int (*set_power)(int enable); member in struct:s5k6aa_platform_data
/linux-4.1.27/include/video/
H A Dplatform_lcd.h19 void (*set_power)(struct plat_lcd_data *, unsigned int power); member in struct:plat_lcd_data
/linux-4.1.27/include/linux/
H A Dlcd.h21 * Access to set_power() is serialised by the update_lock mutex since
54 int (*set_power)(struct lcd_device *, int power); member in struct:lcd_ops
74 /* Serialise access to set_power method */
108 if (ld->ops && ld->ops->set_power) lcd_set_power()
109 ld->ops->set_power(ld, power); lcd_set_power()
H A Dsm501.h170 int (*set_power)(struct device *dev, unsigned int on); member in struct:sm501_platdata
/linux-4.1.27/include/linux/power/
H A Disp1704_charger.h26 void (*set_power)(bool on); member in struct:isp1704_charger_data
/linux-4.1.27/drivers/video/backlight/
H A Dplatform_lcd.c53 plcd->pdata->set_power(plcd->pdata, lcd_power); platform_lcd_set_power()
72 .set_power = platform_lcd_set_power,
H A Dlcd.c51 if (ld->ops->set_power) fb_notifier_callback()
52 ld->ops->set_power(ld, *(int *)evdata->data); fb_notifier_callback()
122 if (ld->ops && ld->ops->set_power) { lcd_power_store()
124 ld->ops->set_power(ld, power); lcd_power_store()
H A Domap1_bl.c55 if (bl->pdata->set_power) omapbl_blank()
56 bl->pdata->set_power(bl->dev, mode); omapbl_blank()
H A Djornada720_lcd.c92 .set_power = jornada_lcd_set_power,
H A Dlms283gf05.c149 .set_power = lms283gf05_power_set,
H A Dtosa_lcd.c169 .set_power = tosa_lcd_set_power,
H A Dcr_bllcd.c171 .set_power = cr_lcd_set_power,
H A Dili9320.c169 .set_power = ili9320_set_power,
H A Dl4f00242t03.c167 .set_power = l4f00242t03_lcd_power_set,
H A Dltv350qv.c226 .set_power = ltv350qv_set_power,
H A Dams369fg06.c437 .set_power = ams369fg06_set_power,
H A Dlms501kf03.c322 .set_power = lms501kf03_set_power,
H A Dtdo24m.c330 .set_power = tdo24m_set_power,
H A Dcorgi_lcd.c389 .set_power = corgi_lcd_set_power,
H A Dhx8357.c565 .set_power = hx8357_set_power,
H A Dili922x.c474 .set_power = ili922x_set_power,
H A Dld9040.c667 .set_power = ld9040_set_power,
H A Ds6e63m0.c622 .set_power = s6e63m0_set_power,
/linux-4.1.27/arch/arm/mach-omap1/
H A Dboard-h2-mmc.c57 .set_power = mmc_set_power,
H A Dboard-h3-mmc.c39 .set_power = mmc_set_power,
H A Dboard-sx1-mmc.c47 .set_power = mmc_set_power,
H A Dboard-nokia770.c183 .set_power = nokia770_mmc_set_power,
H A Dboard-innovator.c354 .set_power = mmc_set_power,
/linux-4.1.27/drivers/usb/host/
H A Dohci-da8xx.c82 hub->set_power(port, 0); ohci_da8xx_ocic_handler()
114 if (hub->set_power) { ohci_da8xx_init()
217 if (!hub->set_power) ohci_da8xx_hub_control()
220 return hub->set_power(wIndex, temp) ? -EPIPE : 0; ohci_da8xx_hub_control()
/linux-4.1.27/arch/arm/mach-sa1100/
H A Dh3100.c119 .set_power = h3100_irda_set_power,
H A Dh3600.c127 .set_power = h3600_irda_set_power,
H A Dcollie.c128 .set_power = collie_ir_set_power,
H A Dassabet.c304 .set_power = assabet_irda_set_power,
/linux-4.1.27/include/linux/usb/
H A Dphy.h106 int (*set_power)(struct usb_phy *x, member in struct:usb_phy
263 if (x && x->set_power) usb_phy_set_power()
264 return x->set_power(x, mA); usb_phy_set_power()
H A Dmusb.h124 int (*set_power)(int state); member in struct:musb_hdrc_platform_data
/linux-4.1.27/drivers/media/i2c/
H A Dsr030pc30.c606 /* set_power controls sensor's power and clock */ sr030pc30_s_power()
607 if (pdata->set_power) { sr030pc30_s_power()
608 ret = pdata->set_power(&client->dev, on); sr030pc30_s_power()
662 if (pdata->set_power) { sr030pc30_detect()
663 ret = pdata->set_power(&client->dev, 1); sr030pc30_detect()
670 if (pdata->set_power) sr030pc30_detect()
671 pdata->set_power(&client->dev, 0); sr030pc30_detect()
H A Das3645a.c522 if (flash->pdata->set_power) { __as3645a_set_power()
523 ret = flash->pdata->set_power(&flash->subdev, on); __as3645a_set_power()
533 if (flash->pdata->set_power) __as3645a_set_power()
534 flash->pdata->set_power(&flash->subdev, 0); __as3645a_set_power()
H A Ds5k6aa.c1568 s5k6aa->s_power = pdata->set_power; s5k6aa_probe()
/linux-4.1.27/drivers/media/i2c/m5mols/
H A Dm5mols.h185 * @set_power: optional power callback to the board code
228 int (*set_power)(struct device *dev, int on); member in struct:m5mols_info
323 int (*set_power)(struct m5mols_info *, bool));
H A Dm5mols_core.c749 if (info->set_power) { m5mols_sensor_power()
750 ret = info->set_power(&client->dev, 1); m5mols_sensor_power()
757 info->set_power(&client->dev, 0); m5mols_sensor_power()
771 if (info->set_power) m5mols_sensor_power()
772 info->set_power(&client->dev, 0); m5mols_sensor_power()
784 int (*set_power)(struct m5mols_info *, bool)) m5mols_update_fw()
953 info->set_power = pdata->set_power; m5mols_probe()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dboard-n8x0.c111 .set_power = tusb_set_power,
450 .set_power = n8x0_mmc_set_power,
458 .set_power = n8x0_mmc_set_power,
H A Dhsmmc.c305 mmc->set_power = nop_mmc_set_power; omap_hsmmc_pdata_init()
317 mmc->set_power = am35x_hsmmc2_set_power; omap_hsmmc_pdata_init()
H A Dboard-rx51-peripherals.c282 .set_power = rx51_charger_set_power,
1170 * set_power is null, and wl1251_probe() will fail. rx51_init_wl1251()
/linux-4.1.27/drivers/pci/hotplug/
H A Dcpci_hotplug.h61 int (*set_power) (struct slot *slot, int value); member in struct:cpci_hp_controller_ops
H A Dcpci_hotplug_core.c111 if (controller->ops->set_power) enable_slot()
112 retval = controller->ops->set_power(slot, 1); enable_slot()
145 if (controller->ops->set_power) { disable_slot()
146 retval = controller->ops->set_power(slot, 0); disable_slot()
/linux-4.1.27/arch/arm/mach-clps711x/
H A Dboard-edb7211.c109 .set_power = edb7211_lcd_power_set,
H A Dboard-p720t.c282 .set_power = p720t_lcd_power_set,
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dau1100_mmc.h47 void(*set_power)(void *mmc_host, int state); member in struct:au1xmmc_platform_data
/linux-4.1.27/drivers/video/fbdev/omap/
H A Dlcd_ams_delta.c93 .set_power = ams_delta_lcd_set_power,
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dmach-anw6410.c127 .set_power = anw6410_lcd_power_set,
H A Dmach-mini6410.c211 .set_power = mini6410_lcd_power_set,
H A Dmach-smartq.c227 .set_power = smartq_lcd_power_set,
H A Dmach-smdk6410.c139 .set_power = smdk6410_lcd_power_set,
H A Dmach-crag6410.c147 .set_power = crag6410_lcd_power_set,
/linux-4.1.27/arch/arm/mach-imx/
H A Deukrea_mbimxsd35-baseboard.c184 .set_power = eukrea_mbimxsd_lcd_power_set,
H A Dmach-mx35_3ds.c127 .set_power = mx35_3ds_lcd_set_power,
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Ddb1000.c302 .set_power = db1100_mmc_set_power,
309 .set_power = db1100_mmc1_set_power,
H A Ddb1200.c526 .set_power = db1200_mmc_set_power,
533 .set_power = pb1200_mmc1_set_power,
/linux-4.1.27/drivers/mmc/host/
H A Domap_hsmmc.c366 mmc_pdata(host)->set_power = omap_hsmmc_set_power; omap_hsmmc_reg_get()
386 mmc_pdata(host)->set_power(host->dev, 1, vdd); omap_hsmmc_reg_get()
387 mmc_pdata(host)->set_power(host->dev, 0, 0); omap_hsmmc_reg_get()
395 mmc_pdata(host)->set_power = NULL; omap_hsmmc_reg_put()
1167 ret = mmc_pdata(host)->set_power(host->dev, 0, 0); omap_hsmmc_switch_opcond()
1171 ret = mmc_pdata(host)->set_power(host->dev, 1, vdd); omap_hsmmc_switch_opcond()
1570 mmc_pdata(host)->set_power(host->dev, 0, 0); omap_hsmmc_set_ios()
1573 mmc_pdata(host)->set_power(host->dev, 1, ios->vdd); omap_hsmmc_set_ios()
2100 if (omap_hsmmc_have_reg() && !mmc_pdata(host)->set_power) { omap_hsmmc_probe()
H A Ddavinci_mmc.c742 if (config && config->set_power) mmc_davinci_set_ios()
743 config->set_power(pdev->id, false); mmc_davinci_set_ios()
746 if (config && config->set_power) mmc_davinci_set_ios()
747 config->set_power(pdev->id, true); mmc_davinci_set_ios()
H A Ds3cmci.c1249 if (host->pdata->set_power) s3cmci_set_ios()
1250 host->pdata->set_power(ios->power_mode, ios->vdd); s3cmci_set_ios()
1264 if (host->pdata->set_power) s3cmci_set_ios()
1265 host->pdata->set_power(ios->power_mode, ios->vdd); s3cmci_set_ios()
H A Dau1xmmc.c214 if (host->platdata && host->platdata->set_power) au1xmmc_set_power()
215 host->platdata->set_power(host->mmc, state); au1xmmc_set_power()
H A Domap.c1109 if (slot->pdata->set_power != NULL) mmc_omap_set_power()
1110 slot->pdata->set_power(mmc_dev(slot->mmc), slot->id, power_on, mmc_omap_set_power()
/linux-4.1.27/drivers/power/
H A Disp1704_charger.c92 if (board && board->set_power) isp1704_charger_set_power()
93 board->set_power(on); isp1704_charger_set_power()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-h1940.c468 .set_power = h1940_set_mmc_power,
570 .set_power = h1940_lcd_power_set,
H A Dmach-mini2440.c242 .set_power = NULL,
H A Dmach-n30.c359 .set_power = n30_sdi_set_power,
H A Dmach-rx1950.c559 .set_power = rx1950_set_mmc_power,
/linux-4.1.27/drivers/pnp/pnpacpi/
H A Dcore.c169 * setting if the set_power fails. pnpacpi_suspend()
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-omapl138-hawk.c229 .set_power = hawk_usb_set_power,
H A Dboard-da830-evm.c92 .set_power = da830_evm_usb_set_power,
/linux-4.1.27/drivers/usb/phy/
H A Dphy-gpio-vbus-usb.c272 gpio_vbus->phy.set_power = gpio_vbus_set_power; gpio_vbus_probe()
H A Dphy-msm-usb.c648 * Gadget driver uses set_power method to notify about the msm_otg_set_power()
1649 phy->set_power = msm_otg_set_power; msm_otg_probe()
H A Dphy-ab8500-usb.c1395 ab->phy.set_power = ab8500_usb_set_power; ab8500_usb_probe()
H A Dphy-fsl-usb.c824 fsl_otg_tc->phy.set_power = fsl_otg_set_power; fsl_otg_conf()
H A Dphy-isp1301-omap.c1583 isp->phy.set_power = isp1301_set_power, isp1301_probe()
/linux-4.1.27/drivers/video/fbdev/
H A Dclps711x-fb.c209 .set_power = clps711x_lcd_set_power,
H A Dbfin-t350mcqb-fb.c392 .set_power = bfin_lcd_set_power,
H A Dbf537-lq035.c681 .set_power = bfin_lcd_set_power,
H A Dbf54x-lq043fb.c470 .set_power = bfin_lcd_set_power,
H A Dimxfb.c786 .set_power = imxfb_lcd_set_power,
/linux-4.1.27/drivers/usb/musb/
H A Dblackfin.c451 musb->xceiv->set_power = bfin_musb_set_power; bfin_musb_init()
H A Dtusb6010.c1154 musb->xceiv->set_power = tusb_draw_power; tusb_musb_init()
H A Dmusb_core.c1977 musb->board_set_power = plat->set_power; musb_init_controller()
H A Dmusb_gadget.c1654 if (!musb->xceiv->set_power) musb_gadget_vbus_draw()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dhx4700.c543 .set_power = hx4700_lcd_set_power,
/linux-4.1.27/drivers/net/irda/
H A Dsa1100_ir.c633 if (si->pdata->set_power) __sa1100_irda_set_power()
634 ret = si->pdata->set_power(si->dev, state); __sa1100_irda_set_power()
/linux-4.1.27/drivers/phy/
H A Dphy-twl4030-usb.c557 /* FIXME add a set_power() method so that B-devices can twl4030_usb_irq()
/linux-4.1.27/drivers/mfd/
H A Dsm501.c1462 if (pd->set_power) { sm501_set_power()
1465 pd->set_power(sm->dev, on); sm501_set_power()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_wx.c1251 "set_power"
/linux-4.1.27/drivers/video/fbdev/exynos/
H A Ds6e8ax0.c729 .set_power = s6e8ax0_set_power,
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2100.c8085 IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "set_power"},
H A Dipw2200.c9968 .name = "set_power"},

Completed in 1755 milliseconds