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;
106 temp = ohci_readl (controller, ®s->revision) & 0xff;
109 0x03 & (temp >> 4), (temp & 0x0f),
110 (temp & 0x0100) ? "with" : "NO",
113 temp = ohci_readl (controller, ®s->control);
116 temp,
117 (temp & OHCI_CTRL_RWE) ? " RWE" : "",
118 (temp & OHCI_CTRL_RWC) ? " RWC" : "",
119 (temp & OHCI_CTRL_IR) ? " IR" : "",
120 hcfs2string (temp & OHCI_CTRL_HCFS),
121 (temp & OHCI_CTRL_BLE) ? " BLE" : "",
122 (temp & OHCI_CTRL_CLE) ? " CLE" : "",
123 (temp & OHCI_CTRL_IE) ? " IE" : "",
124 (temp & OHCI_CTRL_PLE) ? " PLE" : "",
125 temp & OHCI_CTRL_CBSR
128 temp = ohci_readl (controller, ®s->cmdstatus);
130 "cmdstatus 0x%05x SOC=%d%s%s%s%s\n", temp,
131 (temp & OHCI_SOC) >> 16,
132 (temp & OHCI_OCR) ? " OCR" : "",
133 (temp & OHCI_BLF) ? " BLF" : "",
134 (temp & OHCI_CLF) ? " CLF" : "",
135 (temp & OHCI_HCR) ? " HCR" : ""
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;
199 temp = roothub_a (controller);
200 if (temp == ~(u32)0)
205 "roothub.a %08x POTPGT=%d%s%s%s%s%s NDP=%d(%d)\n", temp,
206 ((temp & RH_A_POTPGT) >> 24) & 0xff,
207 (temp & RH_A_NOCP) ? " NOCP" : "",
208 (temp & RH_A_OCPM) ? " OCPM" : "",
209 (temp & RH_A_DT) ? " DT" : "",
210 (temp & RH_A_NPS) ? " NPS" : "",
211 (temp & RH_A_PSM) ? " PSM" : "",
212 (temp & RH_A_NDP), controller->num_ports
214 temp = roothub_b (controller);
217 temp,
218 (temp & RH_B_PPCM) >> 16,
219 (temp & RH_B_DR)
221 temp = roothub_status (controller);
224 temp,
225 (temp & RH_HS_CRWE) ? " CRWE" : "",
226 (temp & RH_HS_OCIC) ? " OCIC" : "",
227 (temp & RH_HS_LPSC) ? " LPSC" : "",
228 (temp & RH_HS_DRWE) ? " DRWE" : "",
229 (temp & RH_HS_OCI) ? " OCI" : "",
230 (temp & RH_HS_LPS) ? " LPS" : ""
235 temp = roothub_portstatus (controller, i);
236 dbg_port_sw (controller, i, temp, next, size);
402 unsigned temp, size = count;
418 temp = scnprintf (buf, size,
430 size -= temp;
431 buf += temp;
440 temp = scnprintf (buf, size,
452 size -= temp;
453 buf += temp;
456 temp = scnprintf (buf, size, "\n");
457 size -= temp;
458 buf += temp;
468 size_t temp, size;
476 temp = show_list(ohci, buf->page, size, ohci->ed_controltail);
477 temp += show_list(ohci, buf->page + temp, size - temp,
481 return temp;
491 unsigned temp, size, seen_count;
504 temp = scnprintf (next, size, "size = %d\n", NUM_INTS);
505 size -= temp;
506 next += temp;
515 temp = scnprintf (next, size, "%2d [%3d]:", i, ohci->load [i]);
516 size -= temp;
517 next += temp;
520 temp = scnprintf (next, size, " ed%d/%p",
522 size -= temp;
523 next += temp;
524 for (temp = 0; temp < seen_count; temp++) {
525 if (seen [temp] == ed)
530 if (temp == seen_count) {
539 temp = scnprintf (next, size,
554 size -= temp;
555 next += temp;
564 temp = 0;
570 temp = scnprintf (next, size, "\n");
571 size -= temp;
572 next += temp;
587 unsigned temp, size;
625 temp = scnprintf (next, size,
629 size -= temp;
630 next += temp;
633 temp = scnprintf (next, size, "fmremaining 0x%08x %sFR=0x%04x\n",
636 size -= temp;
637 next += temp;
640 temp = scnprintf (next, size, "periodicstart 0x%04x\n",
642 size -= temp;
643 next += temp;
646 temp = scnprintf (next, size, "lsthresh 0x%04x\n",
648 size -= temp;
649 next += temp;
651 temp = scnprintf (next, size, "hub poll timer %s\n",
653 size -= temp;
654 next += temp;