Lines Matching refs:Td
1430 OHCITD Td;
1438 ohciGetDWords(pThis, GCPhys, (uint32_t *)&Td, sizeof(Td) >> 2);
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,
1447 Td.cbp,
1448 Td.NextTD,
1449 Td.be));
1452 GCPhys = Td.NextTD & ED_PTR_MASK;
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,
1495 Td.cbp,
1496 Td.NextTD,
1497 Td.be));
1925 OHCITD Td;
1926 ohciReadTd(pThis, CurTdAddr, &Td);
1927 if ((Td.NextTD & ED_PTR_MASK) == TdAddr)
1929 Td.NextTD = (pTd->NextTD & ED_PTR_MASK) | (Td.NextTD & ~ED_PTR_MASK);
1930 ohciWriteTd(pThis, CurTdAddr, &Td, "ohciUnlinkGeneralTdInList");
1936 CurTdAddr = Td.NextTD & ED_PTR_MASK;
2128 OHCITD Td;
2139 ohciReadTd(pThis, pUrb->Hci.paTds[iTd].TdAddr, &u.Td);
2151 sizeof(u.Td), &u.Td, sizeof(u.Td), &pUrb->Hci.paTds[iTd].TdCopy[0]));
2691 OHCITD Td;
2692 ohciReadTd(pThis, TdAddr, &Td);
2694 ohciBufInit(&Buf, Td.cbp, Td.be);
2696 *pNextTdAddr = Td.NextTD & ED_PTR_MASK;
2707 switch (Td.hwinfo & TD_HWINFO_DIR)
2713 Log(("ohciServiceTd: Invalid direction!!!! Td.hwinfo=%#x Ed.hwdinfo=%#x\n", Td.hwinfo, pEd->hwinfo));
2733 pUrb->fShortNotOk = !(Td.hwinfo & TD_HWINFO_ROUNDING);
2739 AssertCompile(sizeof(pUrb->Hci.paTds[0].TdCopy) >= sizeof(Td));
2740 memcpy(pUrb->Hci.paTds[0].TdCopy, &Td, sizeof(Td));
2808 OHCITD Td;
2818 ohciReadTd(pThis, TdAddr, &Head.Td);
2819 ohciBufInit(&Head.Buf, Head.Td.cbp, Head.Td.be);
2828 && !(pTail->Td.hwinfo & TD_HWINFO_ROUNDING) /* This isn't right for *BSD, but let's not . */
2829 && (pTail->Td.NextTD & ED_PTR_MASK) != (pEd->TailP & ED_PTR_MASK)
2835 pCur->TdAddr = pTail->Td.NextTD & ED_PTR_MASK;
2836 ohciReadTd(pThis, pCur->TdAddr, &pCur->Td);
2837 ohciBufInit(&pCur->Buf, pCur->Td.cbp, pCur->Td.be);
2840 if ( (pCur->Td.hwinfo & (TD_HWINFO_DIR))
2841 != (pCur->Td.hwinfo & (TD_HWINFO_DIR)))
2851 *pNextTdAddr = pTail->Td.NextTD & ED_PTR_MASK;
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));
2890 pUrb->fShortNotOk = !(pTail->Td.hwinfo & TD_HWINFO_ROUNDING);
2920 AssertCompile(sizeof(pUrb->Hci.paTds[iTd].TdCopy) >= sizeof(pCur->Td));
2921 memcpy(pUrb->Hci.paTds[iTd].TdCopy, &pCur->Td, sizeof(pCur->Td));
3703 OHCITD Td;
3713 ohciReadTd(pThis, TdAddr, &Td);
3717 TdAddr = Td.NextTD & ED_PTR_MASK;