Changeset 52fc805 in mainline for uspace/drv/infrastructure/rootamdm37x/uhh.h
- Timestamp:
- 2012-10-15T19:27:58Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a5a73c0
- Parents:
- f4c9e42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootamdm37x/uhh.h
rf4c9e42 r52fc805 42 42 typedef struct { 43 43 const ioport32_t revision; 44 #define UHH_REVISION_MASK 0xf 45 #define UHH_REVISION_MINOR_SHIFT 0 46 #define UHH_REVISION_MAJOR_SHIFT 4 44 #define UHH_REVISION_MINOR_MASK 0x0f 45 #define UHH_REVISION_MAJOR_MASK 0xf0 47 46 48 47 uint32_t padd0_[3]; … … 51 50 #define UHH_SYSCONFIG_SOFTRESET_FLAG (1 << 1) 52 51 #define UHH_SYSCONFIG_ENWAKEUP_FLAG (1 << 2) 52 #define UHH_SYSCONFIG_SIDLE_MODE_MASK (0x3 << 3) 53 #define UHH_SYSCONFIG_SIDLE_MODE_FORCE (0x0 << 3) 54 #define UHH_SYSCONFIG_SIDLE_MODE_NO (0x1 << 3) 55 #define UHH_SYSCONFIG_SIDLE_MODE_SMART (0x2 << 3) 53 56 #define UHH_SYSCONFIG_CLOCKACTIVITY_FLAG (1 << 8) 54 #define UHH_SYSCONFIG_ SIDLE_MODE_MASK 0x355 #define UHH_SYSCONFIG_ SIDLE_MODE_SHIFT 356 #define UHH_SYSCONFIG_MIDLE_MODE_ MASK 0x357 #define UHH_SYSCONFIG_MIDLE_MODE_S HIFT 1257 #define UHH_SYSCONFIG_MIDLE_MODE_MASK (0x3 << 12) 58 #define UHH_SYSCONFIG_MIDLE_MODE_FORCE (0x0 << 12) 59 #define UHH_SYSCONFIG_MIDLE_MODE_NO (0x1 << 12) 60 #define UHH_SYSCONFIG_MIDLE_MODE_SMART (0x2 << 12) 58 61 59 62 const ioport32_t sysstatus; … … 77 80 78 81 ioport32_t debug_csr; 79 #define UHH_DEBUG_CSR_EHCI_FLADJ_MASK (0x3f )80 #define UHH_DEBUG_CSR_EHCI_FLADJ _SHIFT 082 #define UHH_DEBUG_CSR_EHCI_FLADJ_MASK (0x3f << 0) 83 #define UHH_DEBUG_CSR_EHCI_FLADJ(x) ((x) & 0x3f) 81 84 #define UHH_DEBUG_CSR_EHCI_SIMULATION_MODE_FLAG (1 << 6) 82 85 #define UHH_DEBUG_CSR_OHCI_CNTSEL_FLAG (1 << 7)
Note:
See TracChangeset
for help on using the changeset viewer.