Lines Matching refs:completed
343 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
500 u32 completed; in mtip_handle_tfe() local
524 completed = readl(port->completed[group]); in mtip_handle_tfe()
526 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe()
529 writel(completed, port->completed[group]); in mtip_handle_tfe()
532 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
533 if (!(completed & (1<<bit))) in mtip_handle_tfe()
647 u32 completed) in mtip_workq_sdbfx() argument
653 if (!completed) { in mtip_workq_sdbfx()
654 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
658 writel(completed, port->completed[group]); in mtip_workq_sdbfx()
661 for (bit = 0; (bit < 32) && completed; bit++) { in mtip_workq_sdbfx()
662 if (completed & 0x01) { in mtip_workq_sdbfx()
672 completed >>= 1; in mtip_workq_sdbfx()
757 twork->completed = readl(port->completed[i]); in mtip_handle_irq()
758 if (twork->completed) in mtip_handle_irq()
766 if (twork->completed) in mtip_handle_irq()
773 if (likely(dd->work[0].completed)) in mtip_handle_irq()
775 dd->work[0].completed); in mtip_handle_irq()
2199 readl(dd->port->completed[n])); in mtip_hw_read_registers()
2750 dd->port->completed[i] = in mtip_hw_init()