Lines Matching defs:prv_data
217 struct mg_drv_data *prv_data = host->dev->platform_data;
227 if (prv_data->use_polling) {
348 struct mg_drv_data *prv_data = host->dev->platform_data;
353 if (!prv_data->use_polling)
396 if (!prv_data->use_polling)
405 struct mg_drv_data *prv_data = host->dev->platform_data;
422 outb(ATA_SRST | (prv_data->use_polling ? ATA_NIEN : 0),
429 outb(prv_data->use_polling ? ATA_NIEN : 0,
457 struct mg_drv_data *prv_data = host->dev->platform_data;
462 if (!prv_data->use_polling) {
785 struct mg_drv_data *prv_data = plat_dev->dev.platform_data;
786 struct mg_host *host = prv_data->host;
791 if (!prv_data->use_polling)
799 if (!prv_data->use_polling)
809 struct mg_drv_data *prv_data = plat_dev->dev.platform_data;
810 struct mg_host *host = prv_data->host;
822 if (!prv_data->use_polling)
832 struct mg_drv_data *prv_data = plat_dev->dev.platform_data;
835 if (!prv_data) {
853 prv_data->host = host;
891 if (!(prv_data->dev_attr & MG_DEV_MASK))
894 if (prv_data->dev_attr != MG_BOOT_DEV) {
911 if (prv_data->dev_attr == MG_STORAGE_DEV) {
926 if (!prv_data->use_polling) {
963 if (prv_data->use_polling)
1017 if (!prv_data->use_polling)
1033 struct mg_drv_data *prv_data = plat_dev->dev.platform_data;
1034 struct mg_host *host = prv_data->host;
1053 if (!prv_data->use_polling)
1057 if (prv_data->dev_attr != MG_BOOT_DEV)