Lines Matching refs:status
152 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status)
156 label, label[0] ? " " : "", status,
157 (status & STS_PPCE_MASK) ? " PPCE" : "",
158 (status & STS_ASS) ? " Async" : "",
159 (status & STS_PSS) ? " Periodic" : "",
160 (status & STS_RECL) ? " Recl" : "",
161 (status & STS_HALT) ? " Halt" : "",
162 (status & STS_IAA) ? " IAA" : "",
163 (status & STS_FATAL) ? " FATAL" : "",
164 (status & STS_FLR) ? " FLR" : "",
165 (status & STS_PCD) ? " PCD" : "",
166 (status & STS_ERR) ? " ERR" : "",
167 (status & STS_INT) ? " INT" : "");
212 dbg_port_buf(char *buf, unsigned len, const char *label, int port, u32 status)
217 switch (status & (3 << 10)) {
233 "%s%sport:%d status %06x %d %s%s%s%s%s%s "
235 label, label[0] ? " " : "", port, status,
236 status >> 25, /*device address */
237 (status & PORT_SSTS) >> 23 == PORTSC_SUSPEND_STS_ACK ?
239 (status & PORT_SSTS) >> 23 == PORTSC_SUSPEND_STS_NYET ?
241 (status & PORT_SSTS) >> 23 == PORTSC_SUSPEND_STS_STALL ?
243 (status & PORT_SSTS) >> 23 == PORTSC_SUSPEND_STS_ERR ?
245 (status & PORT_POWER) ? " POWER" : "",
246 (status & PORT_OWNER) ? " OWNER" : "",
248 (status & PORT_LPM) ? " LPM" : "",
249 (status & PORT_RESET) ? " RESET" : "",
250 (status & PORT_SUSPEND) ? " SUSPEND" : "",
251 (status & PORT_RESUME) ? " RESUME" : "",
252 (status & PORT_OCC) ? " OCC" : "",
253 (status & PORT_OC) ? " OC" : "",
254 (status & PORT_PEC) ? " PEC" : "",
255 (status & PORT_PE) ? " PE" : "",
256 (status & PORT_CSC) ? " CSC" : "",
257 (status & PORT_CONNECT) ? " CONNECT" : "");
261 dbg_status(struct ehci_hcd *ehci, const char *label, u32 status)
265 dbg_status_buf(buf, sizeof(buf), label, status);
279 dbg_port(struct ehci_hcd *ehci, const char *label, int port, u32 status)
283 dbg_port_buf(buf, sizeof(buf), label, port, status);
848 ehci_readl(ehci, &ehci->regs->status));
1056 unsigned int len, const char *label, u32 status)
1068 unsigned int len, const char *label, int port, u32 status)
1072 u32 status) { }
1076 int port, u32 status) { }