Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mmc/host/dwmmc.c
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | #define DWMMC_ERR_FLAGS (DWMMC_DATA_ERR_FLAGS | DWMMC_CMD_ERR_FLAGS \ | ||||
|SDMMC_INTMASK_HLE) | |SDMMC_INTMASK_HLE) | ||||
#define DES0_DIC (1 << 1) | #define DES0_DIC (1 << 1) | ||||
#define DES0_LD (1 << 2) | #define DES0_LD (1 << 2) | ||||
#define DES0_FS (1 << 3) | #define DES0_FS (1 << 3) | ||||
#define DES0_CH (1 << 4) | #define DES0_CH (1 << 4) | ||||
#define DES0_ER (1 << 5) | #define DES0_ER (1 << 5) | ||||
#define DES0_CES (1 << 30) | #define DES0_CES (1 << 30) | ||||
#define DES0_OWN (1 << 31) | #define DES0_OWN (1U << 31) | ||||
#define DES1_BS1_MASK 0xfff | #define DES1_BS1_MASK 0xfff | ||||
#define DES1_BS1_SHIFT 0 | #define DES1_BS1_SHIFT 0 | ||||
struct idmac_desc { | struct idmac_desc { | ||||
uint32_t des0; /* control */ | uint32_t des0; /* control */ | ||||
uint32_t des1; /* bufsize */ | uint32_t des1; /* bufsize */ | ||||
uint32_t des2; /* buf1 phys addr */ | uint32_t des2; /* buf1 phys addr */ | ||||
▲ Show 20 Lines • Show All 995 Lines • Show Last 20 Lines |