Lines Matching defs:hwinfo
430 uint32_t hwinfo;
505 uint32_t hwinfo;
1246 hichg = pTd->hwinfo;
1249 (pTd->hwinfo >> 18) & 1,
1250 (pTd->hwinfo >> 19) & 3,
1251 (pTd->hwinfo >> 21) & 7,
1252 (pTd->hwinfo >> 24) & 3,
1253 (pTd->hwinfo >> 26) & 3,
1254 (pTd->hwinfo >> 28) &15,
1258 pTd->hwinfo & TD_HWINFO_UNKNOWN_MASK));
1333 hichg = EdOld.hwinfo ^ pEd->hwinfo;
1336 (hichg >> 0) & 0x7f ? "*" : "", (pEd->hwinfo >> 0) & 0x7f,
1337 (hichg >> 7) & 0xf ? "*" : "", (pEd->hwinfo >> 7) & 0xf,
1338 (hichg >> 11) & 3 ? "*" : "", (pEd->hwinfo >> 11) & 3,
1339 (hichg >> 13) & 1 ? "*" : "", (pEd->hwinfo >> 13) & 1,
1340 (hichg >> 14) & 1 ? "*" : "", (pEd->hwinfo >> 14) & 1,
1341 (hichg >> 15) & 1 ? "*" : "", (pEd->hwinfo >> 15) & 1,
1342 (hichg >> 24) &0x3ff ? "*" : "", (pEd->hwinfo >> 16) &0x3ff,
1365 uint32_t hichg = TdOld.hwinfo ^ pTd->hwinfo;
1368 (hichg >> 18) & 1 ? "*" : "", (pTd->hwinfo >> 18) & 1,
1369 (hichg >> 19) & 3 ? "*" : "", (pTd->hwinfo >> 19) & 3,
1370 (hichg >> 21) & 7 ? "*" : "", (pTd->hwinfo >> 21) & 7,
1371 (hichg >> 24) & 3 ? "*" : "", (pTd->hwinfo >> 24) & 3,
1372 (hichg >> 26) & 3 ? "*" : "", (pTd->hwinfo >> 26) & 3,
1373 (hichg >> 28) &15 ? "*" : "", (pTd->hwinfo >> 28) &15,
1441 (Td.hwinfo >> 18) & 1,
1442 (Td.hwinfo >> 19) & 3,
1443 (Td.hwinfo >> 21) & 7,
1444 (Td.hwinfo >> 24) & 3,
1445 (Td.hwinfo >> 26) & 3,
1446 (Td.hwinfo >> 28) &15,
1489 (Td.hwinfo >> 18) & 1,
1490 (Td.hwinfo >> 19) & 3,
1491 (Td.hwinfo >> 21) & 7,
1492 (Td.hwinfo >> 24) & 3,
1493 (Td.hwinfo >> 26) & 3,
1494 (Td.hwinfo >> 28) &15,
1528 if (Ed.hwinfo & ED_HWINFO_ISO)
1530 if ((Ed.HeadP & ED_HEAD_HALTED) || (Ed.hwinfo & ED_HWINFO_SKIP))
1532 if ((Ed.HeadP & ED_HEAD_HALTED) && (Ed.hwinfo & ED_HWINFO_SKIP))
1534 else if (Ed.hwinfo & ED_HWINFO_SKIP)
1541 if (Ed.hwinfo & ED_HWINFO_ISO)
2002 pTd->hwinfo &= ~TD_HWINFO_TOGGLE;
2003 if ( pTd->hwinfo & TD_HWINFO_TOGGLE_HI )
2005 if ( !!(pTd->hwinfo & TD_HWINFO_TOGGLE_LO) ) /** @todo r=bird: is it just me or doesn't this make sense at all? */
2006 pTd->hwinfo |= TD_HWINFO_TOGGLE_LO;
2008 pTd->hwinfo &= ~TD_HWINFO_TOGGLE_LO;
2100 if ( u.au32[0] != pUrb->Hci.paTds[iTd].TdCopy[0] /* hwinfo */
2140 if ( u.au32[0] != pUrb->Hci.paTds[iTd].TdCopy[0] /* hwinfo */
2454 pTd->hwinfo &= ~TD_HWINFO_CC;
2460 pTd->hwinfo &= ~TD_HWINFO_ERRORS;
2463 uint32_t DoneInt = (pTd->hwinfo & TD_HWINFO_DI) >> 21;
2482 pTd->hwinfo |= OHCI_CC_STALL;
2485 pTd->hwinfo |= OHCI_CC_CRC;
2488 pTd->hwinfo |= OHCI_CC_DATA_UNDERRUN;
2491 pTd->hwinfo |= OHCI_CC_DATA_OVERRUN;
2496 pTd->hwinfo |= OHCI_CC_DNR;
2575 || (Ed.hwinfo & ED_HWINFO_SKIP)
2584 (Ed.hwinfo & ED_HWINFO_SKIP) ? " ep skip" : "",
2663 unsigned cErrs = (pTd->hwinfo & TD_HWINFO_ERRORS) >> TD_ERRORS_SHIFT;
2664 pTd->hwinfo &= ~TD_HWINFO_ERRORS;
2666 pTd->hwinfo |= (cErrs % TD_ERRORS_MAX) << TD_ERRORS_SHIFT;
2702 switch (pEd->hwinfo & ED_HWINFO_DIR)
2707 switch (Td.hwinfo & TD_HWINFO_DIR)
2713 Log(("ohciServiceTd: Invalid direction!!!! Td.hwinfo=%#x Ed.hwdinfo=%#x\n", Td.hwinfo, pEd->hwinfo));
2725 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, Buf.cbTotal, 1);
2731 pUrb->EndPt = (pEd->hwinfo & ED_HWINFO_ENDPOINT) >> ED_HWINFO_ENDPOINT_SHIFT;
2733 pUrb->fShortNotOk = !(Td.hwinfo & TD_HWINFO_ROUNDING);
2828 && !(pTail->Td.hwinfo & TD_HWINFO_ROUNDING) /* This isn't right for *BSD, but let's not . */
2840 if ( (pCur->Td.hwinfo & (TD_HWINFO_DIR))
2841 != (pCur->Td.hwinfo & (TD_HWINFO_DIR)))
2857 switch (pEd->hwinfo & ED_HWINFO_DIR)
2862 Log(("ohciServiceTdMultiple: WARNING! Ed.hwdinfo=%#x bulk or interrupt EP shouldn't rely on the TD for direction...\n", pEd->hwinfo));
2863 switch (Head.Td.hwinfo & TD_HWINFO_DIR)
2868 Log(("ohciServiceTdMultiple: Invalid direction!!!! Head.Td.hwinfo=%#x Ed.hwdinfo=%#x\n", Head.Td.hwinfo, pEd->hwinfo));
2880 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, cbTotal, cTds);
2888 pUrb->EndPt = (pEd->hwinfo & ED_HWINFO_ENDPOINT) >> ED_HWINFO_ENDPOINT_SHIFT;
2890 pUrb->fShortNotOk = !(pTail->Td.hwinfo & TD_HWINFO_ROUNDING);
3038 switch (pEd->hwinfo & ED_HWINFO_DIR)
3043 Log(("ohciServiceIsochronousTd: Invalid direction!!!! Ed.hwdinfo=%#x\n", pEd->hwinfo));
3091 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, cbTotal, 1);
3097 pUrb->EndPt = (pEd->hwinfo & ED_HWINFO_ENDPOINT) >> ED_HWINFO_ENDPOINT_SHIFT;
3295 && !(pEd->hwinfo & ED_HWINFO_SKIP);
3341 Assert(!(Ed.hwinfo & ED_HWINFO_ISO)); /* the guest is screwing us */
3386 if (Ed.hwinfo & ED_HWINFO_SKIP)
3435 Assert(!(Ed.hwinfo & ED_HWINFO_ISO)); /* the guest is screwing us */
3481 Assert(!(Ed.hwinfo & ED_HWINFO_ISO)); /* the guest is screwing us */
3560 if (!(Ed.hwinfo & ED_HWINFO_ISO))
3579 if (Ed.hwinfo & ED_HWINFO_SKIP)
3708 if ( !(Ed.hwinfo & ED_HWINFO_SKIP)