Lines Matching refs:platdata

118 	struct au1xmmc_platform_data *platdata;  member
213 if (host->platdata && host->platdata->set_power) in au1xmmc_set_power()
214 host->platdata->set_power(host->mmc, state); in au1xmmc_set_power()
221 if (host->platdata && host->platdata->card_inserted) in au1xmmc_card_inserted()
222 return !!host->platdata->card_inserted(host->mmc); in au1xmmc_card_inserted()
231 if (host->platdata && host->platdata->card_readonly) in au1xmmc_card_readonly()
232 return !!host->platdata->card_readonly(mmc); in au1xmmc_card_readonly()
948 host->platdata = pdev->dev.platform_data; in au1xmmc_probe()
1029 if (host->platdata && host->platdata->cd_setup) { in au1xmmc_probe()
1030 ret = host->platdata->cd_setup(mmc, 1); in au1xmmc_probe()
1039 if (host->platdata) in au1xmmc_probe()
1040 mmc->caps &= ~(host->platdata->mask_host_caps); in au1xmmc_probe()
1053 if (host->platdata && host->platdata->led) { in au1xmmc_probe()
1054 struct led_classdev *led = host->platdata->led; in au1xmmc_probe()
1082 if (host->platdata && host->platdata->led) in au1xmmc_probe()
1083 led_classdev_unregister(host->platdata->led); in au1xmmc_probe()
1097 if (host->platdata && host->platdata->cd_setup && in au1xmmc_probe()
1099 host->platdata->cd_setup(mmc, 0); in au1xmmc_probe()
1125 if (host->platdata && host->platdata->led) in au1xmmc_remove()
1126 led_classdev_unregister(host->platdata->led); in au1xmmc_remove()
1129 if (host->platdata && host->platdata->cd_setup && in au1xmmc_remove()
1131 host->platdata->cd_setup(host->mmc, 0); in au1xmmc_remove()