Lines Matching refs:completed
435 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
622 writel(1 << bit, port->completed[group]); in mtip_timeout_function()
794 u32 completed; in mtip_handle_tfe() local
828 completed = readl(port->completed[group]); in mtip_handle_tfe()
831 writel(completed, port->completed[group]); in mtip_handle_tfe()
834 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
835 if (!(completed & (1<<bit))) in mtip_handle_tfe()
990 u32 completed) in mtip_workq_sdbfx() argument
996 if (!completed) { in mtip_workq_sdbfx()
997 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
1001 writel(completed, port->completed[group]); in mtip_workq_sdbfx()
1004 for (bit = 0; (bit < 32) && completed; bit++) { in mtip_workq_sdbfx()
1005 if (completed & 0x01) { in mtip_workq_sdbfx()
1033 completed >>= 1; in mtip_workq_sdbfx()
1117 twork->completed = readl(port->completed[i]); in mtip_handle_irq()
1118 if (twork->completed) in mtip_handle_irq()
1126 if (twork->completed) in mtip_handle_irq()
1133 if (likely(dd->work[0].completed)) in mtip_handle_irq()
1135 dd->work[0].completed); in mtip_handle_irq()
2855 readl(dd->port->completed[n])); in mtip_hw_read_registers()
3359 dd->port->completed[i] = in mtip_hw_init()