Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/mmc/host/
Domap_hsmmc.c159 #define mmc_pdata(host) host->pdata macro
272 if (mmc_pdata(host)->before_set_reg) in omap_hsmmc_set_power()
273 mmc_pdata(host)->before_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
335 if (mmc_pdata(host)->after_set_reg) in omap_hsmmc_set_power()
336 mmc_pdata(host)->after_set_reg(dev, power_on, vdd); in omap_hsmmc_set_power()
355 if (!mmc_pdata(host)->ocr_mask) { in omap_hsmmc_reg_get()
356 mmc_pdata(host)->ocr_mask = ocr_value; in omap_hsmmc_reg_get()
358 if (!(mmc_pdata(host)->ocr_mask & ocr_value)) { in omap_hsmmc_reg_get()
360 mmc_pdata(host)->ocr_mask); in omap_hsmmc_reg_get()
361 mmc_pdata(host)->ocr_mask = 0; in omap_hsmmc_reg_get()
[all …]
/linux-4.1.27/arch/arm/mach-imx/
Dmx31lite-db.c143 static const struct imxmmc_platform_data mmc_pdata __initconst = {
191 imx31_add_mxc_mmc(0, &mmc_pdata); in mx31lite_db_init()
Dmx31lilly-db.c156 static const struct imxmmc_platform_data mmc_pdata __initconst = {
209 imx31_add_mxc_mmc(0, &mmc_pdata); in mx31lilly_db_init()