Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/mv/mvwin.h
Show First 20 Lines • Show All 210 Lines • ▼ Show 20 Lines | |||||
* 0x5 = CESA1 | * 0x5 = CESA1 | ||||
*/ | */ | ||||
#define MV_WIN_CESA_ATTR(eng_sel) (0x11 | (1 << (3 - (eng_sel)))) | #define MV_WIN_CESA_ATTR(eng_sel) (0x11 | (1 << (3 - (eng_sel)))) | ||||
#else | #else | ||||
#define MV_WIN_CESA_TARGET 3 | #define MV_WIN_CESA_TARGET 3 | ||||
#define MV_WIN_CESA_ATTR(eng_sel) 0 | #define MV_WIN_CESA_ATTR(eng_sel) 0 | ||||
#endif | #endif | ||||
/* CESA TDMA address decoding registers */ | |||||
#define MV_WIN_CESA_CTRL(n) (0x8 * (n) + 0xA04) | |||||
#define MV_WIN_CESA_BASE(n) (0x8 * (n) + 0xA00) | |||||
#define MV_WIN_CESA_MAX 4 | |||||
#define MV_WIN_USB_CTRL(n) (0x10 * (n) + 0x320) | #define MV_WIN_USB_CTRL(n) (0x10 * (n) + 0x320) | ||||
#define MV_WIN_USB_BASE(n) (0x10 * (n) + 0x324) | #define MV_WIN_USB_BASE(n) (0x10 * (n) + 0x324) | ||||
#define MV_WIN_USB_MAX 4 | #define MV_WIN_USB_MAX 4 | ||||
#define MV_WIN_USB3_CTRL(n) (0x8 * (n) + 0x4000) | #define MV_WIN_USB3_CTRL(n) (0x8 * (n) + 0x4000) | ||||
#define MV_WIN_USB3_BASE(n) (0x8 * (n) + 0x4004) | #define MV_WIN_USB3_BASE(n) (0x8 * (n) + 0x4004) | ||||
#define MV_WIN_USB3_MAX 8 | #define MV_WIN_USB3_MAX 8 | ||||
▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines |