Lines Matching refs:str

15 static inline char *cdns3_decode_usb_irq(char *str,  in cdns3_decode_usb_irq()  argument
21 ret = sprintf(str, "IRQ %08x = ", usb_ists); in cdns3_decode_usb_irq()
24 ret += sprintf(str + ret, "Connection %s\n", in cdns3_decode_usb_irq()
28 ret += sprintf(str + ret, "Disconnection "); in cdns3_decode_usb_irq()
30 ret += sprintf(str + ret, "suspended "); in cdns3_decode_usb_irq()
32 ret += sprintf(str + ret, "L1 enter "); in cdns3_decode_usb_irq()
34 ret += sprintf(str + ret, "L1 exit "); in cdns3_decode_usb_irq()
36 ret += sprintf(str + ret, "L2 enter "); in cdns3_decode_usb_irq()
38 ret += sprintf(str + ret, "L2 exit "); in cdns3_decode_usb_irq()
40 ret += sprintf(str + ret, "U3 exit "); in cdns3_decode_usb_irq()
42 ret += sprintf(str + ret, "Warm Reset "); in cdns3_decode_usb_irq()
44 ret += sprintf(str + ret, "Hot Reset "); in cdns3_decode_usb_irq()
46 ret += sprintf(str + ret, "Reset"); in cdns3_decode_usb_irq()
48 return str; in cdns3_decode_usb_irq()
51 static inline char *cdns3_decode_ep_irq(char *str, in cdns3_decode_ep_irq() argument
57 ret = sprintf(str, "IRQ for %s: %08x ", ep_name, ep_sts); in cdns3_decode_ep_irq()
60 ret += sprintf(str + ret, "SETUP "); in cdns3_decode_ep_irq()
62 ret += sprintf(str + ret, "IOC "); in cdns3_decode_ep_irq()
64 ret += sprintf(str + ret, "ISP "); in cdns3_decode_ep_irq()
66 ret += sprintf(str + ret, "DESCMIS "); in cdns3_decode_ep_irq()
68 ret += sprintf(str + ret, "STREAMR "); in cdns3_decode_ep_irq()
70 ret += sprintf(str + ret, "MD_EXIT "); in cdns3_decode_ep_irq()
72 ret += sprintf(str + ret, "TRBERR "); in cdns3_decode_ep_irq()
74 ret += sprintf(str + ret, "NRDY "); in cdns3_decode_ep_irq()
76 ret += sprintf(str + ret, "PRIME "); in cdns3_decode_ep_irq()
78 ret += sprintf(str + ret, "SIDERRT "); in cdns3_decode_ep_irq()
80 ret += sprintf(str + ret, "OUTSMM "); in cdns3_decode_ep_irq()
82 ret += sprintf(str + ret, "ISOERR "); in cdns3_decode_ep_irq()
84 ret += sprintf(str + ret, "IOT "); in cdns3_decode_ep_irq()
86 return str; in cdns3_decode_ep_irq()
89 static inline char *cdns3_decode_epx_irq(char *str, in cdns3_decode_epx_irq() argument
93 return cdns3_decode_ep_irq(str, ep_sts, ep_name); in cdns3_decode_epx_irq()
96 static inline char *cdns3_decode_ep0_irq(char *str, in cdns3_decode_ep0_irq() argument
100 return cdns3_decode_ep_irq(str, ep_sts, in cdns3_decode_ep0_irq()
111 struct cdns3_trb *ring, char *str) in cdns3_dbg_ring() argument
122 ret += sprintf(str + ret, "\n\t\tRing contents for %s:", priv_ep->name); in cdns3_dbg_ring()
124 ret += sprintf(str + ret, in cdns3_dbg_ring()
130 ret += sprintf(str + ret, in cdns3_dbg_ring()
135 ret += sprintf(str + ret, in cdns3_dbg_ring()
143 sprintf(str + ret, "\t\tTransfer ring %d too big\n", in cdns3_dbg_ring()
145 return str; in cdns3_dbg_ring()
150 ret += sprintf(str + ret, in cdns3_dbg_ring()
158 return str; in cdns3_dbg_ring()