Lines Matching refs:FIELD_PREP

127 #define CNF_ASYNC_TIMINGS_TRH				FIELD_PREP(GENMASK(28, 24), 2)
128 #define CNF_ASYNC_TIMINGS_TRP FIELD_PREP(GENMASK(20, 16), 4)
129 #define CNF_ASYNC_TIMINGS_TWH FIELD_PREP(GENMASK(12, 8), 2)
130 #define CNF_ASYNC_TIMINGS_TWP FIELD_PREP(GENMASK(4, 0), 4)
154 #define CDMA_CF_DMA_MASTER_SET(x) FIELD_PREP(BIT(CDMA_CF_DMA_MASTER), x)
156 #define F_CFLAGS_VOL_ID_SET(x) FIELD_PREP(GENMASK(7, 4), x)
164 #define CFLAGS_MPTRPC_SET FIELD_PREP(BIT(CFLAGS_MPTRPC), 1)
166 #define CFLAGS_FPTRPC_SET FIELD_PREP(BIT(CFLAGS_FPTRPC), 1)
168 #define CFLAGS_CONT_SET FIELD_PREP(BIT(CFLAGS_CONT), 1)
193 #define CMD_0_THREAD_POS_SET(x) (FIELD_PREP(GENMASK(26, 24), x))
195 #define CMD_0_C_MODE_SET(x) (FIELD_PREP(GENMASK(31, 30), x))
196 #define CMD_0_VOL_ID_SET(x) (FIELD_PREP(GENMASK(19, 16), x))
206 #define F_BURST_SEL_SET(x) (FIELD_PREP(GENMASK(7, 0), x))
213 #define NF_FIFO_TRIGG_LVL_SET(x) (FIELD_PREP(GENMASK(15, 0), x))
214 #define NF_DMA_PACKAGE_SIZE_SET(x) (FIELD_PREP(GENMASK(31, 16), x))
228 #define NF_CMD4_BANK_SET(x) (FIELD_PREP(GENMASK(31, 24), x))
230 #define PIO_CMD0_CT_SET(x) (FIELD_PREP(GENMASK(15, 0), x))
232 #define PIO_CF_INT_SET (FIELD_PREP(BIT(PIO_CF_INT), 1))
234 #define PIO_CF_DMA_MASTER_SET(x) (FIELD_PREP(BIT(PIO_CF_DMA_MASTER), x))
264 #define ERASE_ADDR_SIZE (FIELD_PREP(GENMASK64(13, 11), 3ULL))
266 #define GEN_SECTOR_COUNT_SET (FIELD_PREP(GENMASK64(39, 32),\
269 #define GEN_LAST_SECTOR_SIZE_SET(x) (FIELD_PREP(GENMASK64(55, 40), x))
280 #define PAGE_MAX_BYTES(x) (FIELD_PREP(GENMASK64(13, 11), x))
282 #define GEN_CF_INT_SET(x) (FIELD_PREP(BIT(GEN_CF_INT), x))
285 #define GEN_DIR_SET(x) (FIELD_PREP(BIT64(11), x))
286 #define GEN_SECTOR_SET(x) (FIELD_PREP(GENMASK64(31, 16), x))
287 #define PAGE_WRITE_10H_CMD (FIELD_PREP(GENMASK64(23, 16), 0x10ULL))
288 #define GEN_ADDR_WRITE_DATA(x) (FIELD_PREP(GENMASK64(63, 32), x))
293 #define ROW_VAL_SET(x, y, z) (FIELD_PREP(GENMASK(x, y), z))
294 #define SET_FEAT_ADDR(x) (FIELD_PREP(GENMASK(7, 0), x))
295 #define THREAD_VAL(x) (FIELD_PREP(GENMASK(2, 0), x))