Lines Matching refs:completed
434 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
612 u32 completed; in mtip_handle_tfe() local
643 completed = readl(port->completed[group]); in mtip_handle_tfe()
645 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe()
648 writel(completed, port->completed[group]); in mtip_handle_tfe()
651 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
652 if (!(completed & (1<<bit))) in mtip_handle_tfe()
789 u32 completed) in mtip_workq_sdbfx() argument
795 if (!completed) { in mtip_workq_sdbfx()
796 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
800 writel(completed, port->completed[group]); in mtip_workq_sdbfx()
803 for (bit = 0; (bit < 32) && completed; bit++) { in mtip_workq_sdbfx()
804 if (completed & 0x01) { in mtip_workq_sdbfx()
825 completed >>= 1; in mtip_workq_sdbfx()
914 twork->completed = readl(port->completed[i]); in mtip_handle_irq()
915 if (twork->completed) in mtip_handle_irq()
923 if (twork->completed) in mtip_handle_irq()
930 if (likely(dd->work[0].completed)) in mtip_handle_irq()
932 dd->work[0].completed); in mtip_handle_irq()
2626 readl(dd->port->completed[n])); in mtip_hw_read_registers()
3215 dd->port->completed[i] = in mtip_hw_init()