Lines Matching refs:MG_STAT_READY
54 #define MG_STAT_READY (ATA_DRDY | ATA_DSC)
55 #define MG_READY_OK(s) (((s) & (MG_STAT_READY | (ATA_BUSY | ATA_DF | \
56 ATA_ERR))) == MG_STAT_READY)
246 if (expect == MG_STAT_READY)
366 err = mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD);
417 err = mg_wait(host, MG_STAT_READY, MG_TMAX_HDRST_TO_RDY);
431 err = mg_wait(host, MG_STAT_READY, MG_TMAX_SWRST_TO_RDY);
459 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD))
556 } else if (mg_wait(host, MG_STAT_READY,
788 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD))
798 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD)) {
812 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD))
819 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD))