Lines Matching refs:status

36 	u32		status;
59 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS;
60 if (!(status & PORT_POWER))
73 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS;
76 if (status & PORT_OWNER)
79 ehci_writel(ehci, status & ~PORT_PE, reg);
110 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS;
111 if (status & PORT_OWNER)
112 ehci_writel(ehci, status | PORT_CSC, reg);
115 port + 1, status);
116 ehci_writel(ehci, status & ~PORT_PE, reg);
131 if (ehci_readl(ehci, &ehci->regs->status) & STS_PCD)
136 * so check the individual port status registers as well
302 * enter the suspend status before initiating a port resume
349 ehci_writel(ehci, STS_IAA, &ehci->regs->status);
423 * According to Bugzilla #8190, the port status for some controllers
424 * will be wrong without a delay. At their wrong status, the port
432 ehci_dbg(ehci, "Port status(0x%x) is wrong\n", temp);
615 /* build "status change" packet (one or two bytes) from HC registers */
621 u32 temp, status;
627 /* init status to no-changes */
636 * a non-zero value even if there are no status changes.
638 status = ehci->resuming_ports;
659 ppcd = ehci_readl(ehci, &ehci->regs->status) >> 16;
669 * Return status information even for ports with OWNER set.
682 status = STS_PCD;
691 return status ? retval : 0;
780 urb->status = -EINPROGRESS;
849 urb->status = -EINPROGRESS;
881 u32 temp, temp1, status;
909 /* no hub-wide feature/status flags */
925 * the port-change status bits (especially
999 /* no hub-wide feature/status flags */
1007 status = 0;
1012 status |= USB_PORT_STAT_C_CONNECTION << 16;
1014 status |= USB_PORT_STAT_C_ENABLE << 16;
1017 status |= USB_PORT_STAT_C_OVERCURRENT << 16;
1076 status |= USB_PORT_STAT_C_RESET << 16;
1115 status |= USB_PORT_STAT_CONNECTION;
1116 // status may be from integrated TT
1119 status |= ehci_port_speed(ehci, temp1);
1121 status |= ehci_port_speed(ehci, temp);
1124 status |= USB_PORT_STAT_ENABLE;
1128 status |= USB_PORT_STAT_SUSPEND;
1139 status |= USB_PORT_STAT_OVERCURRENT;
1141 status |= USB_PORT_STAT_RESET;
1143 status |= USB_PORT_STAT_POWER;
1145 status |= USB_PORT_STAT_C_SUSPEND << 16;
1147 if (status & ~0xffff) /* only if wPortChange is interesting */
1149 put_unaligned_le32(status, buf);
1155 /* no hub-wide feature/status flags */
1226 /* line status bits may report this as low speed,