Lines Matching refs:out
60 char *out = buf; in uhci_show_td() local
67 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, td->link); in uhci_show_td()
68 out += sprintf(out, "e%d %s%s%s%s%s%s%s%s%s%sLength=%x ", in uhci_show_td()
97 out += sprintf(out, "MaxLen=%x DT%d EndPt=%x Dev=%x, PID=%x(%s) ", in uhci_show_td()
104 out += sprintf(out, "(buf=%08x)\n", td->buffer); in uhci_show_td()
106 return out - buf; in uhci_show_td()
111 char *out = buf; in uhci_show_sc() local
117 out += sprintf(out, " stat%d = %04x %s%s%s%s%s%s%s%s\n", in uhci_show_sc()
129 return out - buf; in uhci_show_sc()
134 char *out = buf; in uhci_show_status() local
154 out += sprintf(out, " usbcmd = %04x %s%s%s%s%s%s%s%s\n", in uhci_show_status()
165 out += sprintf(out, " usbstat = %04x %s%s%s%s%s%s\n", in uhci_show_status()
174 out += sprintf(out, " usbint = %04x\n", usbint); in uhci_show_status()
175 out += sprintf(out, " usbfrnum = (%d)%03x\n", (usbfrnum >> 10) & 1, in uhci_show_status()
177 out += sprintf(out, " flbaseadd = %08x\n", flbaseadd); in uhci_show_status()
178 out += sprintf(out, " sof = %02x\n", sof); in uhci_show_status()
179 out += uhci_show_sc(1, portsc1, out, len - (out - buf)); in uhci_show_status()
180 out += uhci_show_sc(2, portsc2, out, len - (out - buf)); in uhci_show_status()
182 return out - buf; in uhci_show_status()
187 char *out = buf; in uhci_show_qh() local
197 out += sprintf(out, "%*s[%p] link (%08x) element (%08x)\n", space, "", in uhci_show_qh()
201 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, ""); in uhci_show_qh()
204 out += sprintf(out, "%*s Depth traverse\n", space, ""); in uhci_show_qh()
207 out += sprintf(out, "%*s Bit 3 set (bug?)\n", space, ""); in uhci_show_qh()
210 out += sprintf(out, "%*s Element is NULL (bug?)\n", space, ""); in uhci_show_qh()
213 out += sprintf(out, "%*s urbp == NULL\n", space, ""); in uhci_show_qh()
214 goto out; in uhci_show_qh()
225 out += sprintf(out, "%*s Element != First TD\n", space, ""); in uhci_show_qh()
232 out += sprintf(out, "%*s%d: ", space + 2, "", i++); in uhci_show_qh()
233 out += uhci_show_td(td, out, len - (out - buf), 0); in uhci_show_qh()
254 out += sprintf(out, "%*s[skipped %d active TD's]\n", space, "", ni - i); in uhci_show_qh()
265 goto out; in uhci_show_qh()
267 out += sprintf(out, "%*sQueued QH's:\n", -space, "--"); in uhci_show_qh()
277 out += uhci_show_qh(nurbp->qh, out, len - (out - buf), space); in uhci_show_qh()
280 out: in uhci_show_qh()
281 return out - buf; in uhci_show_qh()
295 out += sprintf(out, "- Frame %d\n", i); \
301 out += sprintf(out, "- %s\n", td_names[i]); \
307 out += sprintf(out, "- %s\n", qh_names[i]); \
312 char *out = buf; in uhci_sprint_schedule() local
318 out += sprintf(out, "HC status\n"); in uhci_sprint_schedule()
319 out += uhci_show_status(uhci, out, len - (out - buf)); in uhci_sprint_schedule()
321 out += sprintf(out, "Frame List\n"); in uhci_sprint_schedule()
330 out += sprintf(out, " frame list does not match td->dma_handle!\n"); in uhci_sprint_schedule()
341 out += uhci_show_td(td, out, len - (out - buf), 4); in uhci_sprint_schedule()
345 out += sprintf(out, "Skeleton TD's\n"); in uhci_sprint_schedule()
353 out += uhci_show_td(td, out, len - (out - buf), 4); in uhci_sprint_schedule()
362 out += sprintf(out, " skeleton TD not linked to ls_control QH!\n"); in uhci_sprint_schedule()
367 out += sprintf(out, " skeleton TD not linked to next skeleton TD!\n"); in uhci_sprint_schedule()
373 out += sprintf(out, " skel_term_td does not link to self\n"); in uhci_sprint_schedule()
377 out += uhci_show_td(td, out, len - (out - buf), 4); in uhci_sprint_schedule()
393 out += uhci_show_td(td, out, len - (out - buf), 4); in uhci_sprint_schedule()
399 out += sprintf(out, " last TD not linked to ls_control QH!\n"); in uhci_sprint_schedule()
402 out += sprintf(out, " last TD not linked to next skeleton!\n"); in uhci_sprint_schedule()
406 out += sprintf(out, "Skeleton QH's\n"); in uhci_sprint_schedule()
415 out += uhci_show_qh(qh, out, len - (out - buf), 4); in uhci_sprint_schedule()
422 out += sprintf(out, " bandwidth reclamation on!\n"); in uhci_sprint_schedule()
427 out += sprintf(out, " skel_term_qh element is not set to skel_term_td\n"); in uhci_sprint_schedule()
436 out += sprintf(out, " skeleton QH not linked to next skeleton QH!\n"); in uhci_sprint_schedule()
453 out += uhci_show_qh(qh, out, len - (out - buf), 4); in uhci_sprint_schedule()
459 out += sprintf(out, " last QH not linked to next skeleton!\n"); in uhci_sprint_schedule()
463 return out - buf; in uhci_sprint_schedule()
488 goto out; in uhci_proc_open()
493 goto out; in uhci_proc_open()
503 out: in uhci_proc_open()