Lines Matching refs:ret
17 int ret; in cdns2_decode_usb_irq() local
19 ret = snprintf(str, size, "usbirq: 0x%02x - ", usb_irq); in cdns2_decode_usb_irq()
22 ret += snprintf(str + ret, size - ret, "SOF "); in cdns2_decode_usb_irq()
24 ret += snprintf(str + ret, size - ret, "SUTOK "); in cdns2_decode_usb_irq()
26 ret += snprintf(str + ret, size - ret, "SETUP "); in cdns2_decode_usb_irq()
28 ret += snprintf(str + ret, size - ret, "Suspend "); in cdns2_decode_usb_irq()
30 ret += snprintf(str + ret, size - ret, "Reset "); in cdns2_decode_usb_irq()
32 ret += snprintf(str + ret, size - ret, "HS "); in cdns2_decode_usb_irq()
34 ret += snprintf(str + ret, size - ret, "LPM "); in cdns2_decode_usb_irq()
36 ret += snprintf(str + ret, size - ret, ", EXT: 0x%02x - ", ext_irq); in cdns2_decode_usb_irq()
39 ret += snprintf(str + ret, size - ret, "Wakeup "); in cdns2_decode_usb_irq()
41 ret += snprintf(str + ret, size - ret, "VBUS_FALL "); in cdns2_decode_usb_irq()
43 ret += snprintf(str + ret, size - ret, "VBUS_RISE "); in cdns2_decode_usb_irq()
45 if (ret >= size) in cdns2_decode_usb_irq()
55 int ret; in cdns2_decode_dma_irq() local
57 ret = snprintf(str, size, "ISTS: %08x, %s: %08x ", in cdns2_decode_dma_irq()
61 ret += snprintf(str + ret, size - ret, "IOC "); in cdns2_decode_dma_irq()
63 ret += snprintf(str + ret, size - ret, "ISP "); in cdns2_decode_dma_irq()
65 ret += snprintf(str + ret, size - ret, "DESCMIS "); in cdns2_decode_dma_irq()
67 ret += snprintf(str + ret, size - ret, "TRBERR "); in cdns2_decode_dma_irq()
69 ret += snprintf(str + ret, size - ret, "OUTSMM "); in cdns2_decode_dma_irq()
71 ret += snprintf(str + ret, size - ret, "ISOERR "); in cdns2_decode_dma_irq()
73 ret += snprintf(str + ret, size - ret, "DBUSY "); in cdns2_decode_dma_irq()
75 ret += snprintf(str + ret, size - ret, "CCS "); in cdns2_decode_dma_irq()
77 if (ret >= size) in cdns2_decode_dma_irq()
105 int ret; in cdns2_raw_ring() local
108 ret = snprintf(str, size, "\n\t\tTR for %s:", pep->name); in cdns2_raw_ring()
112 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
118 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
122 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
127 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
135 ret += snprintf(str + ret, size - ret, in cdns2_raw_ring()
143 if (ret >= size) in cdns2_raw_ring()
165 int ret; in cdns2_decode_trb() local
169 ret = snprintf(str, size, in cdns2_decode_trb()
179 ret = snprintf(str, size, in cdns2_decode_trb()
192 ret = snprintf(str, size, "type '%s' -> raw %08x %08x %08x", in cdns2_decode_trb()
197 if (ret >= size) in cdns2_decode_trb()