]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Bus/Pci/UhciDxe/UhciDebug.h
3 Copyright (c) 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 This file contains the definination for host controller debug support routines
25 #ifndef _EFI_UHCI_DEBUG_H_
26 #define _EFI_UHCI_DEBUG_H_
31 #define USB_DEBUG_FORCE_OUTPUT (UINTN) (1 << 0)
32 #define UHCI_DEBUG_QH (UINTN) (1 << 2)
33 #define UHCI_DEBUG_TD (UINTN) (1 << 3)
45 Debug print interface for UHCI
49 Level - Level to control debug print
50 Format - String to use for the print, followed by print arguments
61 Debug print interface for UHCI
63 @param Format String to use for the print, followed by print arguments
77 Debug error print interface for UHCI
79 @param Format String to use for the print, followed by print arguments
93 Dump the content of QH structure
95 @param QhSw Pointer to software QH structure
108 Dump the content of TD structure.
110 @param TdSw Pointer to software TD structure
123 #define UHCI_DEBUG(arg) UhciDebug arg
124 #define UHCI_ERROR(arg) UhciError arg
125 #define UHCI_DUMP_TDS(arg) UhciDumpTds arg
126 #define UHCI_DUMP_QH(arg) UhciDumpQh arg
128 #define UHCI_DEBUG(arg)
129 #define UHCI_ERROR(arg)
130 #define UHCI_DUMP_TDS(arg)
131 #define UHCI_DUMP_QH(arg)