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