Home
last modified time | relevance | path

Searched refs:mmc_pdata (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/arch/arm/mach-omap2/
Dhsmmc.c350 struct omap_hsmmc_platform_data *mmc_pdata; in omap_hsmmc_late_init() local
366 mmc_pdata = pdev->dev.platform_data; in omap_hsmmc_late_init()
367 if (!mmc_pdata) in omap_hsmmc_late_init()
372 mmc_pdata->gpio_cd = -EINVAL; in omap_hsmmc_late_init()
373 mmc_pdata->gpio_cod = c->gpio_cd; in omap_hsmmc_late_init()
376 mmc_pdata->gpio_cd = c->gpio_cd; in omap_hsmmc_late_init()
377 mmc_pdata->gpio_cod = -EINVAL; in omap_hsmmc_late_init()
379 mmc_pdata->gpio_wp = c->gpio_wp; in omap_hsmmc_late_init()
/linux-4.4.14/arch/arm/mach-imx/
Dmx31lilly-db.c156 static const struct imxmmc_platform_data mmc_pdata __initconst = {
209 imx31_add_mxc_mmc(0, &mmc_pdata); in mx31lilly_db_init()
Dmx31lite-db.c143 static const struct imxmmc_platform_data mmc_pdata __initconst = {
191 imx31_add_mxc_mmc(0, &mmc_pdata); in mx31lite_db_init()
/linux-4.4.14/drivers/mmc/host/
Domap_hsmmc.c160 #define mmc_pdata(host) host->pdata macro
361 if (mmc_pdata(host)->set_power) in omap_hsmmc_set_power()
362 return mmc_pdata(host)->set_power(dev, power_on, vdd); in omap_hsmmc_set_power()
371 if (mmc_pdata(host)->before_set_reg) in omap_hsmmc_set_power()
372 mmc_pdata(host)->before_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
405 if (mmc_pdata(host)->after_set_reg) in omap_hsmmc_set_power()
406 mmc_pdata(host)->after_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
475 if (mmc_pdata(host)->set_power) in omap_hsmmc_reg_get()
489 mmc_pdata(host)->ocr_mask = ocr_value; in omap_hsmmc_reg_get()
514 if (mmc_pdata(host)->no_regulator_off_init) in omap_hsmmc_reg_get()
[all …]