Lines Matching refs:temp
388 __u32 temp; in ohci_dump_status() local
390 temp = ohci_readl(®s->revision) & 0xff; in ohci_dump_status()
391 if (temp != 0x10) in ohci_dump_status()
392 dbg("spec %d.%d", (temp >> 4), (temp & 0x0f)); in ohci_dump_status()
394 temp = ohci_readl(®s->control); in ohci_dump_status()
395 dbg("control: 0x%08x%s%s%s HCFS=%s%s%s%s%s CBSR=%d", temp, in ohci_dump_status()
396 (temp & OHCI_CTRL_RWE) ? " RWE" : "", in ohci_dump_status()
397 (temp & OHCI_CTRL_RWC) ? " RWC" : "", in ohci_dump_status()
398 (temp & OHCI_CTRL_IR) ? " IR" : "", in ohci_dump_status()
399 hcfs2string(temp & OHCI_CTRL_HCFS), in ohci_dump_status()
400 (temp & OHCI_CTRL_BLE) ? " BLE" : "", in ohci_dump_status()
401 (temp & OHCI_CTRL_CLE) ? " CLE" : "", in ohci_dump_status()
402 (temp & OHCI_CTRL_IE) ? " IE" : "", in ohci_dump_status()
403 (temp & OHCI_CTRL_PLE) ? " PLE" : "", in ohci_dump_status()
404 temp & OHCI_CTRL_CBSR in ohci_dump_status()
407 temp = ohci_readl(®s->cmdstatus); in ohci_dump_status()
408 dbg("cmdstatus: 0x%08x SOC=%d%s%s%s%s", temp, in ohci_dump_status()
409 (temp & OHCI_SOC) >> 16, in ohci_dump_status()
410 (temp & OHCI_OCR) ? " OCR" : "", in ohci_dump_status()
411 (temp & OHCI_BLF) ? " BLF" : "", in ohci_dump_status()
412 (temp & OHCI_CLF) ? " CLF" : "", in ohci_dump_status()
413 (temp & OHCI_HCR) ? " HCR" : "" in ohci_dump_status()
434 __u32 temp, ndp, i; in ohci_dump_roothub() local
436 temp = roothub_a(controller); in ohci_dump_roothub()
437 ndp = (temp & RH_A_NDP); in ohci_dump_roothub()
442 dbg("roothub.a: %08x POTPGT=%d%s%s%s%s%s NDP=%d", temp, in ohci_dump_roothub()
443 ((temp & RH_A_POTPGT) >> 24) & 0xff, in ohci_dump_roothub()
444 (temp & RH_A_NOCP) ? " NOCP" : "", in ohci_dump_roothub()
445 (temp & RH_A_OCPM) ? " OCPM" : "", in ohci_dump_roothub()
446 (temp & RH_A_DT) ? " DT" : "", in ohci_dump_roothub()
447 (temp & RH_A_NPS) ? " NPS" : "", in ohci_dump_roothub()
448 (temp & RH_A_PSM) ? " PSM" : "", in ohci_dump_roothub()
451 temp = roothub_b(controller); in ohci_dump_roothub()
453 temp, in ohci_dump_roothub()
454 (temp & RH_B_PPCM) >> 16, in ohci_dump_roothub()
455 (temp & RH_B_DR) in ohci_dump_roothub()
457 temp = roothub_status(controller); in ohci_dump_roothub()
459 temp, in ohci_dump_roothub()
460 (temp & RH_HS_CRWE) ? " CRWE" : "", in ohci_dump_roothub()
461 (temp & RH_HS_OCIC) ? " OCIC" : "", in ohci_dump_roothub()
462 (temp & RH_HS_LPSC) ? " LPSC" : "", in ohci_dump_roothub()
463 (temp & RH_HS_DRWE) ? " DRWE" : "", in ohci_dump_roothub()
464 (temp & RH_HS_OCI) ? " OCI" : "", in ohci_dump_roothub()
465 (temp & RH_HS_LPS) ? " LPS" : "" in ohci_dump_roothub()
470 temp = roothub_portstatus(controller, i); in ohci_dump_roothub()
473 temp, in ohci_dump_roothub()
474 (temp & RH_PS_PRSC) ? " PRSC" : "", in ohci_dump_roothub()
475 (temp & RH_PS_OCIC) ? " OCIC" : "", in ohci_dump_roothub()
476 (temp & RH_PS_PSSC) ? " PSSC" : "", in ohci_dump_roothub()
477 (temp & RH_PS_PESC) ? " PESC" : "", in ohci_dump_roothub()
478 (temp & RH_PS_CSC) ? " CSC" : "", in ohci_dump_roothub()
480 (temp & RH_PS_LSDA) ? " LSDA" : "", in ohci_dump_roothub()
481 (temp & RH_PS_PPS) ? " PPS" : "", in ohci_dump_roothub()
482 (temp & RH_PS_PRS) ? " PRS" : "", in ohci_dump_roothub()
483 (temp & RH_PS_POCI) ? " POCI" : "", in ohci_dump_roothub()
484 (temp & RH_PS_PSS) ? " PSS" : "", in ohci_dump_roothub()
486 (temp & RH_PS_PES) ? " PES" : "", in ohci_dump_roothub()
487 (temp & RH_PS_CCS) ? " CCS" : "" in ohci_dump_roothub()
1224 __u32 temp, ndp, i; in rh_check_port_status() local
1228 temp = roothub_a(controller); in rh_check_port_status()
1229 ndp = (temp & RH_A_NDP); in rh_check_port_status()
1234 temp = roothub_portstatus(controller, i); in rh_check_port_status()
1236 if (((temp & (RH_PS_PESC | RH_PS_CSC)) == in rh_check_port_status()
1238 ((temp & RH_PS_CCS) == 0)) { in rh_check_port_status()
1399 __u32 temp = roothub_a(ohci); in ohci_submit_rh_msg() local
1403 databuf[2] = temp & RH_A_NDP; in ohci_submit_rh_msg()
1408 if (temp & RH_A_PSM) /* per-port power switching? */ in ohci_submit_rh_msg()
1410 if (temp & RH_A_NOCP) /* no overcurrent reporting? */ in ohci_submit_rh_msg()
1412 else if (temp & RH_A_OCPM)/* per-port overcurrent reporting? */ in ohci_submit_rh_msg()
1416 databuf[5] = (temp & RH_A_POTPGT) >> 24; in ohci_submit_rh_msg()
1418 temp = roothub_b(ohci); in ohci_submit_rh_msg()
1419 databuf[7] = temp & RH_B_DR; in ohci_submit_rh_msg()
1424 databuf[8] = (temp & RH_B_DR) >> 8; in ohci_submit_rh_msg()