Lines Matching refs:port_stat
695 static inline void mtip_process_legacy(struct driver_data *dd, u32 port_stat) in mtip_process_legacy() argument
712 static inline void mtip_process_errors(struct driver_data *dd, u32 port_stat) in mtip_process_errors() argument
714 if (unlikely(port_stat & PORT_IRQ_CONNECT)) { in mtip_process_errors()
720 if (unlikely(port_stat & PORT_IRQ_PHYRDY)) { in mtip_process_errors()
726 if (unlikely(port_stat & ~PORT_IRQ_HANDLED)) { in mtip_process_errors()
729 (port_stat & ~PORT_IRQ_HANDLED)); in mtip_process_errors()
733 if (likely(port_stat & (PORT_IRQ_TF_ERR | PORT_IRQ_IF_ERR))) { in mtip_process_errors()
743 u32 hba_stat, port_stat; in mtip_handle_irq() local
753 port_stat = readl(port->mmio + PORT_IRQ_STAT); in mtip_handle_irq()
754 if (unlikely(port_stat == 0xFFFFFFFF)) { in mtip_handle_irq()
758 writel(port_stat, port->mmio + PORT_IRQ_STAT); in mtip_handle_irq()
761 if (likely(port_stat & PORT_IRQ_SDB_FIS)) { in mtip_handle_irq()
798 if (unlikely(port_stat & PORT_IRQ_ERR)) { in mtip_handle_irq()
807 mtip_process_errors(dd, port_stat & PORT_IRQ_ERR); in mtip_handle_irq()
810 if (unlikely(port_stat & PORT_IRQ_LEGACY)) in mtip_handle_irq()
811 mtip_process_legacy(dd, port_stat & PORT_IRQ_LEGACY); in mtip_handle_irq()