Lines Matching refs:port_stat
683 static inline void mtip_process_legacy(struct driver_data *dd, u32 port_stat) in mtip_process_legacy() argument
700 static inline void mtip_process_errors(struct driver_data *dd, u32 port_stat) in mtip_process_errors() argument
702 if (unlikely(port_stat & PORT_IRQ_CONNECT)) { in mtip_process_errors()
708 if (unlikely(port_stat & PORT_IRQ_PHYRDY)) { in mtip_process_errors()
714 if (unlikely(port_stat & ~PORT_IRQ_HANDLED)) { in mtip_process_errors()
717 (port_stat & ~PORT_IRQ_HANDLED)); in mtip_process_errors()
721 if (likely(port_stat & (PORT_IRQ_TF_ERR | PORT_IRQ_IF_ERR))) { in mtip_process_errors()
731 u32 hba_stat, port_stat; in mtip_handle_irq() local
741 port_stat = readl(port->mmio + PORT_IRQ_STAT); in mtip_handle_irq()
742 if (unlikely(port_stat == 0xFFFFFFFF)) { in mtip_handle_irq()
746 writel(port_stat, port->mmio + PORT_IRQ_STAT); in mtip_handle_irq()
749 if (likely(port_stat & PORT_IRQ_SDB_FIS)) { in mtip_handle_irq()
786 if (unlikely(port_stat & PORT_IRQ_ERR)) { in mtip_handle_irq()
795 mtip_process_errors(dd, port_stat & PORT_IRQ_ERR); in mtip_handle_irq()
798 if (unlikely(port_stat & PORT_IRQ_LEGACY)) in mtip_handle_irq()
799 mtip_process_legacy(dd, port_stat & PORT_IRQ_LEGACY); in mtip_handle_irq()