Home
last modified time | relevance | path

Searched refs:mg_wait (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/block/
Dmg_disk.c213 static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec) in mg_wait() function
357 err = mg_wait(host, ATA_DRQ, MG_TMAX_WAIT_RD_DRQ); in mg_get_disk_id()
366 err = mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD); in mg_get_disk_id()
411 err = mg_wait(host, ATA_BUSY, MG_TMAX_RST_TO_BUSY); in mg_disk_init()
417 err = mg_wait(host, MG_STAT_READY, MG_TMAX_HDRST_TO_RDY); in mg_disk_init()
424 err = mg_wait(host, ATA_BUSY, MG_TMAX_RST_TO_BUSY); in mg_disk_init()
431 err = mg_wait(host, MG_STAT_READY, MG_TMAX_SWRST_TO_RDY); in mg_disk_init()
459 if (mg_wait(host, MG_STAT_READY, MG_TMAX_CONF_TO_CMD)) in mg_out()
502 if (mg_wait(host, ATA_DRQ, in mg_read()
539 if (mg_wait(host, ATA_DRQ, in mg_write()
[all …]