• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching refs:status

77  * connect status, over-current status, port speed, and device removable.
78 * connect status and port speed are also sticky - meaning they're in
114 * port being in the same state, if the value was written to the port status
122 /* Save read-only status and port state */
139 xhci_dbg(xhci, "disable port, actual port %d status = 0x%x\n",
147 u32 status;
151 status = PORT_RC;
155 status = PORT_CSC;
159 status = PORT_OCC;
163 status = PORT_PEC;
171 xhci_writel(xhci, port_status | status, addr);
173 xhci_dbg(xhci, "clear port %s change, actual port %d status = 0x%x\n",
183 u32 temp, status;
202 status = 0;
205 xhci_dbg(xhci, "get port status, actual port %d status = 0x%x\n", wIndex, temp);
209 status |= USB_PORT_STAT_C_CONNECTION << 16;
211 status |= USB_PORT_STAT_C_ENABLE << 16;
213 status |= USB_PORT_STAT_C_OVERCURRENT << 16;
215 status |= USB_PORT_STAT_CONNECTION;
216 status |= xhci_port_speed(temp);
219 status |= USB_PORT_STAT_ENABLE;
221 status |= USB_PORT_STAT_OVERCURRENT;
223 status |= USB_PORT_STAT_RESET;
225 status |= USB_PORT_STAT_POWER;
226 xhci_dbg(xhci, "Get port status returned 0x%x\n", status);
227 put_unaligned(cpu_to_le32(status), (__le32 *) buf);
248 xhci_dbg(xhci, "set port power, actual port %d status = 0x%x\n", wIndex, temp);
255 xhci_dbg(xhci, "set port reset, actual port %d status = 0x%x\n", wIndex, temp);
295 * Returns 0 if the status hasn't changed, or the number of bytes in buf.
299 * Note that the status change bits will be cleared as soon as a port status
300 * change event is generated, so we use the saved status from that event.
305 u32 temp, status;
313 /* Initial status is no changes */
316 status = 0;
326 status = 1;
330 return status ? retval : 0;