Lines Matching refs:completed
431 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
611 u32 completed; in mtip_handle_tfe() local
639 completed = readl(port->completed[group]); in mtip_handle_tfe()
641 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe()
644 writel(completed, port->completed[group]); in mtip_handle_tfe()
647 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
648 if (!(completed & (1<<bit))) in mtip_handle_tfe()
780 u32 completed) in mtip_workq_sdbfx() argument
786 if (!completed) { in mtip_workq_sdbfx()
787 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
791 writel(completed, port->completed[group]); in mtip_workq_sdbfx()
794 for (bit = 0; (bit < 32) && completed; bit++) { in mtip_workq_sdbfx()
795 if (completed & 0x01) { in mtip_workq_sdbfx()
816 completed >>= 1; in mtip_workq_sdbfx()
905 twork->completed = readl(port->completed[i]); in mtip_handle_irq()
906 if (twork->completed) in mtip_handle_irq()
914 if (twork->completed) in mtip_handle_irq()
921 if (likely(dd->work[0].completed)) in mtip_handle_irq()
923 dd->work[0].completed); in mtip_handle_irq()
2629 readl(dd->port->completed[n])); in mtip_hw_read_registers()
3253 dd->port->completed[i] = in mtip_hw_init()