Lines Matching refs:platdata
121 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()
1022 if (host->platdata) in au1xmmc_probe()
1023 mmc->caps &= ~(host->platdata->mask_host_caps); in au1xmmc_probe()
1038 if (host->platdata && host->platdata->led) { in au1xmmc_probe()
1039 struct led_classdev *led = host->platdata->led; in au1xmmc_probe()
1067 if (host->platdata && host->platdata->led) in au1xmmc_probe()
1068 led_classdev_unregister(host->platdata->led); in au1xmmc_probe()
1083 if (host->platdata && host->platdata->cd_setup && in au1xmmc_probe()
1085 host->platdata->cd_setup(mmc, 0); in au1xmmc_probe()
1107 if (host->platdata && host->platdata->led) in au1xmmc_remove()
1108 led_classdev_unregister(host->platdata->led); in au1xmmc_remove()
1111 if (host->platdata && host->platdata->cd_setup && in au1xmmc_remove()
1113 host->platdata->cd_setup(host->mmc, 0); in au1xmmc_remove()