Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/bhnd/bcma/bcma_dmp.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
#define BCMA_DMP_OOBBOUTWIDTH 0x328 | #define BCMA_DMP_OOBBOUTWIDTH 0x328 | ||||
#define BCMA_DMP_OOBCEXTWIDTH 0x340 | #define BCMA_DMP_OOBCEXTWIDTH 0x340 | ||||
#define BCMA_DMP_OOBCINWIDTH 0x344 | #define BCMA_DMP_OOBCINWIDTH 0x344 | ||||
#define BCMA_DMP_OOBCOUTWIDTH 0x348 | #define BCMA_DMP_OOBCOUTWIDTH 0x348 | ||||
#define BCMA_DMP_OOBDEXTWIDTH 0x360 | #define BCMA_DMP_OOBDEXTWIDTH 0x360 | ||||
#define BCMA_DMP_OOBDINWIDTH 0x364 | #define BCMA_DMP_OOBDINWIDTH 0x364 | ||||
#define BCMA_DMP_OOBDOUTWIDTH 0x368 | #define BCMA_DMP_OOBDOUTWIDTH 0x368 | ||||
/* The exact interpretation of these bits is unverified; these | |||||
* are our best guesses as to their use */ | |||||
#define BCMA_DMP_OOBSEL_MASK 0xFF /**< OOBSEL config mask */ | |||||
#define BCMA_DMP_OOBSEL_0_MASK BCMA_DMP_OOBSEL_MASK | |||||
#define BCMA_DMP_OOBSEL_1_MASK BCMA_DMP_OOBSEL_MASK | |||||
#define BCMA_DMP_OOBSEL_2_MASK BCMA_DMP_OOBSEL_MASK | |||||
#define BCMA_DMP_OOBSEL_3_MASK BCMA_DMP_OOBSEL_MASK | |||||
#define BCMA_DMP_OOBSEL_0_SHIFT 0 /**< first OOBSEL config */ | |||||
#define BCMA_DMP_OOBSEL_1_SHIFT 8 /**< second OOBSEL config */ | |||||
#define BCMA_DMP_OOBSEL_2_SHIFT 16 /**< third OOBSEL config */ | |||||
#define BCMA_DMP_OOBSEL_3_SHIFT 24 /**< fouth OOBSEL config */ | |||||
#define BCMA_DMP_OOBSEL_EN (1 << 7) /**< enable bit */ | |||||
// This was inherited from Broadcom's aidmp.h header | // This was inherited from Broadcom's aidmp.h header | ||||
// Is it required for any of our use-cases? | // Is it required for any of our use-cases? | ||||
#if 0 /* defined(IL_BIGENDIAN) && defined(BCMHND74K) */ | #if 0 /* defined(IL_BIGENDIAN) && defined(BCMHND74K) */ | ||||
/* Selective swapped defines for those registers we need in | /* Selective swapped defines for those registers we need in | ||||
* big-endian code. | * big-endian code. | ||||
*/ | */ | ||||
#define BCMA_DMP_IOCTRLSET 0x404 | #define BCMA_DMP_IOCTRLSET 0x404 | ||||
#define BCMA_DMP_IOCTRLCLEAR 0x400 | #define BCMA_DMP_IOCTRLCLEAR 0x400 | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |