• Home
  • Raw
  • Download

Lines Matching refs:size

22 #define ohci_dbg_sw(ohci, next, size, format, arg...) \  argument
26 s_len = scnprintf (*next, *size, format, ## arg ); \
27 *size -= s_len; *next += s_len; \
33 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument
36 s_len = scnprintf(*next, *size, format, ## arg); \
37 *size -= s_len; *next += s_len; \
46 unsigned *size) in ohci_dump_intr_mask() argument
48 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 unsigned *size) in maybe_print_eds() argument
71 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value); in maybe_print_eds()
100 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size) in ohci_dump_status() argument
106 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
113 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
128 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
139 next, size); in ohci_dump_status()
142 next, size); in ohci_dump_status()
147 next, size); in ohci_dump_status()
151 next, size); in ohci_dump_status()
154 next, size); in ohci_dump_status()
158 next, size); in ohci_dump_status()
161 next, size); in ohci_dump_status()
164 ohci_readl (controller, &regs->donehead), next, size); in ohci_dump_status()
167 #define dbg_port_sw(hc,num,value,next,size) \ argument
168 ohci_dbg_sw (hc, next, size, \
194 unsigned *size) in ohci_dump_roothub() argument
203 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
214 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
221 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
235 dbg_port_sw (controller, i, temp, next, size); in ohci_dump_roothub()
401 unsigned temp, size = count; in show_list() local
417 temp = scnprintf (buf, size, in show_list()
429 size -= temp; in show_list()
439 temp = scnprintf (buf, size, in show_list()
451 size -= temp; in show_list()
455 temp = scnprintf (buf, size, "\n"); in show_list()
456 size -= temp; in show_list()
461 return count - size; in show_list()
467 size_t temp, size; in fill_async_buffer() local
471 size = PAGE_SIZE; in fill_async_buffer()
475 temp = show_list(ohci, buf->page, size, ohci->ed_controltail); in fill_async_buffer()
476 temp += show_list(ohci, buf->page + temp, size - temp, in fill_async_buffer()
490 unsigned temp, size, seen_count; in fill_periodic_buffer() local
501 size = PAGE_SIZE; in fill_periodic_buffer()
503 temp = scnprintf (next, size, "size = %d\n", NUM_INTS); in fill_periodic_buffer()
504 size -= temp; in fill_periodic_buffer()
514 temp = scnprintf (next, size, "%2d [%3d]:", i, ohci->load [i]); in fill_periodic_buffer()
515 size -= temp; in fill_periodic_buffer()
519 temp = scnprintf (next, size, " ed%d/%p", in fill_periodic_buffer()
521 size -= temp; in fill_periodic_buffer()
538 temp = scnprintf (next, size, in fill_periodic_buffer()
553 size -= temp; in fill_periodic_buffer()
569 temp = scnprintf (next, size, "\n"); in fill_periodic_buffer()
570 size -= temp; in fill_periodic_buffer()
576 return PAGE_SIZE - size; in fill_periodic_buffer()
586 unsigned temp, size; in fill_registers_buffer() local
594 size = PAGE_SIZE; in fill_registers_buffer()
600 ohci_dbg_nosw(ohci, &next, &size, in fill_registers_buffer()
610 size -= scnprintf (next, size, in fill_registers_buffer()
615 ohci_dump_status(ohci, &next, &size); in fill_registers_buffer()
619 ohci_dbg_nosw(ohci, &next, &size, in fill_registers_buffer()
624 temp = scnprintf (next, size, in fill_registers_buffer()
628 size -= temp; in fill_registers_buffer()
632 temp = scnprintf (next, size, "fmremaining 0x%08x %sFR=0x%04x\n", in fill_registers_buffer()
635 size -= temp; in fill_registers_buffer()
639 temp = scnprintf (next, size, "periodicstart 0x%04x\n", in fill_registers_buffer()
641 size -= temp; in fill_registers_buffer()
645 temp = scnprintf (next, size, "lsthresh 0x%04x\n", in fill_registers_buffer()
647 size -= temp; in fill_registers_buffer()
650 temp = scnprintf (next, size, "hub poll timer %s\n", in fill_registers_buffer()
652 size -= temp; in fill_registers_buffer()
656 ohci_dump_roothub (ohci, 1, &next, &size); in fill_registers_buffer()
661 return PAGE_SIZE - size; in fill_registers_buffer()