4 * @Abstract: mailbox hardware definitions
8 * Copyright (c) 2008 Atheros Communications Inc.
19 #include <vdesc_api.h>
22 //#include <dma_engine_api.h>
24 #define HIF_USB_PIPE_TX 1
25 #define HIF_USB_PIPE_RX 2
26 #define HIF_USB_PIPE_INTERRUPT 3
27 #define HIF_USB_PIPE_COMMAND 4
28 #define HIF_USB_PIPE_HP_TX 5
29 #define HIF_USB_PIPE_MP_TX 6
37 /* the mailbox hardware layer context */
38 typedef struct _HIF_USB_CONTEXT {
40 struct zsDmaQueue dnQ;
41 struct zsTxDmaQueue upQ;
42 #if SYSTEM_MODULE_HP_EP5
43 struct zsDmaQueue hpdnQ; // high priority
45 #if SYSTEM_MODULE_HP_EP6
46 struct zsDmaQueue mpdnQ; // medium priority
48 //struct VBUF_QUEUE upVbufQ;
50 struct VBUF_QUEUE eventBufQ;
52 // Left a door for extension the structure
56 void hif_usb_module_install(struct hif_api *apis);