Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/mpc85xx/fsl_diu.c
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | |||||
#define DIU_CTRLDESCLn_1(n) DIU_CTRLDESCL(n, 1) | #define DIU_CTRLDESCLn_1(n) DIU_CTRLDESCL(n, 1) | ||||
#define DIU_CTRLDESCLn_2(n) DIU_CTRLDESCL(n, 2) | #define DIU_CTRLDESCLn_2(n) DIU_CTRLDESCL(n, 2) | ||||
#define DIU_CTRLDESCLn_3(n) DIU_CTRLDESCL(n, 3) | #define DIU_CTRLDESCLn_3(n) DIU_CTRLDESCL(n, 3) | ||||
#define TRANS_SHIFT 20 | #define TRANS_SHIFT 20 | ||||
#define DIU_CTRLDESCLn_4(n) DIU_CTRLDESCL(n, 4) | #define DIU_CTRLDESCLn_4(n) DIU_CTRLDESCL(n, 4) | ||||
#define BPP_MASK 0xf /* Bit per pixel Mask */ | #define BPP_MASK 0xf /* Bit per pixel Mask */ | ||||
#define BPP_SHIFT 16 /* Bit per pixel Shift */ | #define BPP_SHIFT 16 /* Bit per pixel Shift */ | ||||
#define BPP24 0x5 | #define BPP24 0x5 | ||||
#define EN_LAYER (1 << 31) /* Enable the layer */ | #define EN_LAYER (1U << 31) /* Enable the layer */ | ||||
#define DIU_CTRLDESCLn_5(n) DIU_CTRLDESCL(n, 5) | #define DIU_CTRLDESCLn_5(n) DIU_CTRLDESCL(n, 5) | ||||
#define DIU_CTRLDESCLn_6(n) DIU_CTRLDESCL(n, 6) | #define DIU_CTRLDESCLn_6(n) DIU_CTRLDESCL(n, 6) | ||||
#define DIU_CTRLDESCLn_7(n) DIU_CTRLDESCL(n, 7) | #define DIU_CTRLDESCLn_7(n) DIU_CTRLDESCL(n, 7) | ||||
#define DIU_CTRLDESCLn_8(n) DIU_CTRLDESCL(n, 8) | #define DIU_CTRLDESCLn_8(n) DIU_CTRLDESCL(n, 8) | ||||
#define DIU_CTRLDESCLn_9(n) DIU_CTRLDESCL(n, 9) | #define DIU_CTRLDESCLn_9(n) DIU_CTRLDESCL(n, 9) | ||||
#define NUM_LAYERS 1 | #define NUM_LAYERS 1 | ||||
▲ Show 20 Lines • Show All 331 Lines • Show Last 20 Lines |