ReactOS 0.4.16-dev-329-g9223134
debug.c File Reference
#include "usbehci.h"
#include <debug.h>
Include dependency graph for debug.c:

Go to the source code of this file.

Functions

VOID NTAPI EHCI_DumpHwTD (IN PEHCI_HCD_TD TD)
 
VOID NTAPI EHCI_DumpHwQH (IN PEHCI_HCD_QH QH)
 

Function Documentation

◆ EHCI_DumpHwQH()

VOID NTAPI EHCI_DumpHwQH ( IN PEHCI_HCD_QH  QH)

Definition at line 31 of file debug.c.

32{
33 if (!QH)
34 return;
35
36 DPRINT(": QH->sqh.HwQH.CurrentTD - %lx\n", QH->sqh.HwQH.CurrentTD);
37 DPRINT(": QH->sqh.HwQH.NextTD - %lx\n", QH->sqh.HwQH.NextTD);
38 DPRINT(": QH->sqh.HwQH.AlternateNextTD - %lx\n", QH->sqh.HwQH.AlternateNextTD);
39 DPRINT(": QH->sqh.HwQH.Token.AsULONG - %lx\n", QH->sqh.HwQH.Token.AsULONG);
40}
#define DPRINT
Definition: sndvol32.h:73

Referenced by EHCI_PollHaltedAsyncEndpoint().

◆ EHCI_DumpHwTD()

VOID NTAPI EHCI_DumpHwTD ( IN PEHCI_HCD_TD  TD)

Definition at line 15 of file debug.c.

16{
17 while (TD)
18 {
19 DPRINT(": TD - %p\n", TD);
20 DPRINT(": TD->PhysicalAddress - %lx\n", TD->PhysicalAddress);
21 DPRINT(": TD->HwTD.NextTD - %lx\n", TD->HwTD.NextTD);
22 DPRINT(": TD->HwTD.AlternateNextTD - %lx\n", TD->HwTD.AlternateNextTD);
23 DPRINT(": TD->HwTD.Token.AsULONG - %lx\n", TD->HwTD.Token.AsULONG);
24
25 TD = TD->NextHcdTD;
26 }
27}