Lines Matching refs:temp

13 #define edstring(ed_type) ({ char *temp; \
15 case PIPE_CONTROL: temp = "ctrl"; break; \
16 case PIPE_BULK: temp = "bulk"; break; \
17 case PIPE_INTERRUPT: temp = "intr"; break; \
18 default: temp = "isoc"; break; \
19 } temp;})
104 u32 temp; in ohci_dump_status() local
106 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status()
110 (temp & 0x0100) ? "with" : "NO", in ohci_dump_status()
113 temp = ohci_readl (controller, &regs->control); in ohci_dump_status()
116 temp, in ohci_dump_status()
117 (temp & OHCI_CTRL_RWE) ? " RWE" : "", in ohci_dump_status()
118 (temp & OHCI_CTRL_RWC) ? " RWC" : "", in ohci_dump_status()
119 (temp & OHCI_CTRL_IR) ? " IR" : "", in ohci_dump_status()
120 hcfs2string (temp & OHCI_CTRL_HCFS), in ohci_dump_status()
121 (temp & OHCI_CTRL_BLE) ? " BLE" : "", in ohci_dump_status()
122 (temp & OHCI_CTRL_CLE) ? " CLE" : "", in ohci_dump_status()
123 (temp & OHCI_CTRL_IE) ? " IE" : "", in ohci_dump_status()
124 (temp & OHCI_CTRL_PLE) ? " PLE" : "", in ohci_dump_status()
125 temp & OHCI_CTRL_CBSR in ohci_dump_status()
128 temp = ohci_readl (controller, &regs->cmdstatus); in ohci_dump_status()
130 "cmdstatus 0x%05x SOC=%d%s%s%s%s\n", temp, in ohci_dump_status()
131 (temp & OHCI_SOC) >> 16, in ohci_dump_status()
132 (temp & OHCI_OCR) ? " OCR" : "", in ohci_dump_status()
133 (temp & OHCI_BLF) ? " BLF" : "", in ohci_dump_status()
134 (temp & OHCI_CLF) ? " CLF" : "", in ohci_dump_status()
135 (temp & OHCI_HCR) ? " HCR" : "" in ohci_dump_status()
172 num, temp, \
173 (temp & RH_PS_PRSC) ? " PRSC" : "", \
174 (temp & RH_PS_OCIC) ? " OCIC" : "", \
175 (temp & RH_PS_PSSC) ? " PSSC" : "", \
176 (temp & RH_PS_PESC) ? " PESC" : "", \
177 (temp & RH_PS_CSC) ? " CSC" : "", \
179 (temp & RH_PS_LSDA) ? " LSDA" : "", \
180 (temp & RH_PS_PPS) ? " PPS" : "", \
181 (temp & RH_PS_PRS) ? " PRS" : "", \
182 (temp & RH_PS_POCI) ? " POCI" : "", \
183 (temp & RH_PS_PSS) ? " PSS" : "", \
185 (temp & RH_PS_PES) ? " PES" : "", \
186 (temp & RH_PS_CCS) ? " CCS" : "" \
197 u32 temp, i; in ohci_dump_roothub() local
199 temp = roothub_a (controller); in ohci_dump_roothub()
200 if (temp == ~(u32)0) in ohci_dump_roothub()
205 "roothub.a %08x POTPGT=%d%s%s%s%s%s NDP=%d(%d)\n", temp, in ohci_dump_roothub()
206 ((temp & RH_A_POTPGT) >> 24) & 0xff, in ohci_dump_roothub()
207 (temp & RH_A_NOCP) ? " NOCP" : "", in ohci_dump_roothub()
208 (temp & RH_A_OCPM) ? " OCPM" : "", in ohci_dump_roothub()
209 (temp & RH_A_DT) ? " DT" : "", in ohci_dump_roothub()
210 (temp & RH_A_NPS) ? " NPS" : "", in ohci_dump_roothub()
211 (temp & RH_A_PSM) ? " PSM" : "", in ohci_dump_roothub()
212 (temp & RH_A_NDP), controller->num_ports in ohci_dump_roothub()
214 temp = roothub_b (controller); in ohci_dump_roothub()
217 temp, in ohci_dump_roothub()
218 (temp & RH_B_PPCM) >> 16, in ohci_dump_roothub()
219 (temp & RH_B_DR) in ohci_dump_roothub()
221 temp = roothub_status (controller); in ohci_dump_roothub()
224 temp, in ohci_dump_roothub()
225 (temp & RH_HS_CRWE) ? " CRWE" : "", in ohci_dump_roothub()
226 (temp & RH_HS_OCIC) ? " OCIC" : "", in ohci_dump_roothub()
227 (temp & RH_HS_LPSC) ? " LPSC" : "", in ohci_dump_roothub()
228 (temp & RH_HS_DRWE) ? " DRWE" : "", in ohci_dump_roothub()
229 (temp & RH_HS_OCI) ? " OCI" : "", in ohci_dump_roothub()
230 (temp & RH_HS_LPS) ? " LPS" : "" in ohci_dump_roothub()
235 temp = roothub_portstatus (controller, i); in ohci_dump_roothub()
236 dbg_port_sw (controller, i, temp, next, size); in ohci_dump_roothub()
402 unsigned temp, size = count; in show_list() local
418 temp = scnprintf (buf, size, in show_list()
430 size -= temp; in show_list()
431 buf += temp; in show_list()
440 temp = scnprintf (buf, size, in show_list()
452 size -= temp; in show_list()
453 buf += temp; in show_list()
456 temp = scnprintf (buf, size, "\n"); in show_list()
457 size -= temp; in show_list()
458 buf += temp; in show_list()
468 size_t temp, size; in fill_async_buffer() local
476 temp = show_list(ohci, buf->page, size, ohci->ed_controltail); in fill_async_buffer()
477 temp += show_list(ohci, buf->page + temp, size - temp, in fill_async_buffer()
481 return temp; in fill_async_buffer()
491 unsigned temp, size, seen_count; in fill_periodic_buffer() local
504 temp = scnprintf (next, size, "size = %d\n", NUM_INTS); in fill_periodic_buffer()
505 size -= temp; 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()
516 size -= temp; in fill_periodic_buffer()
517 next += temp; in fill_periodic_buffer()
520 temp = scnprintf (next, size, " ed%d/%p", in fill_periodic_buffer()
522 size -= temp; in fill_periodic_buffer()
523 next += temp; in fill_periodic_buffer()
524 for (temp = 0; temp < seen_count; temp++) { in fill_periodic_buffer()
525 if (seen [temp] == ed) in fill_periodic_buffer()
530 if (temp == seen_count) { in fill_periodic_buffer()
539 temp = scnprintf (next, size, in fill_periodic_buffer()
554 size -= temp; in fill_periodic_buffer()
555 next += temp; in fill_periodic_buffer()
564 temp = 0; in fill_periodic_buffer()
570 temp = scnprintf (next, size, "\n"); in fill_periodic_buffer()
571 size -= temp; in fill_periodic_buffer()
572 next += temp; in fill_periodic_buffer()
587 unsigned temp, size; in fill_registers_buffer() local
625 temp = scnprintf (next, size, in fill_registers_buffer()
629 size -= temp; 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()
636 size -= temp; in fill_registers_buffer()
637 next += temp; in fill_registers_buffer()
640 temp = scnprintf (next, size, "periodicstart 0x%04x\n", in fill_registers_buffer()
642 size -= temp; in fill_registers_buffer()
643 next += temp; in fill_registers_buffer()
646 temp = scnprintf (next, size, "lsthresh 0x%04x\n", in fill_registers_buffer()
648 size -= temp; 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()
653 size -= temp; in fill_registers_buffer()
654 next += temp; in fill_registers_buffer()