Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usb-mx2.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Martin Fuzzey <[email protected]>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  */
14 
15 #ifndef __ASM_ARCH_MX21_USBH
16 #define __ASM_ARCH_MX21_USBH
17 
19  /* Values below as used by hardware (HWMODE register) */
24 };
25 
27  enum mx21_usbh_xcvr host_xcvr; /* tranceiver mode host 1,2 ports */
28  enum mx21_usbh_xcvr otg_xcvr; /* tranceiver mode otg (as host) port */
30  enable_host2:1,
31  enable_otg_host:1, /* enable "OTG" port (as host) */
32  host1_xcverless:1, /* traceiverless host1 port */
33  host1_txenoe:1, /* output enable host1 transmit enable */
34  otg_ext_xcvr:1, /* external tranceiver for OTG port */
35  unused:10;
36 };
37 
38 #endif /* __ASM_ARCH_MX21_USBH */