Lines Matching refs:next
23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument
25 if (next != NULL) { \
27 s_len = scnprintf (*next, *size, format, ## arg ); \
28 *size -= s_len; *next += s_len; \
34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument
37 s_len = scnprintf(*next, *size, format, ## arg); \
38 *size -= s_len; *next += s_len; \
46 char **next, in ohci_dump_intr_mask() argument
49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask()
68 char **next, in maybe_print_eds() argument
72 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value); in maybe_print_eds()
101 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size) in ohci_dump_status() argument
107 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
114 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
129 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
140 next, size); in ohci_dump_status()
143 next, size); in ohci_dump_status()
148 next, size); in ohci_dump_status()
152 next, size); in ohci_dump_status()
155 next, size); in ohci_dump_status()
159 next, size); in ohci_dump_status()
162 next, size); in ohci_dump_status()
165 ohci_readl (controller, ®s->donehead), next, size); in ohci_dump_status()
168 #define dbg_port_sw(hc,num,value,next,size) \ argument
169 ohci_dbg_sw (hc, next, size, \
194 char **next, in ohci_dump_roothub() argument
204 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
215 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
222 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
236 dbg_port_sw (controller, i, temp, next, size); in ohci_dump_roothub()
492 char *next; in fill_periodic_buffer() local
501 next = buf->page; in fill_periodic_buffer()
504 temp = scnprintf (next, size, "size = %d\n", NUM_INTS); in fill_periodic_buffer()
506 next += temp; in fill_periodic_buffer()
515 temp = scnprintf (next, size, "%2d [%3d]:", i, ohci->load [i]); in fill_periodic_buffer()
517 next += temp; in fill_periodic_buffer()
520 temp = scnprintf (next, size, " ed%d/%p", in fill_periodic_buffer()
523 next += temp; in fill_periodic_buffer()
539 temp = scnprintf (next, size, in fill_periodic_buffer()
555 next += temp; in fill_periodic_buffer()
570 temp = scnprintf (next, size, "\n"); in fill_periodic_buffer()
572 next += temp; in fill_periodic_buffer()
588 char *next; in fill_registers_buffer() local
594 next = buf->page; in fill_registers_buffer()
601 ohci_dbg_nosw(ohci, &next, &size, in fill_registers_buffer()
611 size -= scnprintf (next, size, in fill_registers_buffer()
616 ohci_dump_status(ohci, &next, &size); in fill_registers_buffer()
620 ohci_dbg_nosw(ohci, &next, &size, in fill_registers_buffer()
625 temp = scnprintf (next, size, in fill_registers_buffer()
630 next += temp; in fill_registers_buffer()
633 temp = scnprintf (next, size, "fmremaining 0x%08x %sFR=0x%04x\n", in fill_registers_buffer()
637 next += temp; in fill_registers_buffer()
640 temp = scnprintf (next, size, "periodicstart 0x%04x\n", in fill_registers_buffer()
643 next += temp; in fill_registers_buffer()
646 temp = scnprintf (next, size, "lsthresh 0x%04x\n", in fill_registers_buffer()
649 next += temp; in fill_registers_buffer()
651 temp = scnprintf (next, size, "hub poll timer %s\n", in fill_registers_buffer()
654 next += temp; in fill_registers_buffer()
657 ohci_dump_roothub (ohci, 1, &next, &size); in fill_registers_buffer()