Lines Matching refs:size
23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \
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...) \
37 s_len = scnprintf(*next, *size, format, ## arg); \
38 *size -= s_len; *next += s_len; \
47 unsigned *size)
49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n",
69 unsigned *size)
72 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value);
101 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size)
107 ohci_dbg_sw (controller, next, size,
114 ohci_dbg_sw (controller, next, size,
129 ohci_dbg_sw (controller, next, size,
140 next, size);
143 next, size);
148 next, size);
152 next, size);
155 next, size);
159 next, size);
162 next, size);
165 ohci_readl (controller, ®s->donehead), next, size);
168 #define dbg_port_sw(hc,num,value,next,size) \
169 ohci_dbg_sw (hc, next, size, \
195 unsigned *size)
204 ohci_dbg_sw (controller, next, size,
215 ohci_dbg_sw (controller, next, size,
222 ohci_dbg_sw (controller, next, size,
236 dbg_port_sw (controller, i, temp, next, size);
402 unsigned temp, size = count;
418 temp = scnprintf (buf, size,
430 size -= temp;
440 temp = scnprintf (buf, size,
452 size -= temp;
456 temp = scnprintf (buf, size, "\n");
457 size -= temp;
462 return count - size;
468 size_t temp, size;
472 size = PAGE_SIZE;
476 temp = show_list(ohci, buf->page, size, ohci->ed_controltail);
477 temp += show_list(ohci, buf->page + temp, size - temp,
491 unsigned temp, size, seen_count;
502 size = PAGE_SIZE;
504 temp = scnprintf (next, size, "size = %d\n", NUM_INTS);
505 size -= temp;
515 temp = scnprintf (next, size, "%2d [%3d]:", i, ohci->load [i]);
516 size -= temp;
520 temp = scnprintf (next, size, " ed%d/%p",
522 size -= temp;
539 temp = scnprintf (next, size,
554 size -= temp;
570 temp = scnprintf (next, size, "\n");
571 size -= temp;
577 return PAGE_SIZE - size;
587 unsigned temp, size;
595 size = PAGE_SIZE;
601 ohci_dbg_nosw(ohci, &next, &size,
611 size -= scnprintf (next, size,
616 ohci_dump_status(ohci, &next, &size);
620 ohci_dbg_nosw(ohci, &next, &size,
625 temp = scnprintf (next, size,
629 size -= temp;
633 temp = scnprintf (next, size, "fmremaining 0x%08x %sFR=0x%04x\n",
636 size -= temp;
640 temp = scnprintf (next, size, "periodicstart 0x%04x\n",
642 size -= temp;
646 temp = scnprintf (next, size, "lsthresh 0x%04x\n",
648 size -= temp;
651 temp = scnprintf (next, size, "hub poll timer %s\n",
653 size -= temp;
657 ohci_dump_roothub (ohci, 1, &next, &size);
662 return PAGE_SIZE - size;