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