Home
last modified time | relevance | path

Searched refs:platdata (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/mmc/host/
Dau1xmmc.c121 struct au1xmmc_platform_data *platdata; member
201 if (host->platdata && host->platdata->set_power) in au1xmmc_set_power()
202 host->platdata->set_power(host->mmc, state); in au1xmmc_set_power()
209 if (host->platdata && host->platdata->card_inserted) in au1xmmc_card_inserted()
210 return !!host->platdata->card_inserted(host->mmc); in au1xmmc_card_inserted()
219 if (host->platdata && host->platdata->card_readonly) in au1xmmc_card_readonly()
220 return !!host->platdata->card_readonly(mmc); in au1xmmc_card_readonly()
957 host->platdata = pdev->dev.platform_data; in au1xmmc_probe()
1012 if (host->platdata && host->platdata->cd_setup) { in au1xmmc_probe()
1013 ret = host->platdata->cd_setup(mmc, 1); in au1xmmc_probe()
[all …]
/linux-2.6.39/drivers/video/backlight/
Dili9320.c82 struct ili9320_platdata *cfg = lcd->platdata; in ili9320_reset()
100 ret = lcd->client->init(lcd, lcd->platdata); in ili9320_init_chip()
234 ili->platdata = cfg; in ili9320_probe_spi()
292 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) { in ili9320_suspend()
311 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) { in ili9320_resume()
Dili9320.h48 struct ili9320_platdata *platdata; member
/linux-2.6.39/drivers/mfd/
Domap-usb-host.c167 struct usbhs_omap_platform_data platdata; member
260 ehci_data = omap->platdata.ehci_data; in omap_usbhs_alloc_children()
261 ohci_data = omap->platdata.ohci_data; in omap_usbhs_alloc_children()
349 omap->platdata.port_mode[i] = pdata->port_mode[i]; in usbhs_omap_probe()
351 omap->platdata.ehci_data = pdata->ehci_data; in usbhs_omap_probe()
352 omap->platdata.ohci_data = pdata->ohci_data; in usbhs_omap_probe()
693 struct usbhs_omap_platform_data *pdata = &omap->platdata; in usbhs_enable()
940 struct usbhs_omap_platform_data *pdata = &omap->platdata; in usbhs_disable()
Dsm501.c73 struct sm501_platdata *platdata; member
1029 struct sm501_platdata *pdata = sm->platdata; in sm501_gpio_register_chip()
1366 pdata = sm->platdata; in sm501_init_dev()
1414 sm->platdata = dev->dev.platform_data; in sm501_plat_probe()
1469 struct sm501_platdata *pd = sm->platdata; in sm501_set_power()
1498 if (sm->platdata) { in sm501_plat_suspend()
1499 if (sm->platdata->flags & SM501_FLAG_SUSPEND_OFF) in sm501_plat_suspend()
1526 if (sm->platdata && sm->platdata->init) { in sm501_plat_resume()
1527 sm501_init_regs(sm, sm->platdata->init); in sm501_plat_resume()
1603 dev->dev.platform_data = sm->platdata = &sm501_pci_platdata; in sm501_pci_probe()