Changeset c2b2de7 in mainline for uspace/drv/infrastructure/rootamdm37x/cm/usbhost.h
- Timestamp:
- 2012-10-17T22:17:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 150a2718
- Parents:
- 6454ad47 (diff), 57912af3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootamdm37x/cm/usbhost.h
r6454ad47 rc2b2de7 35 35 #ifndef AMDM37x_USBHOST_CM_H 36 36 #define AMDM37x_USBHOST_CM_H 37 #include <macros.h> 37 38 #include <sys/types.h> 38 39 … … 46 47 #define USBHOST_CM_FCLKEN_EN_USBHOST2_FLAG (1 << 1) 47 48 48 uint32_t padd0_[3];49 PADD32[3]; 49 50 ioport32_t iclken; 50 51 #define USBHOST_CM_ICLKEN_EN_USBHOST (1 << 0) 51 52 52 uint32_t padd1_[3];53 PADD32[3]; 53 54 const ioport32_t idlest; 54 55 #define USBHOST_CM_IDLEST_ST_USBHOST_STDBY_FLAG (1 << 0) 55 56 #define USBHOST_CM_IDLEST_ST_USBHOST_IDLE_FLAG (1 << 1) 56 57 57 uint32_t padd2_[3];58 PADD32[3]; 58 59 ioport32_t autoidle; 59 60 #define USBHOST_CM_AUTOIDLE_AUTO_USBHOST_FLAG (1 << 0) 60 61 61 uint32_t padd3_[4];62 PADD32[4]; 62 63 ioport32_t sleepdep; 63 64 #define USBHOST_CM_SLEEPDEP_EN_MPU_FLAG (1 << 1) … … 65 66 66 67 ioport32_t clkstctrl; 67 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_MASK 0x3 68 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SHIFT 0 69 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_DIS 0x0 70 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_SLEEP 0x1 71 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_WAKEUP 0x2 72 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_EN 0x1 68 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_MASK (0x3 << 0) 69 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_DIS (0x0 << 0) 70 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_SLEEP (0x1 << 0) 71 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_SUPERVISED_WAKEUP (0x2 << 0) 72 #define USBHOST_CM_CLKSTCTRL_CLKSTCTRL_USBHOST_AUTO_EN (0x3 << 0) 73 73 74 74 ioport32_t clkstst;
Note:
See TracChangeset
for help on using the changeset viewer.
