Searched refs:timeout_msec (Results 1 – 5 of 5) sorted by relevance
278 static int ata_wait_register(u32 *addr, u32 mask, u32 val, u32 timeout_msec) in ata_wait_register() argument286 } while (get_timer(start) < timeout_msec); in ata_wait_register()540 u32 timeout_msec) in wait_dma_completion() argument546 tmp, timeout_msec); in wait_dma_completion()
101 int timeout_msec, in waiting_for_cmd_completed() argument107 for (i = 0; ((status = readl(offset)) & sign) && i < timeout_msec; i++) in waiting_for_cmd_completed()110 return (i < timeout_msec) ? 0 : -1; in waiting_for_cmd_completed()
86 u32 val, int timeout_msec) in ata_wait_register() argument91 while ((tmp & mask) == val && timeout_msec > 0) { in ata_wait_register()93 timeout_msec--; in ata_wait_register()
95 int timeout_msec, in waiting_for_cmd_completed() argument102 ((status = readl(offset)) & sign) && i < timeout_msec; in waiting_for_cmd_completed()106 return (i < timeout_msec) ? 0 : -1; in waiting_for_cmd_completed()
78 u32 val, u32 timeout_msec) in ata_wait_register() argument84 && i < timeout_msec; i++) in ata_wait_register()86 return (i < timeout_msec) ? 0 : -1; in ata_wait_register()
Completed in 12 milliseconds