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()
964 host->platdata = pdev->dev.platform_data; in au1xmmc_probe()
1046 if (host->platdata && host->platdata->cd_setup) { in au1xmmc_probe()
1047 ret = host->platdata->cd_setup(mmc, 1); in au1xmmc_probe()
1056 if (host->platdata) in au1xmmc_probe()
1057 mmc->caps &= ~(host->platdata->mask_host_caps); in au1xmmc_probe()
1072 if (host->platdata && host->platdata->led) { in au1xmmc_probe()
1073 struct led_classdev *led = host->platdata->led; in au1xmmc_probe()
1101 if (host->platdata && host->platdata->led) in au1xmmc_probe()
1102 led_classdev_unregister(host->platdata->led); in au1xmmc_probe()
1116 if (host->platdata && host->platdata->cd_setup && in au1xmmc_probe()
1118 host->platdata->cd_setup(mmc, 0); in au1xmmc_probe()
1143 if (host->platdata && host->platdata->led) in au1xmmc_remove()
1144 led_classdev_unregister(host->platdata->led); in au1xmmc_remove()
1147 if (host->platdata && host->platdata->cd_setup && in au1xmmc_remove()
1149 host->platdata->cd_setup(host->mmc, 0); in au1xmmc_remove()