FIELD_PREP         54 drivers/clk/at91/clk-generated.c 			   FIELD_PREP(AT91_PMC_PCR_GCKDIV_MASK, gck->gckdiv) |
FIELD_PREP         95 drivers/clk/at91/clk-sam9x60-pll.c 		     FIELD_PREP(PMC_PLL_CTRL1_MUL_MSK, pll->mul));
FIELD_PREP        377 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(SSCG_PLL_BYPASS_MASK, setup->bypass);
FIELD_PREP        383 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(PLL_DIVF1_MASK, setup->divf1);
FIELD_PREP        384 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(PLL_DIVF2_MASK, setup->divf2);
FIELD_PREP        385 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(PLL_DIVR1_MASK, setup->divr1);
FIELD_PREP        386 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(PLL_DIVR2_MASK, setup->divr2);
FIELD_PREP        387 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(PLL_DIVQ_MASK, setup->divq);
FIELD_PREP        414 drivers/clk/imx/clk-sccg-pll.c 	val |= FIELD_PREP(SSCG_PLL_BYPASS_MASK, pll->setup.bypass);
FIELD_PREP        673 drivers/clk/zynqmp/clkc.c 		clock[i].clk_id = FIELD_PREP(CLK_ATTR_NODE_CLASS, class) |
FIELD_PREP        674 drivers/clk/zynqmp/clkc.c 				  FIELD_PREP(CLK_ATTR_NODE_SUBCLASS, subclass) |
FIELD_PREP        675 drivers/clk/zynqmp/clkc.c 				  FIELD_PREP(CLK_ATTR_NODE_TYPE, nodetype) |
FIELD_PREP        676 drivers/clk/zynqmp/clkc.c 				  FIELD_PREP(CLK_ATTR_NODE_INDEX, i);
FIELD_PREP        180 drivers/clocksource/timer-meson6.c 	val |= FIELD_PREP(MESON_ISA_TIMER_MUX_TIMERE_INPUT_CLOCK_MASK,
FIELD_PREP        190 drivers/clocksource/timer-meson6.c 	val |= FIELD_PREP(MESON_ISA_TIMER_MUX_TIMERA_INPUT_CLOCK_MASK,
FIELD_PREP         23 drivers/counter/ftm-quaddec.c 		flags |= FIELD_PREP(mask, val);				\
FIELD_PREP         50 drivers/counter/stm32-lptimer-cnt.c 	val = FIELD_PREP(STM32_LPTIM_ENABLE, enable);
FIELD_PREP        105 drivers/counter/stm32-lptimer-cnt.c 	val |= FIELD_PREP(STM32_LPTIM_CKPOL, enable ? priv->polarity : 0);
FIELD_PREP        489 drivers/crypto/axis/artpec6_crypto.c 	ind = FIELD_PREP(PDMA_IN_DESCRQ_PUSH_LEN, dma->in_cnt - 1) |
FIELD_PREP        490 drivers/crypto/axis/artpec6_crypto.c 	      FIELD_PREP(PDMA_IN_DESCRQ_PUSH_ADDR, dma->in_dma_addr >> 6);
FIELD_PREP        492 drivers/crypto/axis/artpec6_crypto.c 	statd = FIELD_PREP(PDMA_IN_STATQ_PUSH_LEN, dma->in_cnt - 1) |
FIELD_PREP        493 drivers/crypto/axis/artpec6_crypto.c 		FIELD_PREP(PDMA_IN_STATQ_PUSH_ADDR, dma->stat_dma_addr >> 6);
FIELD_PREP        495 drivers/crypto/axis/artpec6_crypto.c 	outd = FIELD_PREP(PDMA_OUT_DESCRQ_PUSH_LEN, dma->out_cnt - 1) |
FIELD_PREP        496 drivers/crypto/axis/artpec6_crypto.c 	       FIELD_PREP(PDMA_OUT_DESCRQ_PUSH_ADDR, dma->out_dma_addr >> 6);
FIELD_PREP       1330 drivers/crypto/axis/artpec6_crypto.c 			req_ctx->key_md = FIELD_PREP(A6_CRY_MD_OPER,
FIELD_PREP       1333 drivers/crypto/axis/artpec6_crypto.c 			req_ctx->key_md = FIELD_PREP(A7_CRY_MD_OPER,
FIELD_PREP       1366 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->hash_md |= FIELD_PREP(A6_CRY_MD_HASH_SEL_CTX, sel_ctx);
FIELD_PREP       1373 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->hash_md |= FIELD_PREP(A7_CRY_MD_HASH_SEL_CTX, sel_ctx);
FIELD_PREP       1687 drivers/crypto/axis/artpec6_crypto.c 		ctx->key_md = FIELD_PREP(A6_CRY_MD_OPER, a6_regk_crypto_dlkey);
FIELD_PREP       1689 drivers/crypto/axis/artpec6_crypto.c 		ctx->key_md = FIELD_PREP(A7_CRY_MD_OPER, a7_regk_crypto_dlkey);
FIELD_PREP       1758 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A6_CRY_MD_OPER, oper);
FIELD_PREP       1759 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A6_CRY_MD_CIPHER_LEN,
FIELD_PREP       1764 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A7_CRY_MD_OPER, oper);
FIELD_PREP       1765 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A7_CRY_MD_CIPHER_LEN,
FIELD_PREP       1849 drivers/crypto/axis/artpec6_crypto.c 		ctx->key_md = FIELD_PREP(A6_CRY_MD_OPER,
FIELD_PREP       1852 drivers/crypto/axis/artpec6_crypto.c 		ctx->key_md = FIELD_PREP(A7_CRY_MD_OPER,
FIELD_PREP       1882 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A6_CRY_MD_OPER,
FIELD_PREP       1884 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A6_CRY_MD_CIPHER_LEN,
FIELD_PREP       1889 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A7_CRY_MD_OPER,
FIELD_PREP       1891 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->cipher_md |= FIELD_PREP(A7_CRY_MD_CIPHER_LEN,
FIELD_PREP       2293 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, oper);
FIELD_PREP       2295 drivers/crypto/axis/artpec6_crypto.c 		req_ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, oper);
FIELD_PREP       2484 drivers/crypto/axis/artpec6_crypto.c 		ctx->hash_md = FIELD_PREP(A6_CRY_MD_OPER, state->oper);
FIELD_PREP       2486 drivers/crypto/axis/artpec6_crypto.c 		ctx->hash_md = FIELD_PREP(A7_CRY_MD_OPER, state->oper);
FIELD_PREP       2529 drivers/crypto/axis/artpec6_crypto.c 	in = FIELD_PREP(PDMA_IN_BUF_CFG_DATA_BUF_SIZE, in_data_buf_size) |
FIELD_PREP       2530 drivers/crypto/axis/artpec6_crypto.c 	     FIELD_PREP(PDMA_IN_BUF_CFG_DESCR_BUF_SIZE, in_descr_buf_size) |
FIELD_PREP       2531 drivers/crypto/axis/artpec6_crypto.c 	     FIELD_PREP(PDMA_IN_BUF_CFG_STAT_BUF_SIZE, in_stat_buf_size);
FIELD_PREP       2533 drivers/crypto/axis/artpec6_crypto.c 	out = FIELD_PREP(PDMA_OUT_BUF_CFG_DATA_BUF_SIZE, out_data_buf_size) |
FIELD_PREP       2534 drivers/crypto/axis/artpec6_crypto.c 	      FIELD_PREP(PDMA_OUT_BUF_CFG_DESCR_BUF_SIZE, out_descr_buf_size);
FIELD_PREP        226 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1);
FIELD_PREP        244 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[5] |= FIELD_PREP(WORD5_DIN_ADDR_HIGH, ((u16)(addr >> 32)));
FIELD_PREP        246 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_DIN_DMA_MODE, dma_mode) |
FIELD_PREP        247 drivers/crypto/ccree/cc_hw_queue_defs.h 				FIELD_PREP(WORD1_DIN_SIZE, size) |
FIELD_PREP        248 drivers/crypto/ccree/cc_hw_queue_defs.h 				FIELD_PREP(WORD1_NS_BIT, axi_sec);
FIELD_PREP        262 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size);
FIELD_PREP        278 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, CC_CPP_DIN_SIZE);
FIELD_PREP        279 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_LOCK_QUEUE, 1);
FIELD_PREP        281 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_SETUP_OPERATION, slot);
FIELD_PREP        297 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size) |
FIELD_PREP        298 drivers/crypto/ccree/cc_hw_queue_defs.h 				FIELD_PREP(WORD1_DIN_DMA_MODE, DMA_SRAM);
FIELD_PREP        311 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_DIN_CONST_VALUE, 1) |
FIELD_PREP        312 drivers/crypto/ccree/cc_hw_queue_defs.h 			FIELD_PREP(WORD1_DIN_DMA_MODE, DMA_SRAM) |
FIELD_PREP        313 drivers/crypto/ccree/cc_hw_queue_defs.h 			FIELD_PREP(WORD1_DIN_SIZE, size);
FIELD_PREP        323 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[1] |= FIELD_PREP(WORD1_NOT_LAST, 1);
FIELD_PREP        341 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[5] |= FIELD_PREP(WORD5_DOUT_ADDR_HIGH, ((u16)(addr >> 32)));
FIELD_PREP        343 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, dma_mode) |
FIELD_PREP        344 drivers/crypto/ccree/cc_hw_queue_defs.h 				FIELD_PREP(WORD3_DOUT_SIZE, size) |
FIELD_PREP        345 drivers/crypto/ccree/cc_hw_queue_defs.h 				FIELD_PREP(WORD3_NS_BIT, axi_sec);
FIELD_PREP        363 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_LAST_IND, last_ind);
FIELD_PREP        381 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_LAST_IND, last_ind);
FIELD_PREP        397 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_SIZE, size) |
FIELD_PREP        398 drivers/crypto/ccree/cc_hw_queue_defs.h 			FIELD_PREP(WORD3_DOUT_LAST_IND, write_enable);
FIELD_PREP        419 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_HASH_XOR_BIT, 1);
FIELD_PREP        430 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_AES_SEL_N_HASH, 1);
FIELD_PREP        440 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_AES_XOR_CRYPTO_KEY, 1);
FIELD_PREP        455 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, DMA_SRAM) |
FIELD_PREP        456 drivers/crypto/ccree/cc_hw_queue_defs.h 			FIELD_PREP(WORD3_DOUT_SIZE, size);
FIELD_PREP        490 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_DATA_FLOW_MODE, mode);
FIELD_PREP        501 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_MODE, mode);
FIELD_PREP        528 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_CONF0, mode);
FIELD_PREP        540 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_CONF1, config);
FIELD_PREP        552 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_DO,
FIELD_PREP        554 drivers/crypto/ccree/cc_hw_queue_defs.h 			FIELD_PREP(WORD4_CIPHER_CONF2,
FIELD_PREP        566 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_BYTES_SWAP, config);
FIELD_PREP        576 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CMAC_SIZE0, 1);
FIELD_PREP        587 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_KEY_SIZE, size);
FIELD_PREP        621 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_SETUP_OPERATION, mode);
FIELD_PREP        633 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_DO,
FIELD_PREP         49 drivers/crypto/ccree/cc_lli_defs.h 	lli_p[LLI_WORD1_OFFSET] |= FIELD_PREP(LLI_HADDR_MASK, (addr >> 32));
FIELD_PREP         56 drivers/crypto/ccree/cc_lli_defs.h 	lli_p[LLI_WORD1_OFFSET] |= FIELD_PREP(LLI_SIZE_MASK, size);
FIELD_PREP         21 drivers/crypto/hisilicon/qm.h 					FIELD_PREP(AXUSER_CMD_TYPE,	\
FIELD_PREP         84 drivers/crypto/hisilicon/zip/zip_crypto.c 	val |= FIELD_PREP(HZIP_BUF_TYPE_M, buf_type);
FIELD_PREP        100 drivers/crypto/hisilicon/zip/zip_crypto.c 	sqe->dw7 = FIELD_PREP(HZIP_IN_SGE_DATA_OFFSET_M, sskip);
FIELD_PREP        101 drivers/crypto/hisilicon/zip/zip_crypto.c 	sqe->dw8 = FIELD_PREP(HZIP_OUT_SGE_DATA_OFFSET_M, dskip);
FIELD_PREP        102 drivers/crypto/hisilicon/zip/zip_crypto.c 	sqe->dw9 = FIELD_PREP(HZIP_REQ_TYPE_M, req_type);
FIELD_PREP        328 drivers/crypto/hisilicon/zip/zip_main.c 	       CQC_CACHE_WB_ENABLE | FIELD_PREP(SQC_CACHE_WB_THRD, 1) |
FIELD_PREP        329 drivers/crypto/hisilicon/zip/zip_main.c 	       FIELD_PREP(CQC_CACHE_WB_THRD, 1), base + QM_CACHE_CTL);
FIELD_PREP         77 drivers/dma/dw-edma/dw-edma-v0-core.c 		viewport_sel = FIELD_PREP(EDMA_V0_VIEWPORT_MASK, ch);
FIELD_PREP        102 drivers/dma/dw-edma/dw-edma-v0-core.c 		viewport_sel = FIELD_PREP(EDMA_V0_VIEWPORT_MASK, ch);
FIELD_PREP        171 drivers/dma/dw-edma/dw-edma-v0-core.c 	       FIELD_PREP(EDMA_V0_DONE_INT_MASK, BIT(chan->id)));
FIELD_PREP        179 drivers/dma/dw-edma/dw-edma-v0-core.c 	       FIELD_PREP(EDMA_V0_ABORT_INT_MASK, BIT(chan->id)));
FIELD_PREP        249 drivers/dma/dw-edma/dw-edma-v0-core.c 		tmp &= ~FIELD_PREP(EDMA_V0_DONE_INT_MASK, BIT(chan->id));
FIELD_PREP        250 drivers/dma/dw-edma/dw-edma-v0-core.c 		tmp &= ~FIELD_PREP(EDMA_V0_ABORT_INT_MASK, BIT(chan->id));
FIELD_PREP        254 drivers/dma/dw-edma/dw-edma-v0-core.c 		tmp |= FIELD_PREP(EDMA_V0_LINKED_LIST_ERR_MASK, BIT(chan->id));
FIELD_PREP        267 drivers/dma/dw-edma/dw-edma-v0-core.c 	       FIELD_PREP(EDMA_V0_DOORBELL_CH_MASK, chan->id));
FIELD_PREP        307 drivers/dma/dw-edma/dw-edma-v0-core.c 		tmp |= FIELD_PREP(EDMA_V0_CH_ODD_MSI_DATA_MASK,
FIELD_PREP        312 drivers/dma/dw-edma/dw-edma-v0-core.c 		tmp |= FIELD_PREP(EDMA_V0_CH_EVEN_MSI_DATA_MASK,
FIELD_PREP         81 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 		viewport_sel |= FIELD_PREP(EDMA_V0_VIEWPORT_MASK, ch);
FIELD_PREP        760 drivers/edac/thunderx_edac.c 	l2c_ioaddr = ioremap(L2C_CTL | FIELD_PREP(THUNDERX_NODE, lmc->node), PAGE_SIZE);
FIELD_PREP        218 drivers/firmware/arm_scmi/driver.c 	return FIELD_PREP(MSG_ID_MASK, hdr->id) |
FIELD_PREP        219 drivers/firmware/arm_scmi/driver.c 		FIELD_PREP(MSG_TOKEN_ID_MASK, hdr->seq) |
FIELD_PREP        220 drivers/firmware/arm_scmi/driver.c 		FIELD_PREP(MSG_PROTOCOL_ID_MASK, hdr->protocol_id);
FIELD_PREP         43 drivers/firmware/arm_scpi.c 	(FIELD_PREP(CMD_ID_MASK, cmd_id) |	\
FIELD_PREP         44 drivers/firmware/arm_scpi.c 	FIELD_PREP(CMD_DATA_SIZE_MASK, tx_sz))
FIELD_PREP         46 drivers/firmware/arm_scpi.c 	(FIELD_PREP(CMD_ID_MASK, cmd_id) |	\
FIELD_PREP         47 drivers/firmware/arm_scpi.c 	FIELD_PREP(CMD_LEGACY_DATA_SIZE_MASK, tx_sz))
FIELD_PREP        438 drivers/firmware/arm_scpi.c 		t->cmd |= FIELD_PREP(CMD_TOKEN_ID_MASK, ch->token);
FIELD_PREP        181 drivers/fpga/dfl-afu-main.c 	v |= FIELD_PREP(PORT_CTRL_LATENCY, ltr ? 1 : 0);
FIELD_PREP        192 drivers/fpga/dfl-fme-error.c 	v |= FIELD_PREP(INJECT_ERROR_MASK, inject_error);
FIELD_PREP        159 drivers/fpga/dfl-fme-mgr.c 	pr_ctrl |= FIELD_PREP(FME_PR_CTRL_PR_RGN_ID, info->region_id);
FIELD_PREP        209 drivers/fpga/dfl-fme-mgr.c 		pr_data |= FIELD_PREP(FME_PR_DATA_PR_DATA_RAW,
FIELD_PREP       1162 drivers/fpga/dfl.c 	v |= FIELD_PREP(FME_PORT_OFST_ACC_CTRL,
FIELD_PREP        492 drivers/gpio/sgpio-aspeed.c 	iowrite32(FIELD_PREP(ASPEED_SGPIO_CLK_DIV_MASK, sgpio_clk_div) |
FIELD_PREP        493 drivers/gpio/sgpio-aspeed.c 		  FIELD_PREP(ASPEED_SGPIO_PINS_MASK, (nr_gpios / 8)) |
FIELD_PREP        334 drivers/gpu/drm/bridge/tc358767.c 		auxcfg0 |= FIELD_PREP(DP0_AUXCFG0_BSIZE, size - 1);
FIELD_PREP        761 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(VSDELAY, 0) |
FIELD_PREP        767 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(HBPR, ALIGN(left_margin, 2)) |
FIELD_PREP        768 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(HPW, ALIGN(hsync_len, 2)));
FIELD_PREP        773 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(HDISPR, ALIGN(mode->hdisplay, 2)) |
FIELD_PREP        774 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(HFPR, ALIGN(right_margin, 2)));
FIELD_PREP        779 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(VBPR, upper_margin) |
FIELD_PREP        780 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(VSPR, vsync_len));
FIELD_PREP        785 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(VFPR, lower_margin) |
FIELD_PREP        786 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(VDISPR, mode->vdisplay));
FIELD_PREP        796 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(COLOR_R, 120) |
FIELD_PREP        797 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(COLOR_G, 20) |
FIELD_PREP        798 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(COLOR_B, 99) |
FIELD_PREP        800 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(COLOR_BAR_MODE, COLOR_BAR_MODE_BARS));
FIELD_PREP        807 drivers/gpu/drm/bridge/tc358767.c 		 FIELD_PREP(THRESH_DLY, max_tu_symbol) |
FIELD_PREP        808 drivers/gpu/drm/bridge/tc358767.c 		 FIELD_PREP(VID_SYNC_DLY, vid_sync_dly));
FIELD_PREP        811 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(H_TOTAL, mode->htotal) |
FIELD_PREP        812 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(V_TOTAL, mode->vtotal));
FIELD_PREP        817 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(H_START, left_margin + hsync_len) |
FIELD_PREP        818 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(V_START, upper_margin + vsync_len));
FIELD_PREP        823 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(V_ACT, mode->vdisplay) |
FIELD_PREP        824 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(H_ACT, mode->hdisplay));
FIELD_PREP        828 drivers/gpu/drm/bridge/tc358767.c 	dp0_syncval = FIELD_PREP(VS_WIDTH, vsync_len) |
FIELD_PREP        829 drivers/gpu/drm/bridge/tc358767.c 		      FIELD_PREP(HS_WIDTH, hsync_len);
FIELD_PREP        849 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(MAX_TU_SYMBOL, max_tu_symbol) |
FIELD_PREP        850 drivers/gpu/drm/bridge/tc358767.c 			   FIELD_PREP(TU_SIZE, TU_SIZE_RECOMMENDED) |
FIELD_PREP         89 drivers/gpu/drm/meson/meson_crtc.c 	writel(FIELD_PREP(GENMASK(11, 0), 2303),
FIELD_PREP        129 drivers/gpu/drm/meson/meson_crtc.c 	writel(FIELD_PREP(GENMASK(11, 0), 2303),
FIELD_PREP         27 drivers/gpu/drm/meson/meson_overlay.c #define VD_HOLD_LINES(lines)		FIELD_PREP(GENMASK(24, 19), lines)
FIELD_PREP         29 drivers/gpu/drm/meson/meson_overlay.c #define VD_BYTES_PER_PIXEL(val)		FIELD_PREP(GENMASK(15, 14), val)
FIELD_PREP         36 drivers/gpu/drm/meson/meson_overlay.c #define CANVAS_ADDR2(addr)		FIELD_PREP(GENMASK(23, 16), addr)
FIELD_PREP         37 drivers/gpu/drm/meson/meson_overlay.c #define CANVAS_ADDR1(addr)		FIELD_PREP(GENMASK(15, 8), addr)
FIELD_PREP         38 drivers/gpu/drm/meson/meson_overlay.c #define CANVAS_ADDR0(addr)		FIELD_PREP(GENMASK(7, 0), addr)
FIELD_PREP         41 drivers/gpu/drm/meson/meson_overlay.c #define VD_X_START(value)		FIELD_PREP(GENMASK(14, 0), value)
FIELD_PREP         42 drivers/gpu/drm/meson/meson_overlay.c #define VD_X_END(value)			FIELD_PREP(GENMASK(30, 16), value)
FIELD_PREP         45 drivers/gpu/drm/meson/meson_overlay.c #define VD_Y_START(value)		FIELD_PREP(GENMASK(12, 0), value)
FIELD_PREP         46 drivers/gpu/drm/meson/meson_overlay.c #define VD_Y_END(value)			FIELD_PREP(GENMASK(28, 16), value)
FIELD_PREP         49 drivers/gpu/drm/meson/meson_overlay.c #define VD_COLOR_MAP(value)		FIELD_PREP(GENMASK(1, 0), value)
FIELD_PREP         52 drivers/gpu/drm/meson/meson_overlay.c #define VD_HORZ_Y_C_RATIO(value)	FIELD_PREP(GENMASK(22, 21), value)
FIELD_PREP         55 drivers/gpu/drm/meson/meson_overlay.c #define VD_VERT_INITIAL_PHASE(value)	FIELD_PREP(GENMASK(11, 8), value)
FIELD_PREP         56 drivers/gpu/drm/meson/meson_overlay.c #define VD_VERT_PHASE_STEP(value)	FIELD_PREP(GENMASK(7, 1), value)
FIELD_PREP         60 drivers/gpu/drm/meson/meson_overlay.c #define VD_H_END(value)			FIELD_PREP(GENMASK(11, 0), value)
FIELD_PREP         61 drivers/gpu/drm/meson/meson_overlay.c #define VD_H_START(value)		FIELD_PREP(GENMASK(27, 16), value)
FIELD_PREP         64 drivers/gpu/drm/meson/meson_overlay.c #define VD_V_END(value)			FIELD_PREP(GENMASK(11, 0), value)
FIELD_PREP         65 drivers/gpu/drm/meson/meson_overlay.c #define VD_V_START(value)		FIELD_PREP(GENMASK(27, 16), value)
FIELD_PREP         68 drivers/gpu/drm/meson/meson_overlay.c #define VD2_V_END(value)		FIELD_PREP(GENMASK(11, 0), value)
FIELD_PREP         69 drivers/gpu/drm/meson/meson_overlay.c #define VD2_V_START(value)		FIELD_PREP(GENMASK(27, 16), value)
FIELD_PREP         72 drivers/gpu/drm/meson/meson_overlay.c #define VD_V_WIDTH(value)		FIELD_PREP(GENMASK(11, 0), value)
FIELD_PREP         73 drivers/gpu/drm/meson/meson_overlay.c #define VD_H_WIDTH(value)		FIELD_PREP(GENMASK(27, 16), value)
FIELD_PREP         76 drivers/gpu/drm/meson/meson_overlay.c #define VD_REGION24_START(value)	FIELD_PREP(GENMASK(11, 0), value)
FIELD_PREP         77 drivers/gpu/drm/meson/meson_overlay.c #define VD_REGION13_END(value)		FIELD_PREP(GENMASK(27, 16), value)
FIELD_PREP         28 drivers/gpu/drm/meson/meson_plane.c #define SCI_WH_M1_W(w)			FIELD_PREP(GENMASK(28, 16), w)
FIELD_PREP         29 drivers/gpu/drm/meson/meson_plane.c #define SCI_WH_M1_H(h)			FIELD_PREP(GENMASK(12, 0), h)
FIELD_PREP         33 drivers/gpu/drm/meson/meson_plane.c #define SCO_HV_START(start)		FIELD_PREP(GENMASK(27, 16), start)
FIELD_PREP         34 drivers/gpu/drm/meson/meson_plane.c #define SCO_HV_END(end)			FIELD_PREP(GENMASK(11, 0), end)
FIELD_PREP         41 drivers/gpu/drm/meson/meson_plane.c #define VSC_BANK_LEN(value)		FIELD_PREP(GENMASK(2, 0), value)
FIELD_PREP         42 drivers/gpu/drm/meson/meson_plane.c #define VSC_TOP_INI_RCV_NUM(value)	FIELD_PREP(GENMASK(6, 3), value)
FIELD_PREP         43 drivers/gpu/drm/meson/meson_plane.c #define VSC_TOP_RPT_L0_NUM(value)	FIELD_PREP(GENMASK(9, 8), value)
FIELD_PREP         44 drivers/gpu/drm/meson/meson_plane.c #define VSC_BOT_INI_RCV_NUM(value)	FIELD_PREP(GENMASK(14, 11), value)
FIELD_PREP         45 drivers/gpu/drm/meson/meson_plane.c #define VSC_BOT_RPT_L0_NUM(value)	FIELD_PREP(GENMASK(17, 16), value)
FIELD_PREP         50 drivers/gpu/drm/meson/meson_plane.c #define VSC_INI_PHASE_BOT(bottom)	FIELD_PREP(GENMASK(31, 16), bottom)
FIELD_PREP         51 drivers/gpu/drm/meson/meson_plane.c #define VSC_INI_PHASE_TOP(top)		FIELD_PREP(GENMASK(15, 0), top)
FIELD_PREP         54 drivers/gpu/drm/meson/meson_plane.c #define HSC_BANK_LENGTH(value)		FIELD_PREP(GENMASK(2, 0), value)
FIELD_PREP         55 drivers/gpu/drm/meson/meson_plane.c #define HSC_INI_RCV_NUM0(value)		FIELD_PREP(GENMASK(6, 3), value)
FIELD_PREP         56 drivers/gpu/drm/meson/meson_plane.c #define HSC_RPT_P0_NUM0(value)		FIELD_PREP(GENMASK(9, 8), value)
FIELD_PREP         61 drivers/gpu/drm/meson/meson_plane.c #define SC_PHASE_STEP(value)		FIELD_PREP(GENMASK(27, 0), value)
FIELD_PREP         48 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	val |= FIELD_PREP(TCON_TOP_HDMI_SRC_MSK, tcon - 1);
FIELD_PREP         83 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 		reg |= FIELD_PREP(TCON_TOP_PORT_DE0_MSK, tcon);
FIELD_PREP         86 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 		reg |= FIELD_PREP(TCON_TOP_PORT_DE1_MSK, tcon);
FIELD_PREP        197 drivers/i2c/busses/i2c-fsi.c 	mode |= FIELD_PREP(I2C_MODE_CLKDIV, I2C_DEFAULT_CLK_DIV);
FIELD_PREP        207 drivers/i2c/busses/i2c-fsi.c 	watermark = FIELD_PREP(I2C_WATERMARK_HI,
FIELD_PREP        209 drivers/i2c/busses/i2c-fsi.c 	watermark |= FIELD_PREP(I2C_WATERMARK_LO, I2C_FIFO_LO_LVL);
FIELD_PREP        227 drivers/i2c/busses/i2c-fsi.c 	mode = (mode & ~I2C_MODE_PORT) | FIELD_PREP(I2C_MODE_PORT, port->port);
FIELD_PREP        250 drivers/i2c/busses/i2c-fsi.c 	cmd |= FIELD_PREP(I2C_CMD_ADDR, msg->addr);
FIELD_PREP        251 drivers/i2c/busses/i2c-fsi.c 	cmd |= FIELD_PREP(I2C_CMD_LEN, msg->len);
FIELD_PREP        460 drivers/i2c/busses/i2c-fsi.c 		mode |= FIELD_PREP(I2C_MODE_PORT, port);
FIELD_PREP         43 drivers/iio/adc/ad7124.c #define AD7124_ADC_CTRL_REF_EN(x)	FIELD_PREP(AD7124_ADC_CTRL_REF_EN_MSK, x)
FIELD_PREP         45 drivers/iio/adc/ad7124.c #define AD7124_ADC_CTRL_PWR(x)		FIELD_PREP(AD7124_ADC_CTRL_PWR_MSK, x)
FIELD_PREP         47 drivers/iio/adc/ad7124.c #define AD7124_ADC_CTRL_MODE(x)	FIELD_PREP(AD7124_ADC_CTRL_MODE_MSK, x)
FIELD_PREP         51 drivers/iio/adc/ad7124.c #define AD7124_CHANNEL_EN(x)		FIELD_PREP(AD7124_CHANNEL_EN_MSK, x)
FIELD_PREP         53 drivers/iio/adc/ad7124.c #define AD7124_CHANNEL_SETUP(x)	FIELD_PREP(AD7124_CHANNEL_SETUP_MSK, x)
FIELD_PREP         55 drivers/iio/adc/ad7124.c #define AD7124_CHANNEL_AINP(x)		FIELD_PREP(AD7124_CHANNEL_AINP_MSK, x)
FIELD_PREP         57 drivers/iio/adc/ad7124.c #define AD7124_CHANNEL_AINM(x)		FIELD_PREP(AD7124_CHANNEL_AINM_MSK, x)
FIELD_PREP         61 drivers/iio/adc/ad7124.c #define AD7124_CONFIG_BIPOLAR(x)	FIELD_PREP(AD7124_CONFIG_BIPOLAR_MSK, x)
FIELD_PREP         63 drivers/iio/adc/ad7124.c #define AD7124_CONFIG_REF_SEL(x)	FIELD_PREP(AD7124_CONFIG_REF_SEL_MSK, x)
FIELD_PREP         65 drivers/iio/adc/ad7124.c #define AD7124_CONFIG_PGA(x)		FIELD_PREP(AD7124_CONFIG_PGA_MSK, x)
FIELD_PREP         67 drivers/iio/adc/ad7124.c #define AD7124_CONFIG_IN_BUFF(x)	FIELD_PREP(AD7124_CONFIG_IN_BUFF_MSK, x)
FIELD_PREP         71 drivers/iio/adc/ad7124.c #define AD7124_FILTER_FS(x)		FIELD_PREP(AD7124_FILTER_FS_MSK, x)
FIELD_PREP         65 drivers/iio/adc/ad7768-1.c #define AD7768_PWR_MCLK_DIV(x)		FIELD_PREP(AD7768_PWR_MCLK_DIV_MSK, x)
FIELD_PREP         67 drivers/iio/adc/ad7768-1.c #define AD7768_PWR_PWRMODE(x)		FIELD_PREP(AD7768_PWR_PWRMODE_MSK, x)
FIELD_PREP         71 drivers/iio/adc/ad7768-1.c #define AD7768_DIG_FIL_FIL(x)		FIELD_PREP(AD7768_DIG_FIL_FIL_MSK, x)
FIELD_PREP         73 drivers/iio/adc/ad7768-1.c #define AD7768_DIG_FIL_DEC_RATE(x)	FIELD_PREP(AD7768_DIG_FIL_DEC_MSK, x)
FIELD_PREP         77 drivers/iio/adc/ad7768-1.c #define AD7768_CONV_MODE(x)		FIELD_PREP(AD7768_CONV_MODE_MSK, x)
FIELD_PREP        406 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_CHAN_LIST_MAX_INDEX_MASK, 0);
FIELD_PREP        411 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_CHAN_LIST_ENTRY_MASK(0),
FIELD_PREP        416 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_DETECT_IDLE_SW_DETECT_MUX_MASK,
FIELD_PREP        422 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_DETECT_IDLE_SW_IDLE_MUX_SEL_MASK,
FIELD_PREP        446 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_REG3_CTRL_CHAN7_MUX_SEL_MASK, sel);
FIELD_PREP        813 drivers/iio/adc/meson_saradc.c 			   FIELD_PREP(MESON_SAR_ADC_DELAY_SAMPLE_DLY_CNT_MASK,
FIELD_PREP        817 drivers/iio/adc/meson_saradc.c 			   FIELD_PREP(MESON_SAR_ADC_DELAY_SAMPLE_DLY_SEL_MASK,
FIELD_PREP        823 drivers/iio/adc/meson_saradc.c 			   FIELD_PREP(MESON_SAR_ADC_DELAY_INPUT_DLY_CNT_MASK,
FIELD_PREP        827 drivers/iio/adc/meson_saradc.c 			   FIELD_PREP(MESON_SAR_ADC_DELAY_INPUT_DLY_SEL_MASK,
FIELD_PREP        834 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_CHAN_10_SW_CHAN0_MUX_SEL_MASK, 0);
FIELD_PREP        838 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_CHAN_10_SW_CHAN1_MUX_SEL_MASK, 1);
FIELD_PREP        868 drivers/iio/adc/meson_saradc.c 		regval = FIELD_PREP(MESON_SAR_ADC_DELTA_10_TS_C_MASK,
FIELD_PREP        950 drivers/iio/adc/meson_saradc.c 	regval = FIELD_PREP(MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK, 1);
FIELD_PREP         48 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_SITP(v)       FIELD_PREP(DFSDM_CHCFGR1_SITP_MASK, v)
FIELD_PREP         50 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_SPICKSEL(v)   FIELD_PREP(DFSDM_CHCFGR1_SPICKSEL_MASK, v)
FIELD_PREP         52 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_SCDEN(v)      FIELD_PREP(DFSDM_CHCFGR1_SCDEN_MASK, v)
FIELD_PREP         54 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_CKABEN(v)     FIELD_PREP(DFSDM_CHCFGR1_CKABEN_MASK, v)
FIELD_PREP         56 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_CHEN(v)       FIELD_PREP(DFSDM_CHCFGR1_CHEN_MASK, v)
FIELD_PREP         58 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_CHINSEL(v)    FIELD_PREP(DFSDM_CHCFGR1_CHINSEL_MASK, v)
FIELD_PREP         60 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_DATMPX(v)     FIELD_PREP(DFSDM_CHCFGR1_DATMPX_MASK, v)
FIELD_PREP         62 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_DATPACK(v)    FIELD_PREP(DFSDM_CHCFGR1_DATPACK_MASK, v)
FIELD_PREP         64 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_CKOUTDIV(v)   FIELD_PREP(DFSDM_CHCFGR1_CKOUTDIV_MASK, v)
FIELD_PREP         66 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_CKOUTSRC(v)   FIELD_PREP(DFSDM_CHCFGR1_CKOUTSRC_MASK, v)
FIELD_PREP         68 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR1_DFSDMEN(v)    FIELD_PREP(DFSDM_CHCFGR1_DFSDMEN_MASK, v)
FIELD_PREP         72 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR2_DTRBS(v)      FIELD_PREP(DFSDM_CHCFGR2_DTRBS_MASK, v)
FIELD_PREP         74 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CHCFGR2_OFFSET(v)     FIELD_PREP(DFSDM_CHCFGR2_OFFSET_MASK, v)
FIELD_PREP         78 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSCDR_SCDT(v)      FIELD_PREP(DFSDM_AWSCDR_SCDT_MASK, v)
FIELD_PREP         80 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSCDR_BKSCD(v)	  FIELD_PREP(DFSDM_AWSCDR_BKSCD_MASK, v)
FIELD_PREP         82 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSCDR_AWFOSR(v)    FIELD_PREP(DFSDM_AWSCDR_AWFOSR_MASK, v)
FIELD_PREP         84 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSCDR_AWFORD(v)    FIELD_PREP(DFSDM_AWSCDR_AWFORD_MASK, v)
FIELD_PREP        111 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_DFEN(v)	FIELD_PREP(DFSDM_CR1_DFEN_MASK, v)
FIELD_PREP        113 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JSWSTART(v)	FIELD_PREP(DFSDM_CR1_JSWSTART_MASK, v)
FIELD_PREP        115 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JSYNC(v)	FIELD_PREP(DFSDM_CR1_JSYNC_MASK, v)
FIELD_PREP        117 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JSCAN(v)	FIELD_PREP(DFSDM_CR1_JSCAN_MASK, v)
FIELD_PREP        119 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JDMAEN(v)	FIELD_PREP(DFSDM_CR1_JDMAEN_MASK, v)
FIELD_PREP        121 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JEXTSEL(v)	FIELD_PREP(DFSDM_CR1_JEXTSEL_MASK, v)
FIELD_PREP        123 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_JEXTEN(v)	FIELD_PREP(DFSDM_CR1_JEXTEN_MASK, v)
FIELD_PREP        125 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_RSWSTART(v)	FIELD_PREP(DFSDM_CR1_RSWSTART_MASK, v)
FIELD_PREP        127 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_RCONT(v)	FIELD_PREP(DFSDM_CR1_RCONT_MASK, v)
FIELD_PREP        129 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_RSYNC(v)	FIELD_PREP(DFSDM_CR1_RSYNC_MASK, v)
FIELD_PREP        131 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_RDMAEN(v)	FIELD_PREP(DFSDM_CR1_RDMAEN_MASK, v)
FIELD_PREP        133 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_RCH(v)	FIELD_PREP(DFSDM_CR1_RCH_MASK, v)
FIELD_PREP        135 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_FAST(v)	FIELD_PREP(DFSDM_CR1_FAST_MASK, v)
FIELD_PREP        137 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR1_AWFSEL(v)	FIELD_PREP(DFSDM_CR1_AWFSEL_MASK, v)
FIELD_PREP        141 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_IE(v)		FIELD_PREP(DFSDM_CR2_IE_MASK, v)
FIELD_PREP        143 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_JEOCIE(v)	FIELD_PREP(DFSDM_CR2_JEOCIE_MASK, v)
FIELD_PREP        145 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_REOCIE(v)	FIELD_PREP(DFSDM_CR2_REOCIE_MASK, v)
FIELD_PREP        147 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_JOVRIE(v)	FIELD_PREP(DFSDM_CR2_JOVRIE_MASK, v)
FIELD_PREP        149 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_ROVRIE(v)	FIELD_PREP(DFSDM_CR2_ROVRIE_MASK, v)
FIELD_PREP        151 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_AWDIE(v)	FIELD_PREP(DFSDM_CR2_AWDIE_MASK, v)
FIELD_PREP        153 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_SCDIE(v)	FIELD_PREP(DFSDM_CR2_SCDIE_MASK, v)
FIELD_PREP        155 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_CKABIE(v)	FIELD_PREP(DFSDM_CR2_CKABIE_MASK, v)
FIELD_PREP        157 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_EXCH(v)	FIELD_PREP(DFSDM_CR2_EXCH_MASK, v)
FIELD_PREP        159 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_CR2_AWDCH(v)	FIELD_PREP(DFSDM_CR2_AWDCH_MASK, v)
FIELD_PREP        163 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_JEOCF(v)	FIELD_PREP(DFSDM_ISR_JEOCF_MASK, v)
FIELD_PREP        165 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_REOCF(v)	FIELD_PREP(DFSDM_ISR_REOCF_MASK, v)
FIELD_PREP        167 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_JOVRF(v)	FIELD_PREP(DFSDM_ISR_JOVRF_MASK, v)
FIELD_PREP        169 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_ROVRF(v)	FIELD_PREP(DFSDM_ISR_ROVRF_MASK, v)
FIELD_PREP        171 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_AWDF(v)	FIELD_PREP(DFSDM_ISR_AWDF_MASK, v)
FIELD_PREP        173 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_JCIP(v)	FIELD_PREP(DFSDM_ISR_JCIP_MASK, v)
FIELD_PREP        175 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_RCIP(v)	FIELD_PREP(DFSDM_ISR_RCIP, v)
FIELD_PREP        177 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_CKABF(v)	FIELD_PREP(DFSDM_ISR_CKABF_MASK, v)
FIELD_PREP        179 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ISR_SCDF(v)	FIELD_PREP(DFSDM_ISR_SCDF_MASK, v)
FIELD_PREP        183 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ICR_CLRJOVRF(v)	      FIELD_PREP(DFSDM_ICR_CLRJOVRF_MASK, v)
FIELD_PREP        185 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ICR_CLRROVRF(v)	      FIELD_PREP(DFSDM_ICR_CLRROVRF_MASK, v)
FIELD_PREP        187 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ICR_CLRCKABF(v)	      FIELD_PREP(DFSDM_ICR_CLRCKABF_MASK, v)
FIELD_PREP        192 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_ICR_CLRSCDF(v)	      FIELD_PREP(DFSDM_ICR_CLRSCDF_MASK, v)
FIELD_PREP        199 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_FCR_IOSR(v)	FIELD_PREP(DFSDM_FCR_IOSR_MASK, v)
FIELD_PREP        201 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_FCR_FOSR(v)	FIELD_PREP(DFSDM_FCR_FOSR_MASK, v)
FIELD_PREP        203 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_FCR_FORD(v)	FIELD_PREP(DFSDM_FCR_FORD_MASK, v)
FIELD_PREP        212 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWLTR_BKAWL(v)	FIELD_PREP(DFSDM_AWLTR_BKAWL_MASK, v)
FIELD_PREP        214 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWLTR_AWLT(v)	FIELD_PREP(DFSDM_AWLTR_AWLT_MASK, v)
FIELD_PREP        218 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWHTR_BKAWH(v)	FIELD_PREP(DFSDM_AWHTR_BKAWH_MASK, v)
FIELD_PREP        220 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWHTR_AWHT(v)	FIELD_PREP(DFSDM_AWHTR_AWHT_MASK, v)
FIELD_PREP        224 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSR_AWLTF(v)	FIELD_PREP(DFSDM_AWSR_AWLTF_MASK, v)
FIELD_PREP        226 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWSR_AWHTF(v)	FIELD_PREP(DFSDM_AWSR_AWHTF_MASK, v)
FIELD_PREP        230 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWCFR_AWLTF(v)	FIELD_PREP(DFSDM_AWCFR_AWLTF_MASK, v)
FIELD_PREP        232 drivers/iio/adc/stm32-dfsdm.h #define DFSDM_AWCFR_AWHTF(v)	FIELD_PREP(DFSDM_AWCFR_AWHTF_MASK, v)
FIELD_PREP        533 drivers/iio/chemical/bme680_core.c 	osrs = FIELD_PREP(
FIELD_PREP        556 drivers/iio/chemical/bme680_core.c 	osrs = FIELD_PREP(BME680_OSRS_TEMP_MASK,
FIELD_PREP        558 drivers/iio/chemical/bme680_core.c 	       FIELD_PREP(BME680_OSRS_PRESS_MASK,
FIELD_PREP        596 drivers/iio/chemical/bme680_core.c 				 FIELD_PREP(BME680_RUN_GAS_MASK, 1) |
FIELD_PREP        597 drivers/iio/chemical/bme680_core.c 				 FIELD_PREP(BME680_NB_CONV_MASK, 0));
FIELD_PREP         25 drivers/iio/frequency/adf4371.c #define ADF4371_ADDR_ASC(x)		FIELD_PREP(ADF4371_ADDR_ASC_MSK, x)
FIELD_PREP         27 drivers/iio/frequency/adf4371.c #define ADF4371_ADDR_ASC_R(x)		FIELD_PREP(ADF4371_ADDR_ASC_R_MSK, x)
FIELD_PREP         32 drivers/iio/frequency/adf4371.c #define ADF4371_FRAC2WORD_L(x)		FIELD_PREP(ADF4371_FRAC2WORD_L_MSK, x)
FIELD_PREP         34 drivers/iio/frequency/adf4371.c #define ADF4371_FRAC1WORD(x)		FIELD_PREP(ADF4371_FRAC1WORD_MSK, x)
FIELD_PREP         38 drivers/iio/frequency/adf4371.c #define ADF4371_FRAC2WORD_H(x)		FIELD_PREP(ADF4371_FRAC2WORD_H_MSK, x)
FIELD_PREP         42 drivers/iio/frequency/adf4371.c #define ADF4371_MOD2WORD(x)		FIELD_PREP(ADF4371_MOD2WORD_MSK, x)
FIELD_PREP         46 drivers/iio/frequency/adf4371.c #define ADF4371_RF_DIV_SEL(x)		FIELD_PREP(ADF4371_RF_DIV_SEL_MSK, x)
FIELD_PREP         50 drivers/iio/frequency/adf4371.c #define ADF4371_MUTE_LD(x)		FIELD_PREP(ADF4371_MUTE_LD_MSK, x)
FIELD_PREP         54 drivers/iio/frequency/adf4371.c #define ADF4371_TIMEOUT(x)		FIELD_PREP(ADF4371_TIMEOUT_MSK, x)
FIELD_PREP         58 drivers/iio/frequency/adf4371.c #define ADF4371_VCO_ALC_TOUT(x)		FIELD_PREP(ADF4371_VCO_ALC_TOUT_MSK, x)
FIELD_PREP         45 drivers/iio/humidity/hts221_buffer.c 				  FIELD_PREP(HTS221_REG_DRDY_EN_MASK, state));
FIELD_PREP        104 drivers/iio/humidity/hts221_buffer.c 				 FIELD_PREP(HTS221_REG_DRDY_HL_MASK,
FIELD_PREP        118 drivers/iio/humidity/hts221_buffer.c 				 FIELD_PREP(HTS221_REG_DRDY_PP_OD_MASK,
FIELD_PREP        166 drivers/iio/humidity/hts221_core.c 				 FIELD_PREP(HTS221_ODR_MASK,
FIELD_PREP        256 drivers/iio/humidity/hts221_core.c 				 FIELD_PREP(HTS221_ENABLE_MASK, enable));
FIELD_PREP        592 drivers/iio/humidity/hts221_core.c 				 FIELD_PREP(HTS221_BDU_MASK, 1));
FIELD_PREP        651 drivers/iio/humidity/hts221_core.c 				  FIELD_PREP(HTS221_ENABLE_MASK, false));
FIELD_PREP        663 drivers/iio/humidity/hts221_core.c 					 FIELD_PREP(HTS221_ENABLE_MASK,
FIELD_PREP        117 drivers/iio/imu/adis16480.c #define ADIS16480_DRDY_SEL(x)		FIELD_PREP(ADIS16480_DRDY_SEL_MSK, x)
FIELD_PREP        119 drivers/iio/imu/adis16480.c #define ADIS16480_DRDY_POL(x)		FIELD_PREP(ADIS16480_DRDY_POL_MSK, x)
FIELD_PREP        121 drivers/iio/imu/adis16480.c #define ADIS16480_DRDY_EN(x)		FIELD_PREP(ADIS16480_DRDY_EN_MSK, x)
FIELD_PREP        123 drivers/iio/imu/adis16480.c #define ADIS16480_SYNC_SEL(x)		FIELD_PREP(ADIS16480_SYNC_SEL_MSK, x)
FIELD_PREP        125 drivers/iio/imu/adis16480.c #define ADIS16480_SYNC_EN(x)		FIELD_PREP(ADIS16480_SYNC_EN_MSK, x)
FIELD_PREP        127 drivers/iio/imu/adis16480.c #define ADIS16480_SYNC_MODE(x)		FIELD_PREP(ADIS16480_SYNC_MODE_MSK, x)
FIELD_PREP        187 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	data = FIELD_PREP(ST_LSM6DSX_FIFO_MODE_MASK, fifo_mode);
FIELD_PREP        227 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 					FIELD_PREP(ST_LSM6DSX_FIFO_ODR_MASK,
FIELD_PREP        730 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 				 FIELD_PREP(ST_LSM6DSX_REG_HLACTIVE_MASK,
FIELD_PREP        740 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 					 FIELD_PREP(ST_LSM6DSX_REG_PP_OD_MASK,
FIELD_PREP       1398 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 				 FIELD_PREP(ST_LSM6DSX_REG_RESET_MASK, 1));
FIELD_PREP       1407 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 				 FIELD_PREP(ST_LSM6DSX_REG_BOOT_MASK, 1));
FIELD_PREP       1416 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 				 FIELD_PREP(ST_LSM6DSX_REG_BDU_MASK, 1));
FIELD_PREP       1427 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 				 FIELD_PREP(ST_LSM6DSX_REG_FIFO_FTH_IRQ_MASK,
FIELD_PREP        296 drivers/iommu/arm-smmu-v3.c #define ARM_SMMU_TCR2CD(tcr, fld)	FIELD_PREP(CTXDESC_CD_0_TCR_##fld, \
FIELD_PREP        839 drivers/iommu/arm-smmu-v3.c 	cmd[0] |= FIELD_PREP(CMDQ_0_OP, ent->opcode);
FIELD_PREP        846 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_PREFETCH_0_SID, ent->prefetch.sid);
FIELD_PREP        847 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_PREFETCH_1_SIZE, ent->prefetch.size);
FIELD_PREP        851 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_CFGI_0_SID, ent->cfgi.sid);
FIELD_PREP        852 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_CFGI_1_LEAF, ent->cfgi.leaf);
FIELD_PREP        856 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_CFGI_1_RANGE, 31);
FIELD_PREP        859 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_VMID, ent->tlbi.vmid);
FIELD_PREP        860 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_ASID, ent->tlbi.asid);
FIELD_PREP        861 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_TLBI_1_LEAF, ent->tlbi.leaf);
FIELD_PREP        865 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_VMID, ent->tlbi.vmid);
FIELD_PREP        866 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_TLBI_1_LEAF, ent->tlbi.leaf);
FIELD_PREP        870 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_ASID, ent->tlbi.asid);
FIELD_PREP        873 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_VMID, ent->tlbi.vmid);
FIELD_PREP        876 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_0_SSV, ent->substream_valid);
FIELD_PREP        877 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_ATC_0_GLOBAL, ent->atc.global);
FIELD_PREP        878 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SSID, ent->atc.ssid);
FIELD_PREP        879 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SID, ent->atc.sid);
FIELD_PREP        880 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_ATC_1_SIZE, ent->atc.size);
FIELD_PREP        884 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_0_SSV, ent->substream_valid);
FIELD_PREP        885 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_PRI_0_SSID, ent->pri.ssid);
FIELD_PREP        886 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_PRI_0_SID, ent->pri.sid);
FIELD_PREP        887 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_PRI_1_GRPID, ent->pri.grpid);
FIELD_PREP        896 drivers/iommu/arm-smmu-v3.c 		cmd[1] |= FIELD_PREP(CMDQ_PRI_1_RESP, ent->pri.resp);
FIELD_PREP        900 drivers/iommu/arm-smmu-v3.c 			cmd[0] |= FIELD_PREP(CMDQ_SYNC_0_CS, CMDQ_SYNC_0_CS_IRQ);
FIELD_PREP        903 drivers/iommu/arm-smmu-v3.c 			cmd[0] |= FIELD_PREP(CMDQ_SYNC_0_CS, CMDQ_SYNC_0_CS_SEV);
FIELD_PREP        905 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_SYNC_0_MSH, ARM_SMMU_SH_ISH);
FIELD_PREP        906 drivers/iommu/arm-smmu-v3.c 		cmd[0] |= FIELD_PREP(CMDQ_SYNC_0_MSIATTR, ARM_SMMU_MEMATTR_OIWB);
FIELD_PREP       1478 drivers/iommu/arm-smmu-v3.c 	      CTXDESC_CD_0_AA64 | FIELD_PREP(CTXDESC_CD_0_ASID, cfg->cd.asid) |
FIELD_PREP       1499 drivers/iommu/arm-smmu-v3.c 	val |= FIELD_PREP(STRTAB_L1_DESC_SPAN, desc->span);
FIELD_PREP       1592 drivers/iommu/arm-smmu-v3.c 			val |= FIELD_PREP(STRTAB_STE_0_CFG, STRTAB_STE_0_CFG_ABORT);
FIELD_PREP       1594 drivers/iommu/arm-smmu-v3.c 			val |= FIELD_PREP(STRTAB_STE_0_CFG, STRTAB_STE_0_CFG_BYPASS);
FIELD_PREP       1597 drivers/iommu/arm-smmu-v3.c 		dst[1] = cpu_to_le64(FIELD_PREP(STRTAB_STE_1_SHCFG,
FIELD_PREP       1612 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_1_S1CIR, STRTAB_STE_1_S1C_CACHE_WBRA) |
FIELD_PREP       1613 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_1_S1COR, STRTAB_STE_1_S1C_CACHE_WBRA) |
FIELD_PREP       1614 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_1_S1CSH, ARM_SMMU_SH_ISH) |
FIELD_PREP       1615 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_1_STRW, STRTAB_STE_1_STRW_NSEL1));
FIELD_PREP       1622 drivers/iommu/arm-smmu-v3.c 			FIELD_PREP(STRTAB_STE_0_CFG, STRTAB_STE_0_CFG_S1_TRANS);
FIELD_PREP       1628 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_2_S2VMID, s2_cfg->vmid) |
FIELD_PREP       1629 drivers/iommu/arm-smmu-v3.c 			 FIELD_PREP(STRTAB_STE_2_VTCR, s2_cfg->vtcr) |
FIELD_PREP       1638 drivers/iommu/arm-smmu-v3.c 		val |= FIELD_PREP(STRTAB_STE_0_CFG, STRTAB_STE_0_CFG_S2_TRANS);
FIELD_PREP       1642 drivers/iommu/arm-smmu-v3.c 		dst[1] |= cpu_to_le64(FIELD_PREP(STRTAB_STE_1_EATS,
FIELD_PREP       2782 drivers/iommu/arm-smmu-v3.c 	q->q_base |= FIELD_PREP(Q_BASE_LOG2SIZE, q->llq.max_n_shift);
FIELD_PREP       2898 drivers/iommu/arm-smmu-v3.c 	reg  = FIELD_PREP(STRTAB_BASE_CFG_FMT, STRTAB_BASE_CFG_FMT_2LVL);
FIELD_PREP       2899 drivers/iommu/arm-smmu-v3.c 	reg |= FIELD_PREP(STRTAB_BASE_CFG_LOG2SIZE, size);
FIELD_PREP       2900 drivers/iommu/arm-smmu-v3.c 	reg |= FIELD_PREP(STRTAB_BASE_CFG_SPLIT, STRTAB_SPLIT);
FIELD_PREP       2926 drivers/iommu/arm-smmu-v3.c 	reg  = FIELD_PREP(STRTAB_BASE_CFG_FMT, STRTAB_BASE_CFG_FMT_LINEAR);
FIELD_PREP       2927 drivers/iommu/arm-smmu-v3.c 	reg |= FIELD_PREP(STRTAB_BASE_CFG_LOG2SIZE, smmu->sid_bits);
FIELD_PREP       3188 drivers/iommu/arm-smmu-v3.c 	reg = FIELD_PREP(CR1_TABLE_SH, ARM_SMMU_SH_ISH) |
FIELD_PREP       3189 drivers/iommu/arm-smmu-v3.c 	      FIELD_PREP(CR1_TABLE_OC, CR1_CACHE_WB) |
FIELD_PREP       3190 drivers/iommu/arm-smmu-v3.c 	      FIELD_PREP(CR1_TABLE_IC, CR1_CACHE_WB) |
FIELD_PREP       3191 drivers/iommu/arm-smmu-v3.c 	      FIELD_PREP(CR1_QUEUE_SH, ARM_SMMU_SH_ISH) |
FIELD_PREP       3192 drivers/iommu/arm-smmu-v3.c 	      FIELD_PREP(CR1_QUEUE_OC, CR1_CACHE_WB) |
FIELD_PREP       3193 drivers/iommu/arm-smmu-v3.c 	      FIELD_PREP(CR1_QUEUE_IC, CR1_CACHE_WB);
FIELD_PREP        510 drivers/iommu/arm-smmu.c 			cb->tcr[1] |= FIELD_PREP(TCR2_SEP, TCR2_SEP_UPSTREAM);
FIELD_PREP        525 drivers/iommu/arm-smmu.c 			cb->ttbr[0] |= FIELD_PREP(TTBRn_ASID, cfg->asid);
FIELD_PREP        527 drivers/iommu/arm-smmu.c 			cb->ttbr[1] |= FIELD_PREP(TTBRn_ASID, cfg->asid);
FIELD_PREP        568 drivers/iommu/arm-smmu.c 			reg |= FIELD_PREP(CBA2R_VMID16, cfg->vmid);
FIELD_PREP        574 drivers/iommu/arm-smmu.c 	reg = FIELD_PREP(CBAR_TYPE, cfg->cbar);
FIELD_PREP        576 drivers/iommu/arm-smmu.c 		reg |= FIELD_PREP(CBAR_IRPTNDX, cfg->irptndx);
FIELD_PREP        583 drivers/iommu/arm-smmu.c 		reg |= FIELD_PREP(CBAR_S1_BPSHCFG, CBAR_S1_BPSHCFG_NSH) |
FIELD_PREP        584 drivers/iommu/arm-smmu.c 			FIELD_PREP(CBAR_S1_MEMATTR, CBAR_S1_MEMATTR_WB);
FIELD_PREP        587 drivers/iommu/arm-smmu.c 		reg |= FIELD_PREP(CBAR_VMID, cfg->vmid);
FIELD_PREP        899 drivers/iommu/arm-smmu.c 	u32 reg = FIELD_PREP(SMR_ID, smr->id) | FIELD_PREP(SMR_MASK, smr->mask);
FIELD_PREP        909 drivers/iommu/arm-smmu.c 	u32 reg = FIELD_PREP(S2CR_TYPE, s2cr->type) |
FIELD_PREP        910 drivers/iommu/arm-smmu.c 		  FIELD_PREP(S2CR_CBNDX, s2cr->cbndx) |
FIELD_PREP        911 drivers/iommu/arm-smmu.c 		  FIELD_PREP(S2CR_PRIVCFG, s2cr->privcfg);
FIELD_PREP        942 drivers/iommu/arm-smmu.c 	smr = FIELD_PREP(SMR_ID, smmu->streamid_mask);
FIELD_PREP        947 drivers/iommu/arm-smmu.c 	smr = FIELD_PREP(SMR_MASK, smmu->streamid_mask);
FIELD_PREP       1520 drivers/iommu/arm-smmu.c 		fwid |= FIELD_PREP(SMR_ID, args->args[0]);
FIELD_PREP       1523 drivers/iommu/arm-smmu.c 		fwid |= FIELD_PREP(SMR_MASK, args->args[1]);
FIELD_PREP       1525 drivers/iommu/arm-smmu.c 		fwid |= FIELD_PREP(SMR_MASK, mask);
FIELD_PREP        273 drivers/iommu/qcom_iommu.c 				FIELD_PREP(TTBRn_ASID, ctx->asid));
FIELD_PREP        276 drivers/iommu/qcom_iommu.c 				FIELD_PREP(TTBRn_ASID, ctx->asid));
FIELD_PREP        281 drivers/iommu/qcom_iommu.c 				FIELD_PREP(TCR2_SEP, TCR2_SEP_UPSTREAM));
FIELD_PREP        866 drivers/media/platform/aspeed-video.c 				   FIELD_PREP(VE_TGS_FIRST,
FIELD_PREP        868 drivers/media/platform/aspeed-video.c 				   FIELD_PREP(VE_TGS_LAST,
FIELD_PREP        871 drivers/media/platform/aspeed-video.c 				   FIELD_PREP(VE_TGS_FIRST, video->frame_top) |
FIELD_PREP        872 drivers/media/platform/aspeed-video.c 				   FIELD_PREP(VE_TGS_LAST,
FIELD_PREP        908 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_LUM, video->jpeg_quality) |
FIELD_PREP        909 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_CHR, video->jpeg_quality | 0x10);
FIELD_PREP        914 drivers/media/platform/aspeed-video.c 		ctrl |= FIELD_PREP(VE_CTRL_FRC, video->frame_rate);
FIELD_PREP       1084 drivers/media/platform/aspeed-video.c 				    FIELD_PREP(VE_CTRL_FRC, frame_rate));
FIELD_PREP       1263 drivers/media/platform/aspeed-video.c 	u32 comp_ctrl = FIELD_PREP(VE_COMP_CTRL_DCT_LUM, video->jpeg_quality) |
FIELD_PREP       1264 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_CHR, video->jpeg_quality | 0x10);
FIELD_PREP        274 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_CLK_CNTL_N1, 733 - 1));
FIELD_PREP        278 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_CLK_CNTL_N2, 732 - 1));
FIELD_PREP        283 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_CLK_CNTL_M1, 8 - 1));
FIELD_PREP        287 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_CLK_CNTL_M2, 11 - 1));
FIELD_PREP        376 drivers/media/platform/meson/ao-cec-g12a.c 	u32 reg = FIELD_PREP(CECB_RW_ADDR, addr);
FIELD_PREP        400 drivers/media/platform/meson/ao-cec-g12a.c 	u32 reg = FIELD_PREP(CECB_RW_ADDR, addr) |
FIELD_PREP        401 drivers/media/platform/meson/ao-cec-g12a.c 		  FIELD_PREP(CECB_RW_WR_DATA, data) |
FIELD_PREP        577 drivers/media/platform/meson/ao-cec-g12a.c 				 FIELD_PREP(CECB_CTRL_TYPE, type));
FIELD_PREP        598 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_GEN_CNTL_FILTER_TICK_SEL,
FIELD_PREP        600 drivers/media/platform/meson/ao-cec-g12a.c 			   FIELD_PREP(CECB_GEN_CNTL_FILTER_DEL, 7));
FIELD_PREP        610 drivers/media/platform/meson/ao-cec-g12a.c 			    FIELD_PREP(CECB_GEN_CNTL_CLK_CTRL_MASK,
FIELD_PREP        619 drivers/media/platform/meson/ao-cec-g12a.c 			     FIELD_PREP(CECB_CTRL2_RISE_DEL_MAX, 2));
FIELD_PREP        248 drivers/media/platform/meson/ao-cec.c 	u32 reg = FIELD_PREP(CEC_RW_ADDR, address);
FIELD_PREP        281 drivers/media/platform/meson/ao-cec.c 	u32 reg = FIELD_PREP(CEC_RW_ADDR, address) |
FIELD_PREP        282 drivers/media/platform/meson/ao-cec.c 		  FIELD_PREP(CEC_RW_WR_DATA, data) |
FIELD_PREP        558 drivers/media/platform/meson/ao-cec.c 			    FIELD_PREP(CEC_GEN_CNTL_CLK_CTRL_MASK,
FIELD_PREP        164 drivers/media/rc/meson-ir.c 				  FIELD_PREP(REG1_MODE_MASK, DECODE_MODE_RAW));
FIELD_PREP        167 drivers/media/rc/meson-ir.c 				  FIELD_PREP(REG2_MODE_MASK, DECODE_MODE_RAW));
FIELD_PREP        173 drivers/media/rc/meson-ir.c 			  FIELD_PREP(REG1_IRQSEL_MASK, REG1_IRQSEL_RISE_FALL));
FIELD_PREP        113 drivers/mfd/stm32-timers.c 	dbl = FIELD_PREP(TIM_DCR_DBL, bursts - 1);
FIELD_PREP        114 drivers/mfd/stm32-timers.c 	dba = FIELD_PREP(TIM_DCR_DBA, reg >> 2);
FIELD_PREP        188 drivers/mmc/host/cavium.c 	*reg |= FIELD_PREP(GENMASK(61, 60), bus_id);
FIELD_PREP        291 drivers/mmc/host/cavium.c 	emm_sample = FIELD_PREP(MIO_EMM_SAMPLE_CMD_CNT, slot->cmd_cnt) |
FIELD_PREP        292 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SAMPLE_DAT_CNT, slot->dat_cnt);
FIELD_PREP        429 drivers/mmc/host/cavium.c 	emm_dma |= FIELD_PREP(MIO_EMM_DMA_VAL, 1) |
FIELD_PREP        430 drivers/mmc/host/cavium.c 		   FIELD_PREP(MIO_EMM_DMA_DAT_NULL, 1);
FIELD_PREP        528 drivers/mmc/host/cavium.c 	dma_cfg = FIELD_PREP(MIO_EMM_DMA_CFG_EN, 1) |
FIELD_PREP        529 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_CFG_RW, rw);
FIELD_PREP        531 drivers/mmc/host/cavium.c 	dma_cfg |= FIELD_PREP(MIO_EMM_DMA_CFG_ENDIAN, 1);
FIELD_PREP        533 drivers/mmc/host/cavium.c 	dma_cfg |= FIELD_PREP(MIO_EMM_DMA_CFG_SIZE,
FIELD_PREP        538 drivers/mmc/host/cavium.c 		dma_cfg |= FIELD_PREP(MIO_EMM_DMA_CFG_ADR, addr);
FIELD_PREP        582 drivers/mmc/host/cavium.c 		fifo_cmd = FIELD_PREP(MIO_EMM_DMA_FIFO_CMD_RW, rw);
FIELD_PREP        585 drivers/mmc/host/cavium.c 		fifo_cmd |= FIELD_PREP(MIO_EMM_DMA_FIFO_CMD_INTDIS,
FIELD_PREP        589 drivers/mmc/host/cavium.c 		fifo_cmd |= FIELD_PREP(MIO_EMM_DMA_FIFO_CMD_ENDIAN, 1);
FIELD_PREP        591 drivers/mmc/host/cavium.c 		fifo_cmd |= FIELD_PREP(MIO_EMM_DMA_FIFO_CMD_SIZE,
FIELD_PREP        631 drivers/mmc/host/cavium.c 	emm_dma = FIELD_PREP(MIO_EMM_DMA_VAL, 1) |
FIELD_PREP        632 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_SECTOR,
FIELD_PREP        634 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_RW,
FIELD_PREP        636 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_BLOCK_CNT, mrq->data->blocks) |
FIELD_PREP        637 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_DMA_CARD_ADDR, mrq->cmd->arg);
FIELD_PREP        642 drivers/mmc/host/cavium.c 		emm_dma |= FIELD_PREP(MIO_EMM_DMA_MULTI, 1);
FIELD_PREP        797 drivers/mmc/host/cavium.c 	emm_cmd = FIELD_PREP(MIO_EMM_CMD_VAL, 1) |
FIELD_PREP        798 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_CMD_CTYPE_XOR, mods.ctype_xor) |
FIELD_PREP        799 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_CMD_RTYPE_XOR, mods.rtype_xor) |
FIELD_PREP        800 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_CMD_IDX, cmd->opcode) |
FIELD_PREP        801 drivers/mmc/host/cavium.c 		  FIELD_PREP(MIO_EMM_CMD_ARG, cmd->arg);
FIELD_PREP        804 drivers/mmc/host/cavium.c 		emm_cmd |= FIELD_PREP(MIO_EMM_CMD_OFFSET,
FIELD_PREP        881 drivers/mmc/host/cavium.c 	emm_switch = FIELD_PREP(MIO_EMM_SWITCH_HS_TIMING,
FIELD_PREP        883 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SWITCH_BUS_WIDTH, bus_width) |
FIELD_PREP        884 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SWITCH_POWER_CLASS, power_class) |
FIELD_PREP        885 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SWITCH_CLK_HI, clk_period) |
FIELD_PREP        886 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SWITCH_CLK_LO, clk_period);
FIELD_PREP        927 drivers/mmc/host/cavium.c 	emm_switch = FIELD_PREP(MIO_EMM_SWITCH_POWER_CLASS, 10);
FIELD_PREP        928 drivers/mmc/host/cavium.c 	emm_switch |= FIELD_PREP(MIO_EMM_SWITCH_CLK_HI,
FIELD_PREP        930 drivers/mmc/host/cavium.c 	emm_switch |= FIELD_PREP(MIO_EMM_SWITCH_CLK_LO,
FIELD_PREP         30 drivers/mmc/host/dw_mmc-bluefield.c 	reg |= FIELD_PREP(UHS_REG_EXT_SAMPLE_MASK,
FIELD_PREP         33 drivers/mmc/host/dw_mmc-bluefield.c 	reg |= FIELD_PREP(UHS_REG_EXT_DRIVE_MASK, BLUEFIELD_UHS_REG_EXT_DRIVE);
FIELD_PREP        252 drivers/mmc/host/dw_mmc-k3.c 	reg_value = FIELD_PREP(UHS_REG_EXT_SAMPLE_PHASE_MASK, smpl_phase) |
FIELD_PREP        253 drivers/mmc/host/dw_mmc-k3.c 		    FIELD_PREP(UHS_REG_EXT_SAMPLE_DLY_MASK, smpl_dly) |
FIELD_PREP        254 drivers/mmc/host/dw_mmc-k3.c 		    FIELD_PREP(UHS_REG_EXT_SAMPLE_DRVPHASE_MASK, drv_phase);
FIELD_PREP        259 drivers/mmc/host/dw_mmc-k3.c 	reg_value = FIELD_PREP(GPIO_CLK_DIV_MASK, GENCLK_DIV) |
FIELD_PREP        260 drivers/mmc/host/dw_mmc-k3.c 			     FIELD_PREP(GPIO_USE_SAMPLE_DLY_MASK, use_smpl_dly);
FIELD_PREP        418 drivers/mmc/host/meson-gx-mmc.c 	clk_reg |= FIELD_PREP(CLK_CORE_PHASE_MASK, CLK_PHASE_180);
FIELD_PREP        419 drivers/mmc/host/meson-gx-mmc.c 	clk_reg |= FIELD_PREP(CLK_TX_PHASE_MASK, CLK_PHASE_0);
FIELD_PREP        420 drivers/mmc/host/meson-gx-mmc.c 	clk_reg |= FIELD_PREP(CLK_RX_PHASE_MASK, CLK_PHASE_0);
FIELD_PREP        532 drivers/mmc/host/meson-gx-mmc.c 		val |= FIELD_PREP(ADJUST_ADJ_DELAY_MASK, (dly + i) % max_dly);
FIELD_PREP        640 drivers/mmc/host/meson-gx-mmc.c 	val |= FIELD_PREP(CFG_BUS_WIDTH_MASK, bus_width);
FIELD_PREP        681 drivers/mmc/host/meson-gx-mmc.c 	cfg |= FIELD_PREP(CFG_BLK_LEN_MASK, blksz);
FIELD_PREP        726 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_cfg |= FIELD_PREP(CMD_CFG_LENGTH_MASK, len);
FIELD_PREP        752 drivers/mmc/host/meson-gx-mmc.c 	cmd_cfg |= FIELD_PREP(CMD_CFG_CMD_INDEX_MASK, cmd->opcode);
FIELD_PREP        762 drivers/mmc/host/meson-gx-mmc.c 		cmd_cfg |= FIELD_PREP(CMD_CFG_TIMEOUT_MASK,
FIELD_PREP        772 drivers/mmc/host/meson-gx-mmc.c 			cmd_cfg |= FIELD_PREP(CMD_CFG_LENGTH_MASK,
FIELD_PREP        776 drivers/mmc/host/meson-gx-mmc.c 			cmd_cfg |= FIELD_PREP(CMD_CFG_LENGTH_MASK, data->blksz);
FIELD_PREP        790 drivers/mmc/host/meson-gx-mmc.c 		cmd_cfg |= FIELD_PREP(CMD_CFG_TIMEOUT_MASK,
FIELD_PREP        984 drivers/mmc/host/meson-gx-mmc.c 	cfg |= FIELD_PREP(CFG_RESP_TIMEOUT_MASK,
FIELD_PREP        986 drivers/mmc/host/meson-gx-mmc.c 	cfg |= FIELD_PREP(CFG_RC_CC_MASK, ilog2(SD_EMMC_CFG_CMD_GAP));
FIELD_PREP        987 drivers/mmc/host/meson-gx-mmc.c 	cfg |= FIELD_PREP(CFG_BLK_LEN_MASK, ilog2(SD_EMMC_CFG_BLK_SIZE));
FIELD_PREP        175 drivers/mmc/host/meson-mx-sdio.c 		send |= FIELD_PREP(MESON_MX_SDIO_SEND_CMD_RESP_BITS_MASK, 45);
FIELD_PREP        179 drivers/mmc/host/meson-mx-sdio.c 		send |= FIELD_PREP(MESON_MX_SDIO_SEND_CMD_RESP_BITS_MASK, 133);
FIELD_PREP        193 drivers/mmc/host/meson-mx-sdio.c 		send |= FIELD_PREP(MESON_MX_SDIO_SEND_REPEAT_PACKAGE_TIMES_MASK,
FIELD_PREP        202 drivers/mmc/host/meson-mx-sdio.c 		ext |= FIELD_PREP(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK,
FIELD_PREP        213 drivers/mmc/host/meson-mx-sdio.c 	send |= FIELD_PREP(MESON_MX_SDIO_SEND_COMMAND_INDEX_MASK,
FIELD_PREP        220 drivers/mmc/host/meson-mx-sdio.c 	mult |= FIELD_PREP(MESON_MX_SDIO_MULT_PORT_SEL_MASK, host->slot_id);
FIELD_PREP        370 drivers/mmc/host/meson-mx-sdio.c 	mult |= FIELD_PREP(MESON_MX_SDIO_MULT_RESP_READ_INDEX_MASK, 0);
FIELD_PREP        701 drivers/mmc/host/meson-mx-sdio.c 	conf |= FIELD_PREP(MESON_MX_SDIO_CONF_CMD_ARGUMENT_BITS_MASK, 39);
FIELD_PREP        702 drivers/mmc/host/meson-mx-sdio.c 	conf |= FIELD_PREP(MESON_MX_SDIO_CONF_M_ENDIAN_MASK, 0x3);
FIELD_PREP        703 drivers/mmc/host/meson-mx-sdio.c 	conf |= FIELD_PREP(MESON_MX_SDIO_CONF_WRITE_NWR_MASK, 0x2);
FIELD_PREP        704 drivers/mmc/host/meson-mx-sdio.c 	conf |= FIELD_PREP(MESON_MX_SDIO_CONF_WRITE_CRC_OK_STATUS_MASK, 0x2);
FIELD_PREP        100 drivers/mmc/host/sdhci-cadence.c 	tmp = FIELD_PREP(SDHCI_CDNS_HRS04_WDATA, data) |
FIELD_PREP        101 drivers/mmc/host/sdhci-cadence.c 	      FIELD_PREP(SDHCI_CDNS_HRS04_ADDR, addr);
FIELD_PREP        185 drivers/mmc/host/sdhci-cadence.c 	tmp |= FIELD_PREP(SDHCI_CDNS_HRS06_MODE, mode);
FIELD_PREP        260 drivers/mmc/host/sdhci-cadence.c 	tmp |= FIELD_PREP(SDHCI_CDNS_HRS06_TUNE, val);
FIELD_PREP        895 drivers/mmc/host/sdhci-pci-core.c 	dly = FIELD_PREP(GLK_DLY, FIELD_GET(GLK_PATH_PLL, glk_rx_ctrl1) +
FIELD_PREP         81 drivers/mmc/host/sdhci-pci-gli.c 	wt_value |= FIELD_PREP(SDHCI_GLI_9750_WT_EN, GLI_9750_WT_EN_ON);
FIELD_PREP         98 drivers/mmc/host/sdhci-pci-gli.c 	wt_value |= FIELD_PREP(SDHCI_GLI_9750_WT_EN, GLI_9750_WT_EN_OFF);
FIELD_PREP        124 drivers/mmc/host/sdhci-pci-gli.c 	driving_value |= FIELD_PREP(SDHCI_GLI_9750_DRIVING_1,
FIELD_PREP        126 drivers/mmc/host/sdhci-pci-gli.c 	driving_value |= FIELD_PREP(SDHCI_GLI_9750_DRIVING_2,
FIELD_PREP        133 drivers/mmc/host/sdhci-pci-gli.c 	sw_ctrl_value |= FIELD_PREP(SDHCI_GLI_9750_SW_CTRL_4,
FIELD_PREP        140 drivers/mmc/host/sdhci-pci-gli.c 	pll_value |= FIELD_PREP(SDHCI_GLI_9750_PLL_TX2_INV,
FIELD_PREP        142 drivers/mmc/host/sdhci-pci-gli.c 	pll_value |= FIELD_PREP(SDHCI_GLI_9750_PLL_TX2_DLY,
FIELD_PREP        148 drivers/mmc/host/sdhci-pci-gli.c 	misc_value |= FIELD_PREP(SDHCI_GLI_9750_MISC_TX1_INV,
FIELD_PREP        150 drivers/mmc/host/sdhci-pci-gli.c 	misc_value |= FIELD_PREP(SDHCI_GLI_9750_MISC_RX_INV,
FIELD_PREP        152 drivers/mmc/host/sdhci-pci-gli.c 	misc_value |= FIELD_PREP(SDHCI_GLI_9750_MISC_TX1_DLY,
FIELD_PREP        156 drivers/mmc/host/sdhci-pci-gli.c 	parameter_value |= FIELD_PREP(SDHCI_GLI_9750_TUNING_PARAMETERS_RX_DLY,
FIELD_PREP        161 drivers/mmc/host/sdhci-pci-gli.c 	control_value |= FIELD_PREP(SDHCI_GLI_9750_TUNING_CONTROL_GLITCH_1,
FIELD_PREP        163 drivers/mmc/host/sdhci-pci-gli.c 	control_value |= FIELD_PREP(SDHCI_GLI_9750_TUNING_CONTROL_GLITCH_2,
FIELD_PREP        176 drivers/mmc/host/sdhci-pci-gli.c 	control_value |= FIELD_PREP(SDHCI_GLI_9750_TUNING_CONTROL_EN,
FIELD_PREP        185 drivers/mmc/host/sdhci-pci-gli.c 	control_value |= FIELD_PREP(SDHCI_GLI_9750_TUNING_CONTROL_EN,
FIELD_PREP        206 drivers/mmc/host/sdhci-pci-gli.c 		misc_value |= FIELD_PREP(SDHCI_GLI_9750_MISC_RX_INV,
FIELD_PREP        209 drivers/mmc/host/sdhci-pci-gli.c 		misc_value |= FIELD_PREP(SDHCI_GLI_9750_MISC_RX_INV,
FIELD_PREP        276 drivers/mmc/host/uniphier-sd.c 	dma_mode = FIELD_PREP(UNIPHIER_SD_DMA_MODE_DIR_MASK, dma_mode_dir);
FIELD_PREP        277 drivers/mmc/host/uniphier-sd.c 	dma_mode |= FIELD_PREP(UNIPHIER_SD_DMA_MODE_WIDTH_MASK,
FIELD_PREP        521 drivers/mmc/host/uniphier-sd.c 	tmp |= FIELD_PREP(UNIPHIER_SD_VOLT_MASK, val);
FIELD_PREP        210 drivers/mtd/nand/raw/denali.c 	iowrite32(FIELD_PREP(ECC_CORRECTION__ERASE_THRESHOLD, 1) |
FIELD_PREP        211 drivers/mtd/nand/raw/denali.c 		  FIELD_PREP(ECC_CORRECTION__VALUE, chip->ecc.strength),
FIELD_PREP        806 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(ACC_CLKS__VALUE, acc_clks);
FIELD_PREP        815 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(RE_2_WE__VALUE, re_2_we);
FIELD_PREP        824 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(RE_2_RE__VALUE, re_2_re);
FIELD_PREP        838 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(TWHR2_AND_WE_2_RE__WE_2_RE, we_2_re);
FIELD_PREP        853 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(TCWAW_AND_ADDR_2_DATA__ADDR_2_DATA, addr_2_data);
FIELD_PREP        863 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(RDWR_EN_HI_CNT__VALUE, rdwr_en_hi);
FIELD_PREP        876 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(RDWR_EN_LO_CNT__VALUE, rdwr_en_lo);
FIELD_PREP        887 drivers/mtd/nand/raw/denali.c 	tmp |= FIELD_PREP(CS_SETUP_CNT__VALUE, cs_setup);
FIELD_PREP        113 drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h 	FIELD_PREP((m), (y)))
FIELD_PREP        361 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			    FIELD_PREP(VTAG0_TYPE_MASK, 0) |
FIELD_PREP        362 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			    FIELD_PREP(VTAG0_LID_MASK, NPC_LID_LA) |
FIELD_PREP        363 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			    FIELD_PREP(VTAG0_RELPTR_MASK, 12);
FIELD_PREP         25 drivers/net/ethernet/netronome/nfp/abm/main.c 	return FIELD_PREP(NFP_ABM_PORTID_TYPE, rtype) |
FIELD_PREP         26 drivers/net/ethernet/netronome/nfp/abm/main.c 	       FIELD_PREP(NFP_ABM_PORTID_ID, id);
FIELD_PREP         85 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	insn =	FIELD_PREP(OP_CMD_A_SRC, areg) |
FIELD_PREP         86 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_CTX, ctx) |
FIELD_PREP         87 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_B_SRC, breg) |
FIELD_PREP         88 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_TOKEN, cmd_tgt_act[op].token) |
FIELD_PREP         89 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_XFER, xfer) |
FIELD_PREP         90 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_CNT, size) |
FIELD_PREP         91 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_SIG, ctx != CMD_CTX_NO_SWAP) |
FIELD_PREP         92 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_TGT_CMD, cmd_tgt_act[op].tgt_cmd) |
FIELD_PREP         93 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_INDIR, indir) |
FIELD_PREP         94 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_CMD_MODE, mode);
FIELD_PREP        151 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_MASK, mask) |
FIELD_PREP        152 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_EV_PIP, ev_pip) |
FIELD_PREP        153 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_CSS, css) |
FIELD_PREP        154 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_DEFBR, defer) |
FIELD_PREP        155 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ADDR_LO, addr_lo) |
FIELD_PREP        156 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ADDR_HI, addr_hi);
FIELD_PREP        176 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_RELO_TYPE, relo);
FIELD_PREP        196 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_A_SRC, areg) |
FIELD_PREP        197 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_B_SRC, breg) |
FIELD_PREP        198 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_BV, set) |
FIELD_PREP        199 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_DEFBR, defer) |
FIELD_PREP        200 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_ADDR_LO, addr_lo) |
FIELD_PREP        201 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_ADDR_HI, addr_hi) |
FIELD_PREP        202 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_BIT_SRC_LMEXTN, src_lmextn);
FIELD_PREP        230 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_RELO_TYPE, relo);
FIELD_PREP        246 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_A_SRC, areg) |
FIELD_PREP        247 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_B_SRC, breg) |
FIELD_PREP        248 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_DEFBR, defer) |
FIELD_PREP        249 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_IMM_HI, imm_hi) |
FIELD_PREP        250 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        251 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_BR_ALU_DST_LMEXTN, dst_lmextn);
FIELD_PREP        280 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_A_SRC, areg) |
FIELD_PREP        281 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_B_SRC, breg) |
FIELD_PREP        282 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_IMM, imm_hi) |
FIELD_PREP        283 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_WIDTH, width) |
FIELD_PREP        284 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_INV, invert) |
FIELD_PREP        285 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_SHIFT, shift) |
FIELD_PREP        286 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_WR_AB, wr_both) |
FIELD_PREP        287 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        288 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_IMMED_DST_LMEXTN, dst_lmextn);
FIELD_PREP        346 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_A_SRC, areg) |
FIELD_PREP        347 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_SC, sc) |
FIELD_PREP        348 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_B_SRC, breg) |
FIELD_PREP        349 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_I8, i8) |
FIELD_PREP        350 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_SW, sw) |
FIELD_PREP        351 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_DST, dst) |
FIELD_PREP        352 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_SHIFT, shift) |
FIELD_PREP        353 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_OP, op) |
FIELD_PREP        354 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_DST_AB, dst_ab) |
FIELD_PREP        355 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_WR_AB, wr_both) |
FIELD_PREP        356 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        357 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_SHF_DST_LMEXTN, dst_lmextn);
FIELD_PREP        401 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_A_SRC, areg) |
FIELD_PREP        402 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_B_SRC, breg) |
FIELD_PREP        403 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_DST, dst) |
FIELD_PREP        404 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_SW, swap) |
FIELD_PREP        405 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_OP, op) |
FIELD_PREP        406 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_DST_AB, dst_ab) |
FIELD_PREP        407 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_WR_AB, wr_both) |
FIELD_PREP        408 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        409 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_ALU_DST_LMEXTN, dst_lmextn);
FIELD_PREP        440 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_A_SRC, areg) |
FIELD_PREP        441 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_B_SRC, breg) |
FIELD_PREP        442 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_STEP, step) |
FIELD_PREP        443 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_DST_AB, dst_ab) |
FIELD_PREP        444 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_SW, swap) |
FIELD_PREP        445 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_TYPE, type) |
FIELD_PREP        446 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_WR_AB, wr_both) |
FIELD_PREP        447 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        448 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_MUL_DST_LMEXTN, dst_lmextn);
FIELD_PREP        495 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_A_SRC, areg) |
FIELD_PREP        496 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_SC, sc) |
FIELD_PREP        497 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_B_SRC, breg) |
FIELD_PREP        498 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_I8, imm8) |
FIELD_PREP        499 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_SW, swap) |
FIELD_PREP        500 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_ZF, zero) |
FIELD_PREP        501 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_BMASK, bmask) |
FIELD_PREP        502 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_SHF, shift) |
FIELD_PREP        503 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_WR_AB, wr_both) |
FIELD_PREP        504 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        505 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LDF_DST_LMEXTN, dst_lmextn);
FIELD_PREP        543 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_A_SRC, areg) |
FIELD_PREP        544 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_B_SRC, breg) |
FIELD_PREP        545 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_WRITE, wr) |
FIELD_PREP        546 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_ADDR, addr / 4) |
FIELD_PREP        547 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_SRC_LMEXTN, src_lmextn) |
FIELD_PREP        548 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_LCSR_DST_LMEXTN, dst_lmextn);
FIELD_PREP        644 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		FIELD_PREP(OP_RELO_TYPE, relo);
FIELD_PREP        754 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1));
FIELD_PREP        780 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, len - 1));
FIELD_PREP        787 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1));
FIELD_PREP        811 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 2));
FIELD_PREP       2748 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  CMD_OVE_LEN | FIELD_PREP(CMD_OV_LEN, xfer_num - 1));
FIELD_PREP       3081 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  FIELD_PREP(CMD_OVE_DATA, 2) |
FIELD_PREP       3083 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			  FIELD_PREP(CMD_OV_LEN, 0x8 | is64 << 2));
FIELD_PREP        147 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		  FIELD_PREP(NFP_NET_MBOX_TLV_TYPE, type) |
FIELD_PREP        148 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		  FIELD_PREP(NFP_NET_MBOX_TLV_LEN, len));
FIELD_PREP        154 drivers/net/ethernet/netronome/nfp/crypto/tls.c 	front->ipver_vlan = cpu_to_be16(FIELD_PREP(NFP_NET_TLS_IPVER, ipver) |
FIELD_PREP        155 drivers/net/ethernet/netronome/nfp/crypto/tls.c 					FIELD_PREP(NFP_NET_TLS_VLAN,
FIELD_PREP        126 drivers/net/ethernet/netronome/nfp/flower/action.c 		FIELD_PREP(NFP_FL_PUSH_VLAN_PRIO, act->vlan.prio) |
FIELD_PREP        127 drivers/net/ethernet/netronome/nfp/flower/action.c 		FIELD_PREP(NFP_FL_PUSH_VLAN_VID, act->vlan.vid);
FIELD_PREP        425 drivers/net/ethernet/netronome/nfp/flower/action.c 		FIELD_PREP(NFP_FL_IPV4_TUNNEL_TYPE, tun_type) |
FIELD_PREP        426 drivers/net/ethernet/netronome/nfp/flower/action.c 		FIELD_PREP(NFP_FL_IPV4_PRE_TUN_INDEX, pretun_idx);
FIELD_PREP        559 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	return FIELD_PREP(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, internal_port) |
FIELD_PREP        560 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_TYPE,
FIELD_PREP        566 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	return FIELD_PREP(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, phys_port) |
FIELD_PREP        567 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_TYPE,
FIELD_PREP        575 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	return FIELD_PREP(NFP_FLOWER_CMSG_PORT_PCI, nfp_pcie) |
FIELD_PREP        576 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_VNIC_TYPE, type) |
FIELD_PREP        577 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_VNIC, vnic) |
FIELD_PREP        578 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_PCIE_Q, q) |
FIELD_PREP        579 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 		FIELD_PREP(NFP_FLOWER_CMSG_PORT_TYPE,
FIELD_PREP         34 drivers/net/ethernet/netronome/nfp/flower/match.c 		tmp_tci |= FIELD_PREP(NFP_FLOWER_MASK_VLAN_PRIO,
FIELD_PREP         36 drivers/net/ethernet/netronome/nfp/flower/match.c 			   FIELD_PREP(NFP_FLOWER_MASK_VLAN_VID,
FIELD_PREP         41 drivers/net/ethernet/netronome/nfp/flower/match.c 		tmp_tci |= FIELD_PREP(NFP_FLOWER_MASK_VLAN_PRIO,
FIELD_PREP         43 drivers/net/ethernet/netronome/nfp/flower/match.c 			   FIELD_PREP(NFP_FLOWER_MASK_VLAN_VID,
FIELD_PREP        104 drivers/net/ethernet/netronome/nfp/flower/match.c 		t_mpls = FIELD_PREP(NFP_FLOWER_MASK_MPLS_LB, match.key->mpls_label) |
FIELD_PREP        105 drivers/net/ethernet/netronome/nfp/flower/match.c 			 FIELD_PREP(NFP_FLOWER_MASK_MPLS_TC, match.key->mpls_tc) |
FIELD_PREP        106 drivers/net/ethernet/netronome/nfp/flower/match.c 			 FIELD_PREP(NFP_FLOWER_MASK_MPLS_BOS, match.key->mpls_bos) |
FIELD_PREP        109 drivers/net/ethernet/netronome/nfp/flower/match.c 		t_mpls = FIELD_PREP(NFP_FLOWER_MASK_MPLS_LB, match.mask->mpls_label) |
FIELD_PREP        110 drivers/net/ethernet/netronome/nfp/flower/match.c 			 FIELD_PREP(NFP_FLOWER_MASK_MPLS_TC, match.mask->mpls_tc) |
FIELD_PREP        111 drivers/net/ethernet/netronome/nfp/flower/match.c 			 FIELD_PREP(NFP_FLOWER_MASK_MPLS_BOS, match.mask->mpls_bos) |
FIELD_PREP         69 drivers/net/ethernet/netronome/nfp/flower/metadata.c 			FIELD_PREP(NFP_FL_STAT_ID_STAT,
FIELD_PREP         71 drivers/net/ethernet/netronome/nfp/flower/metadata.c 			FIELD_PREP(NFP_FL_STAT_ID_MU_NUM,
FIELD_PREP        526 drivers/net/ethernet/netronome/nfp/flower/metadata.c 	stats_size = FIELD_PREP(NFP_FL_STAT_ID_STAT, host_ctx_count) |
FIELD_PREP        527 drivers/net/ethernet/netronome/nfp/flower/metadata.c 		     FIELD_PREP(NFP_FL_STAT_ID_MU_NUM, host_num_mems - 1);
FIELD_PREP         48 drivers/net/ethernet/netronome/nfp/nfp_asm.c 	*instr |= FIELD_PREP(OP_BR_ADDR_HI, addr_hi);
FIELD_PREP         49 drivers/net/ethernet/netronome/nfp/nfp_asm.c 	*instr |= FIELD_PREP(OP_BR_ADDR_LO, addr_lo);
FIELD_PREP         91 drivers/net/ethernet/netronome/nfp/nfp_asm.c 		*instr &= ~FIELD_PREP(OP_IMMED_A_SRC, 0xff);
FIELD_PREP         92 drivers/net/ethernet/netronome/nfp/nfp_asm.c 		*instr |= FIELD_PREP(OP_IMMED_A_SRC, immed & 0xff);
FIELD_PREP         94 drivers/net/ethernet/netronome/nfp/nfp_asm.c 		*instr &= ~FIELD_PREP(OP_IMMED_B_SRC, 0xff);
FIELD_PREP         95 drivers/net/ethernet/netronome/nfp/nfp_asm.c 		*instr |= FIELD_PREP(OP_IMMED_B_SRC, immed & 0xff);
FIELD_PREP         99 drivers/net/ethernet/netronome/nfp/nfp_asm.c 	*instr |= FIELD_PREP(OP_IMMED_IMM, immed >> 8);
FIELD_PREP        136 drivers/net/ethernet/netronome/nfp/nfp_asm.c 			return UR_REG_LM | FIELD_PREP(UR_REG_LM_IDX, lm_id) |
FIELD_PREP        147 drivers/net/ethernet/netronome/nfp/nfp_asm.c 				FIELD_PREP(UR_REG_LM_IDX, lm_id) |
FIELD_PREP        148 drivers/net/ethernet/netronome/nfp/nfp_asm.c 				FIELD_PREP(UR_REG_LM_POST_MOD_DEC, lm_dec);
FIELD_PREP        230 drivers/net/ethernet/netronome/nfp/nfp_asm.c 		return RE_REG_LM | FIELD_PREP(RE_REG_LM_IDX, lm_id) | val;
FIELD_PREP        326 drivers/net/ethernet/netronome/nfp/nfp_asm.h 	return (__force swreg)(id | FIELD_PREP(NN_REG_TYPE, type));
FIELD_PREP        333 drivers/net/ethernet/netronome/nfp/nfp_asm.h 	return (__force swreg)(FIELD_PREP(NN_REG_TYPE, NN_REG_LMEM) |
FIELD_PREP        334 drivers/net/ethernet/netronome/nfp/nfp_asm.h 			       FIELD_PREP(NN_REG_LM_IDX, id) |
FIELD_PREP        335 drivers/net/ethernet/netronome/nfp/nfp_asm.h 			       FIELD_PREP(NN_REG_LM_MOD, mode) |
FIELD_PREP       3950 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 		      FIELD_PREP(NFP_NET_CFG_RSS_HFUNC, nn->rss_hfunc) |
FIELD_PREP        870 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	new_rss_cfg |= FIELD_PREP(NFP_NET_CFG_RSS_HFUNC, nn->rss_hfunc);
FIELD_PREP        116 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c 	vlan_tci = FIELD_PREP(NFP_NET_VF_CFG_VLAN_VID, vlan) |
FIELD_PREP        117 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c 		FIELD_PREP(NFP_NET_VF_CFG_VLAN_QOS, qos);
FIELD_PREP        142 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c 	vf_ctrl |= FIELD_PREP(NFP_NET_VF_CFG_CTRL_SPOOF, enable);
FIELD_PREP        166 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c 	vf_ctrl |= FIELD_PREP(NFP_NET_VF_CFG_CTRL_TRUST, enable);
FIELD_PREP        200 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c 	vf_ctrl |= FIELD_PREP(NFP_NET_VF_CFG_CTRL_LINK_STATE, link_state);
FIELD_PREP        381 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			     FIELD_PREP(NSP_COMMAND_OPTION, arg->option) |
FIELD_PREP        382 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			     FIELD_PREP(NSP_COMMAND_CODE, arg->code) |
FIELD_PREP        383 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			     FIELD_PREP(NSP_COMMAND_DMA_BUF, arg->dma) |
FIELD_PREP        384 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			     FIELD_PREP(NSP_COMMAND_START, 1));
FIELD_PREP        476 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	arg->arg.buf = FIELD_PREP(NSP_BUFFER_CPP, cpp_id >> 8) |
FIELD_PREP        477 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		       FIELD_PREP(NSP_BUFFER_ADDRESS, cpp_buf);
FIELD_PREP        405 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		reg |= FIELD_PREP(NSP_ETH_CTRL_ENABLED, enable);
FIELD_PREP        452 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		reg |= FIELD_PREP(NSP_ETH_CTRL_CONFIGURED, configed);
FIELD_PREP        142 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->tx_delay);
FIELD_PREP        143 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->tx_delay);
FIELD_PREP        144 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_TXC_INV, mac_delay->tx_inv);
FIELD_PREP        146 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay);
FIELD_PREP        147 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay);
FIELD_PREP        148 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv);
FIELD_PREP        162 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay);
FIELD_PREP        163 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay);
FIELD_PREP        164 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv);
FIELD_PREP        170 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->rx_delay);
FIELD_PREP        171 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->rx_delay);
FIELD_PREP        172 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 			delay_val |= FIELD_PREP(ETH_DLY_TXC_INV, mac_delay->rx_inv);
FIELD_PREP        187 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay);
FIELD_PREP        188 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_GTXC_STAGES, mac_delay->tx_delay);
FIELD_PREP        189 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_GTXC_INV, mac_delay->tx_inv);
FIELD_PREP        191 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay);
FIELD_PREP        192 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay);
FIELD_PREP        193 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 		delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv);
FIELD_PREP         78 drivers/net/phy/adin.c 		FIELD_PREP(ADIN1300_GE_RGMII_RX_MSK, x)
FIELD_PREP         81 drivers/net/phy/adin.c 		FIELD_PREP(ADIN1300_GE_RGMII_GTX_MSK, x)
FIELD_PREP         96 drivers/net/phy/adin.c 		FIELD_PREP(ADIN1300_GE_RMII_FIFO_DEPTH_MSK, x)
FIELD_PREP        323 drivers/net/phy/adin.c 	val = FIELD_PREP(ADIN1300_DOWNSPEED_RETRIES_MSK, cnt);
FIELD_PREP        413 drivers/net/phy/aquantia_main.c 		val |= FIELD_PREP(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, cnt);
FIELD_PREP       1103 drivers/net/phy/marvell.c 	val = FIELD_PREP(MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK, val);
FIELD_PREP         57 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_ST, ASPEED_MDIO_CTRL_ST_C22)
FIELD_PREP         58 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_OP, MDIO_C22_OP_READ)
FIELD_PREP         59 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_PHYAD, addr)
FIELD_PREP         60 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_REGAD, regnum);
FIELD_PREP         87 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_ST, ASPEED_MDIO_CTRL_ST_C22)
FIELD_PREP         88 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_OP, MDIO_C22_OP_WRITE)
FIELD_PREP         89 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_PHYAD, addr)
FIELD_PREP         90 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_REGAD, regnum)
FIELD_PREP         91 drivers/net/phy/mdio-aspeed.c 		| FIELD_PREP(ASPEED_MDIO_CTRL_MIIWDATA, val);
FIELD_PREP        164 drivers/net/phy/mdio-mux-meson-g12a.c 	writel(FIELD_PREP(PHY_CNTL1_ST_MODE, 3) |
FIELD_PREP        165 drivers/net/phy/mdio-mux-meson-g12a.c 	       FIELD_PREP(PHY_CNTL1_ST_PHYADD, EPHY_DFLT_ADD) |
FIELD_PREP        166 drivers/net/phy/mdio-mux-meson-g12a.c 	       FIELD_PREP(PHY_CNTL1_MII_MODE, EPHY_MODE_RMII) |
FIELD_PREP         82 drivers/net/phy/meson-gxl.c 			FIELD_PREP(TSTCNTL_REG_BANK_SEL, bank) |
FIELD_PREP         84 drivers/net/phy/meson-gxl.c 			FIELD_PREP(TSTCNTL_READ_ADDRESS, reg));
FIELD_PREP        110 drivers/net/phy/meson-gxl.c 			FIELD_PREP(TSTCNTL_REG_BANK_SEL, bank) |
FIELD_PREP        112 drivers/net/phy/meson-gxl.c 			FIELD_PREP(TSTCNTL_WRITE_ADDRESS, reg));
FIELD_PREP         86 drivers/net/wireless/ath/ath10k/sdio.c 	*arg = FIELD_PREP(BIT(31), write) |
FIELD_PREP         87 drivers/net/wireless/ath/ath10k/sdio.c 	       FIELD_PREP(BIT(27), raw) |
FIELD_PREP         88 drivers/net/wireless/ath/ath10k/sdio.c 	       FIELD_PREP(BIT(26), 1) |
FIELD_PREP         89 drivers/net/wireless/ath/ath10k/sdio.c 	       FIELD_PREP(GENMASK(25, 9), address) |
FIELD_PREP         90 drivers/net/wireless/ath/ath10k/sdio.c 	       FIELD_PREP(BIT(8), 1) |
FIELD_PREP         91 drivers/net/wireless/ath/ath10k/sdio.c 	       FIELD_PREP(GENMASK(7, 0), val);
FIELD_PREP        144 drivers/net/wireless/ath/ath10k/sdio.c 	byte |= FIELD_PREP(ATH10K_SDIO_DRIVE_DTSX_MASK,
FIELD_PREP        191 drivers/net/wireless/ath/ath10k/sdio.c 	byte |= FIELD_PREP(CCCR_SDIO_ASYNC_INT_DELAY_MASK, asyncintdelay);
FIELD_PREP        890 drivers/net/wireless/ath/ath10k/sdio.c 	u8 htc_mbox = FIELD_PREP(ATH10K_HTC_MAILBOX_MASK, 1);
FIELD_PREP       1514 drivers/net/wireless/ath/ath10k/sdio.c 	regs->int_status_en = FIELD_PREP(MBOX_INT_STATUS_ENABLE_ERROR_MASK, 1) |
FIELD_PREP       1515 drivers/net/wireless/ath/ath10k/sdio.c 			      FIELD_PREP(MBOX_INT_STATUS_ENABLE_CPU_MASK, 1) |
FIELD_PREP       1516 drivers/net/wireless/ath/ath10k/sdio.c 			      FIELD_PREP(MBOX_INT_STATUS_ENABLE_COUNTER_MASK, 1);
FIELD_PREP       1522 drivers/net/wireless/ath/ath10k/sdio.c 		FIELD_PREP(MBOX_INT_STATUS_ENABLE_MBOX_DATA_MASK, 1);
FIELD_PREP       1527 drivers/net/wireless/ath/ath10k/sdio.c 	regs->cpu_int_status_en = FIELD_PREP(MBOX_CPU_STATUS_ENABLE_ASSERT_MASK, 1);
FIELD_PREP       1531 drivers/net/wireless/ath/ath10k/sdio.c 		FIELD_PREP(MBOX_ERROR_STATUS_ENABLE_RX_UNDERFLOW_MASK, 1) |
FIELD_PREP       1532 drivers/net/wireless/ath/ath10k/sdio.c 		FIELD_PREP(MBOX_ERROR_STATUS_ENABLE_TX_OVERFLOW_MASK, 1);
FIELD_PREP       1538 drivers/net/wireless/ath/ath10k/sdio.c 		FIELD_PREP(MBOX_COUNTER_INT_STATUS_ENABLE_BIT_MASK,
FIELD_PREP        488 drivers/net/wireless/intel/iwlwifi/iwl-fh.h #define RFH_GEN_CFG_VAL(_n, _v)		FIELD_PREP(RFH_GEN_CFG_ ## _n, _v)
FIELD_PREP        249 drivers/net/wireless/intel/iwlwifi/iwl-prph.h #define SCD_QUEUE_CTX_REG1_VAL(_n, _v)		FIELD_PREP(SCD_QUEUE_CTX_REG1_ ## _n, _v)
FIELD_PREP        253 drivers/net/wireless/intel/iwlwifi/iwl-prph.h #define SCD_QUEUE_CTX_REG2_VAL(_n, _v)		FIELD_PREP(SCD_QUEUE_CTX_REG2_ ## _n, _v)
FIELD_PREP         64 drivers/net/wireless/mediatek/mt76/dma.c 		ctrl = FIELD_PREP(MT_DMA_CTL_SD_LEN0, buf[0].len);
FIELD_PREP         67 drivers/net/wireless/mediatek/mt76/dma.c 			ctrl |= FIELD_PREP(MT_DMA_CTL_SD_LEN1, buf[1].len);
FIELD_PREP        564 drivers/net/wireless/mediatek/mt76/mt76.h 	mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
FIELD_PREP        567 drivers/net/wireless/mediatek/mt76/mt76.h 	__mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
FIELD_PREP         30 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) |
FIELD_PREP         31 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_DMA_FQCR0_TARGET_QID,
FIELD_PREP         33 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_DMA_FQCR0_DEST_PORT_ID, 3) |
FIELD_PREP         34 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_DMA_FQCR0_DEST_QUEUE_ID, 8));
FIELD_PREP        164 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_TBTT_PERIOD, intval) | MT_TBTT_CAL_ENABLE);
FIELD_PREP         62 drivers/net/wireless/mediatek/mt76/mt7603/dma.c 	val |= FIELD_PREP(MT_TXD0_Q_IDX, MT_TX_HW_QUEUE_MGMT);
FIELD_PREP         15 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c 	val |= FIELD_PREP(MT_EFUSE_CTRL_AIN, addr & ~0xf);
FIELD_PREP         25 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		[1] = FIELD_PREP(MT_TXD3_REM_TX_COUNT, 0xf),
FIELD_PREP         58 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_PSE_FRP_P0, 7) |
FIELD_PREP         59 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_PSE_FRP_P1, 6) |
FIELD_PREP         60 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_PSE_FRP_P2_RQ2, 4));
FIELD_PREP        120 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		 (FIELD_PREP(MT_WF_RMAC_RMCR_SMPS_MODE, 3) |
FIELD_PREP        121 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		  FIELD_PREP(MT_WF_RMAC_RMCR_RX_STREAMS, rx_chains)));
FIELD_PREP        150 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(0), 24) |
FIELD_PREP        151 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(1), 24) |
FIELD_PREP        152 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(2), 24) |
FIELD_PREP        153 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(3), 24));
FIELD_PREP        156 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(0), 24) |
FIELD_PREP        157 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(1), 24) |
FIELD_PREP        158 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(2), 24) |
FIELD_PREP        159 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_LIMIT_AC(3), 24));
FIELD_PREP        162 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_CONTROL_BAR_RATE, 0x4b) |
FIELD_PREP        163 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_CONTROL_CFEND_RATE, 0x69) |
FIELD_PREP        167 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_RETRY_CONTROL_BAR_LIMIT, 1) |
FIELD_PREP        168 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_RETRY_CONTROL_RTS_LIMIT, 15));
FIELD_PREP        171 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_DMA_DCR0_MAX_RX_LEN, 4096));
FIELD_PREP        207 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_DMA_TCFR_TXS_AGGR_TIMEOUT, 1) | /* 32 us */
FIELD_PREP        212 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_DMA_TCFR_TXS_AGGR_TIMEOUT, 1) | /* 32 us */
FIELD_PREP        231 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), 7) |
FIELD_PREP        232 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), 2) |
FIELD_PREP        233 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), 2) |
FIELD_PREP        234 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), 2) |
FIELD_PREP        235 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), 1) |
FIELD_PREP        236 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), 1) |
FIELD_PREP        237 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), 1) |
FIELD_PREP        238 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), 1));
FIELD_PREP        241 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), MT7603_RATE_RETRY - 1) |
FIELD_PREP        242 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), MT7603_RATE_RETRY - 1) |
FIELD_PREP        243 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), MT7603_RATE_RETRY - 1) |
FIELD_PREP        244 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), MT7603_RATE_RETRY - 1) |
FIELD_PREP        245 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), MT7603_RATE_RETRY - 1) |
FIELD_PREP        246 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), MT7603_RATE_RETRY - 1) |
FIELD_PREP        247 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), MT7603_RATE_RETRY - 1) |
FIELD_PREP        248 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), MT7603_RATE_RETRY - 1));
FIELD_PREP        251 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		(FIELD_PREP(MT_AGG_ARCR_RTS_RATE_THR, 2) |
FIELD_PREP        253 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		 FIELD_PREP(MT_AGG_ARCR_RATE_DOWN_RATIO, 1) |
FIELD_PREP        254 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		 FIELD_PREP(MT_AGG_ARCR_RATE_UP_EXTRA_TH, 4)));
FIELD_PREP        289 drivers/net/wireless/mediatek/mt76/mt7603/init.c 			FIELD_PREP(MT_PSE_RTA_TAG_ID, i));
FIELD_PREP         36 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) |
FIELD_PREP         37 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		  FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48);
FIELD_PREP         38 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 ofdm = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 60) |
FIELD_PREP         39 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		   FIELD_PREP(MT_TIMEOUT_VAL_CCA, 24);
FIELD_PREP         41 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 reg_offset = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, offset) |
FIELD_PREP         42 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			 FIELD_PREP(MT_TIMEOUT_VAL_CCA, offset);
FIELD_PREP         58 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_IFS_EIFS, 360) |
FIELD_PREP         59 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_IFS_RIFS, 2) |
FIELD_PREP         60 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_IFS_SIFS, sifs) |
FIELD_PREP         61 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_IFS_SLOT, dev->slottime));
FIELD_PREP         78 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		 FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, idx) | mask);
FIELD_PREP        121 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		w0 = FIELD_PREP(MT_WTBL1_W0_ADDR_HI,
FIELD_PREP        123 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		w1 = FIELD_PREP(MT_WTBL1_W1_ADDR_LO,
FIELD_PREP        131 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w0 |= FIELD_PREP(MT_WTBL1_W0_MUAR_IDX, vif);
FIELD_PREP        182 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			FIELD_PREP(MT_TX_ABORT_WCID, idx));
FIELD_PREP        186 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, idx) |
FIELD_PREP        187 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			FIELD_PREP(MT_DMA_FQCR0_TARGET_QID, i) |
FIELD_PREP        188 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			FIELD_PREP(MT_DMA_FQCR0_DEST_PORT_ID, port) |
FIELD_PREP        189 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			FIELD_PREP(MT_DMA_FQCR0_DEST_QUEUE_ID, queue));
FIELD_PREP        224 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_PSE_RTA_TAG_ID, idx) |
FIELD_PREP        225 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_PSE_RTA_PORT_ID, 0) |
FIELD_PREP        226 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_PSE_RTA_QUEUE_ID, 1) |
FIELD_PREP        227 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_PSE_RTA_REDIRECT_EN, enabled) |
FIELD_PREP        277 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W3_WTBL2_FRAME_ID, wtbl2_frame) |
FIELD_PREP        278 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W3_WTBL2_ENTRY_ID, wtbl2_entry) |
FIELD_PREP        279 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W3_WTBL4_FRAME_ID, wtbl4_frame) |
FIELD_PREP        282 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W4_WTBL3_FRAME_ID, wtbl3_frame) |
FIELD_PREP        283 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W4_WTBL3_ENTRY_ID, wtbl3_entry) |
FIELD_PREP        284 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL1_W4_WTBL4_ENTRY_ID, wtbl4_entry));
FIELD_PREP        315 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val |= FIELD_PREP(MT_WTBL1_W2_AMPDU_FACTOR, sta->ht_cap.ampdu_factor) |
FIELD_PREP        316 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	       FIELD_PREP(MT_WTBL1_W2_MPDU_DENSITY, sta->ht_cap.ampdu_density) |
FIELD_PREP        342 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		 FIELD_PREP(MT_BA_CONTROL_1_TID, tid) |
FIELD_PREP        350 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 tid_mask = FIELD_PREP(MT_WTBL2_W15_BA_EN_TIDS, BIT(tid)) |
FIELD_PREP        367 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	tid_val = FIELD_PREP(MT_WTBL2_W15_BA_EN_TIDS, BIT(tid)) |
FIELD_PREP        581 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	rateval = (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) |
FIELD_PREP        582 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		   FIELD_PREP(MT_TX_RATE_MODE, phy));
FIELD_PREP        665 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w9 |= FIELD_PREP(MT_WTBL2_W9_CC_BW_SEL, bw);
FIELD_PREP        666 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w9 |= FIELD_PREP(MT_WTBL2_W9_BW_CAP, bw);
FIELD_PREP        684 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	w9 |= FIELD_PREP(MT_WTBL2_W9_CHANGE_BW_RATE,
FIELD_PREP        690 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE0, probe_val) |
FIELD_PREP        691 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE1, val[0]) |
FIELD_PREP        692 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE2_LO, val[1]));
FIELD_PREP        695 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE2_HI, val[1] >> 8) |
FIELD_PREP        696 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE3, val[1]) |
FIELD_PREP        697 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE4, val[2]) |
FIELD_PREP        698 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE5_LO, val[2]));
FIELD_PREP        701 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE5_HI, val[2] >> 4) |
FIELD_PREP        702 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE6, val[3]) |
FIELD_PREP        703 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE7, val[3]));
FIELD_PREP        709 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, wcid) |
FIELD_PREP        821 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) |
FIELD_PREP        822 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD0_Q_IDX, q->hw_idx);
FIELD_PREP        826 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_OWN_MAC, vif_idx) |
FIELD_PREP        827 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_TID,
FIELD_PREP        829 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_HDR_FORMAT, MT_HDR_FORMAT_802_11) |
FIELD_PREP        830 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_HDR_INFO, hdr_len / 2) |
FIELD_PREP        831 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_WLAN_IDX, wlan_idx) |
FIELD_PREP        832 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD1_PROTECTED, !!key);
FIELD_PREP        838 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val = FIELD_PREP(MT_TXD2_FRAME_TYPE, frame_type) |
FIELD_PREP        839 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD2_SUB_TYPE, frame_subtype) |
FIELD_PREP        840 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD2_MULTICAST,
FIELD_PREP        850 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	      FIELD_PREP(MT_TXD5_PID, pid);
FIELD_PREP        863 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		      FIELD_PREP(MT_TXD6_BW, bw) |
FIELD_PREP        864 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		      FIELD_PREP(MT_TXD6_TX_RATE, rateval);
FIELD_PREP        880 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val = FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count) |
FIELD_PREP        890 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val |= FIELD_PREP(MT_TXD3_SEQ, seqno >> 4);
FIELD_PREP        899 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		txwi[5] |= cpu_to_le32(FIELD_PREP(MT_TXD5_PN_HIGH, pn >> 32));
FIELD_PREP       1212 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		  FIELD_PREP(MT_WPDMA_GLO_CFG_DMA_BURST_SIZE, 3) |
FIELD_PREP       1357 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		FIELD_PREP(MT_WPDMA_DEBUG_IDX, index) |
FIELD_PREP       1496 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		rxtd_6 |= FIELD_PREP(MT_RXTD_6_CCAED_TH, 0x34);
FIELD_PREP       1498 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		rxtd_6 |= FIELD_PREP(MT_RXTD_6_CCAED_TH, 0x7d);
FIELD_PREP       1501 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		rxtd_6 |= FIELD_PREP(MT_RXTD_6_ACI_TH, 0x0f);
FIELD_PREP       1503 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		rxtd_6 |= FIELD_PREP(MT_RXTD_6_ACI_TH, 0x10);
FIELD_PREP        209 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c 		 MT_SCH_4_BYPASS | FIELD_PREP(MT_SCH_4_FORCE_QID, 5));
FIELD_PREP         19 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c 	val |= FIELD_PREP(MT_EFUSE_CTRL_AIN, addr & ~0xf);
FIELD_PREP         32 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		       FIELD_PREP(MT_TMAC_TRCR_CCA_SEL, 2) |
FIELD_PREP         33 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		       FIELD_PREP(MT_TMAC_TRCR_SEC_CCA_SEL, 0));
FIELD_PREP         37 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	      FIELD_PREP(MT_AGG_ACR_CFEND_RATE, 0x49) | /* 24M */
FIELD_PREP         38 drivers/net/wireless/mediatek/mt76/mt7615/init.c 	      FIELD_PREP(MT_AGG_ACR_BAR_RATE, 0x4b); /* 6M */
FIELD_PREP         61 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_DMA_DCR0_MAX_RX_LEN, 3072));
FIELD_PREP         64 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), 7) |
FIELD_PREP         65 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), 2) |
FIELD_PREP         66 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), 2) |
FIELD_PREP         67 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), 2) |
FIELD_PREP         68 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), 1) |
FIELD_PREP         69 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), 1) |
FIELD_PREP         70 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), 1) |
FIELD_PREP         71 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), 1));
FIELD_PREP         74 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(0), MT7615_RATE_RETRY - 1) |
FIELD_PREP         75 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(1), MT7615_RATE_RETRY - 1) |
FIELD_PREP         76 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(2), MT7615_RATE_RETRY - 1) |
FIELD_PREP         77 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(3), MT7615_RATE_RETRY - 1) |
FIELD_PREP         78 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(4), MT7615_RATE_RETRY - 1) |
FIELD_PREP         79 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(5), MT7615_RATE_RETRY - 1) |
FIELD_PREP         80 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(6), MT7615_RATE_RETRY - 1) |
FIELD_PREP         81 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), MT7615_RATE_RETRY - 1));
FIELD_PREP         84 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		(FIELD_PREP(MT_AGG_ARCR_RTS_RATE_THR, 2) |
FIELD_PREP         86 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		 FIELD_PREP(MT_AGG_ARCR_RATE_DOWN_RATIO, 1) |
FIELD_PREP         87 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		 FIELD_PREP(MT_AGG_ARCR_RATE_UP_EXTRA_TH, 4)));
FIELD_PREP        298 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	rateval |= (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) |
FIELD_PREP        299 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		    FIELD_PREP(MT_TX_RATE_MODE, phy) |
FIELD_PREP        300 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		    FIELD_PREP(MT_TX_RATE_NSS, nss - 1));
FIELD_PREP        349 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len + MT_TXD_SIZE) |
FIELD_PREP        350 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD0_P_IDX, MT_TX_PORT_IDX_LMAC) |
FIELD_PREP        351 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD0_Q_IDX, q_idx);
FIELD_PREP        355 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_WLAN_IDX, wcid->idx) |
FIELD_PREP        356 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_HDR_FORMAT, MT_HDR_FORMAT_802_11) |
FIELD_PREP        357 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_HDR_INFO,
FIELD_PREP        359 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_TID,
FIELD_PREP        361 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_PKT_FMT, p_fmt) |
FIELD_PREP        362 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD1_OWN_MAC, omac_idx);
FIELD_PREP        365 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) |
FIELD_PREP        366 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD2_SUB_TYPE, fc_stype) |
FIELD_PREP        367 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_TXD2_MULTICAST, multicast);
FIELD_PREP        396 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		      FIELD_PREP(MT_TXD6_BW, bw) |
FIELD_PREP        397 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		      FIELD_PREP(MT_TXD6_TX_RATE, rateval);
FIELD_PREP        415 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		      FIELD_PREP(MT_TXD5_PID, pid);
FIELD_PREP        423 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val = FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count);
FIELD_PREP        433 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	val |= FIELD_PREP(MT_TXD3_SEQ, seqno);
FIELD_PREP        440 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	txwi[7] = FIELD_PREP(MT_TXD7_TYPE, fc_type) |
FIELD_PREP        441 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		  FIELD_PREP(MT_TXD7_SUB_TYPE, fc_stype);
FIELD_PREP        555 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	w27 |= FIELD_PREP(MT_WTBL_W27_CC_BW_SEL, bw);
FIELD_PREP        562 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	w5 |= FIELD_PREP(MT_WTBL_W5_BW_CAP, bw) |
FIELD_PREP        563 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	      FIELD_PREP(MT_WTBL_W5_CHANGE_BW_RATE, bw_idx ? bw_idx - 1 : 7);
FIELD_PREP        568 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE0, probe_val) |
FIELD_PREP        569 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE1, val[0]) |
FIELD_PREP        570 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR1_RATE2_LO, val[1]));
FIELD_PREP        573 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE2_HI, val[1] >> 8) |
FIELD_PREP        574 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE3, val[1]) |
FIELD_PREP        575 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE4, val[2]) |
FIELD_PREP        576 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR2_RATE5_LO, val[2]));
FIELD_PREP        579 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE5_HI, val[2] >> 4) |
FIELD_PREP        580 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE6, val[3]) |
FIELD_PREP        581 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_RIUCR3_RATE7, val[3]));
FIELD_PREP        584 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, wcid) |
FIELD_PREP        680 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		      FIELD_PREP(MT_WTBL_W0_RX_IK_VALID,
FIELD_PREP        684 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			w0 |= FIELD_PREP(MT_WTBL_W0_KEY_IDX, keyidx);
FIELD_PREP        696 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		FIELD_PREP(MT_WTBL_UPDATE_WLAN_IDX, wcid->idx) |
FIELD_PREP        715 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 				 FIELD_PREP(MT_WTBL_W2_KEY_TYPE, cipher));
FIELD_PREP        720 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 				 FIELD_PREP(MT_WTBL_W2_KEY_TYPE,
FIELD_PREP         78 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len) |
FIELD_PREP         79 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	      FIELD_PREP(MT_TXD0_P_IDX, MT_TX_PORT_IDX_MCU) |
FIELD_PREP         80 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	      FIELD_PREP(MT_TXD0_Q_IDX, q_idx);
FIELD_PREP         84 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	      FIELD_PREP(MT_TXD1_HDR_FORMAT, MT_HDR_FORMAT_CMD) |
FIELD_PREP         85 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	      FIELD_PREP(MT_TXD1_PKT_FMT, pkt_fmt);
FIELD_PREP        407 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	ret |= FIELD_PREP(DL_MODE_KEY_IDX,
FIELD_PREP        533 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			    FIELD_PREP(MT_TOP_MISC2_FW_STATE,
FIELD_PREP        142 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c 		FIELD_PREP(MT_CH_TIME_CFG_CH_TIMER_CLR, 1));
FIELD_PREP         43 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		FIELD_PREP(MT_RF_CSR_CFG_DATA, value) |
FIELD_PREP         44 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		FIELD_PREP(MT_RF_CSR_CFG_REG_BANK, bank) |
FIELD_PREP         45 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		FIELD_PREP(MT_RF_CSR_CFG_REG_ID, reg) |
FIELD_PREP         80 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		FIELD_PREP(MT_RF_CSR_CFG_REG_BANK, bank) |
FIELD_PREP         81 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		FIELD_PREP(MT_RF_CSR_CFG_REG_ID, reg) |
FIELD_PREP        418 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 			val |= FIELD_PREP(MT_BBP_AGC_GAIN, gain);
FIELD_PREP        916 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		[0] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 0) |
FIELD_PREP        917 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 1) |
FIELD_PREP        918 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP        919 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP        920 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(0)),
FIELD_PREP        921 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		[1] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 1) |
FIELD_PREP        922 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 0) |
FIELD_PREP        923 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP        924 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP        925 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(1)),
FIELD_PREP        926 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		[2] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 2) |
FIELD_PREP        927 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 3) |
FIELD_PREP        928 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP        929 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP        930 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(2)),
FIELD_PREP        931 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		[3] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 3) |
FIELD_PREP        932 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 2) |
FIELD_PREP        933 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP        934 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP        935 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(3)),
FIELD_PREP        165 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c 		FIELD_PREP(MT_TXOP_TRUN_EN, 0x3f) |
FIELD_PREP        166 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c 		FIELD_PREP(MT_TXOP_EXT_CCA_DLY, 0x58));
FIELD_PREP        129 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c 		 FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, 0x20));
FIELD_PREP         21 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c 	val |= FIELD_PREP(MT_EFUSE_CTRL_AIN, addr & ~0xf);
FIELD_PREP         22 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c 	val |= FIELD_PREP(MT_EFUSE_CTRL_MODE, mode);
FIELD_PREP        132 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	attr = FIELD_PREP(MT_WCID_ATTR_BSS_IDX, vif_idx & 7) |
FIELD_PREP        133 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	       FIELD_PREP(MT_WCID_ATTR_BSS_IDX_EXT, !!(vif_idx & 8));
FIELD_PREP        196 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	rateval = FIELD_PREP(MT_RXWI_RATE_INDEX, rate_idx);
FIELD_PREP        197 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy);
FIELD_PREP        198 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw);
FIELD_PREP        215 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	tx_info = FIELD_PREP(MT_WCID_TX_INFO_RATE, rateval) |
FIELD_PREP        216 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		  FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) |
FIELD_PREP        217 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		  FIELD_PREP(MT_WCID_TX_INFO_TXPWR_ADJ, max_txpwr_adj) |
FIELD_PREP        322 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	u16 rate_ht_mask = FIELD_PREP(MT_RXWI_RATE_PHY, BIT(1) | BIT(2));
FIELD_PREP        370 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	txwi->ctl2 = FIELD_PREP(MT_TX_PWR_ADJ, txpwr_adj);
FIELD_PREP        395 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		txwi->ack_ctl |= FIELD_PREP(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size);
FIELD_PREP        398 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			 FIELD_PREP(MT_TXWI_FLAGS_MPDU_DENSITY,
FIELD_PREP        682 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		FIELD_PREP(MT_MAC_ADDR_DW1_U2ME_MASK, 0xff));
FIELD_PREP        688 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		FIELD_PREP(MT_MAC_BSSID_DW1_MBSS_MODE, 3) | /* 8 APs + 8 STAs */
FIELD_PREP        853 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		data = FIELD_PREP(MT_PROT_CFG_CTRL, 1) |
FIELD_PREP         34 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c 		  FIELD_PREP(MT_MCU_MSG_CMD_TYPE, cmd) |
FIELD_PREP         35 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c 		  FIELD_PREP(MT_MCU_MSG_CMD_SEQ, seq) |
FIELD_PREP         36 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c 		  FIELD_PREP(MT_MCU_MSG_PORT, CPU_TX_PORT) |
FIELD_PREP         37 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c 		  FIELD_PREP(MT_MCU_MSG_LEN, skb->len);
FIELD_PREP        317 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 	val = FIELD_PREP(MT_WPDMA_GLO_CFG_DMA_BURST_SIZE, 3) |
FIELD_PREP        168 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 	tx_info->info = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) |
FIELD_PREP         37 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c 	info = FIELD_PREP(MT_TXD_INFO_LEN, round_up(skb->len, 4)) |
FIELD_PREP         38 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c 	       FIELD_PREP(MT_TXD_INFO_DPORT, port) | flags;
FIELD_PREP         95 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c 	flags = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) |
FIELD_PREP         99 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 	info = FIELD_PREP(MT_MCU_MSG_CMD_SEQ, seq) |
FIELD_PREP        100 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 	       FIELD_PREP(MT_MCU_MSG_CMD_TYPE, cmd) |
FIELD_PREP        235 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 	info = cpu_to_le32(FIELD_PREP(MT_MCU_MSG_PORT, CPU_TX_PORT) |
FIELD_PREP        236 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 			   FIELD_PREP(MT_MCU_MSG_LEN, len) |
FIELD_PREP        499 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	val = FIELD_PREP(MT_EDCA_CFG_TXOP, params->txop) |
FIELD_PREP        500 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	      FIELD_PREP(MT_EDCA_CFG_AIFSN, params->aifs) |
FIELD_PREP        501 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	      FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) |
FIELD_PREP        502 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	      FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max);
FIELD_PREP         57 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	(FIELD_PREP(MT_PROT_CFG_RATE, 0x3) |		\
FIELD_PREP         58 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_NAV, 1) |		\
FIELD_PREP         59 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_TXOP_ALLOW, 0x3f) |	\
FIELD_PREP         63 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	(FIELD_PREP(MT_PROT_CFG_RATE, 0x2004) |		\
FIELD_PREP         64 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_NAV, 1) |			\
FIELD_PREP         65 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_TXOP_ALLOW, 0x3f) |	\
FIELD_PREP         69 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	(FIELD_PREP(MT_PROT_CFG_RATE, 0x2004) |		\
FIELD_PREP         70 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_CTRL, 1) |		\
FIELD_PREP         71 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_NAV, 1) |			\
FIELD_PREP         72 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_TXOP_ALLOW, 0x17))
FIELD_PREP         75 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	(FIELD_PREP(MT_PROT_CFG_RATE, 0x2084) |		\
FIELD_PREP         76 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_CTRL, 1) |		\
FIELD_PREP         77 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_NAV, 1) |			\
FIELD_PREP         78 drivers/net/wireless/mediatek/mt76/mt76x2/init.c 	 FIELD_PREP(MT_PROT_CFG_TXOP_ALLOW, 0x3f))
FIELD_PREP         85 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c 	val |= FIELD_PREP(MT_WPDMA_GLO_CFG_DMA_BURST_SIZE, 3);
FIELD_PREP        142 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c 		FIELD_PREP(MT_CH_TIME_CFG_CH_TIMER_CLR, 1));
FIELD_PREP        126 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		[0] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 0) |
FIELD_PREP        127 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 1) |
FIELD_PREP        128 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP        129 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP        130 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(0)),
FIELD_PREP        131 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		[1] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 1) |
FIELD_PREP        132 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 0) |
FIELD_PREP        133 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP        134 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP        135 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(1)),
FIELD_PREP        136 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		[2] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 2) |
FIELD_PREP        137 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 3) |
FIELD_PREP        138 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP        139 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP        140 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(2)),
FIELD_PREP        141 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		[3] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 3) |
FIELD_PREP        142 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 2) |
FIELD_PREP        143 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP        144 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP        145 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(3)),
FIELD_PREP        266 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c 		val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[0]));
FIELD_PREP        268 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c 		val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[1]));
FIELD_PREP        101 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c 	      FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, 0x20);
FIELD_PREP        184 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c 	      FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, 0x20);
FIELD_PREP         64 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		[0] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 0) |
FIELD_PREP         65 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 1) |
FIELD_PREP         66 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP         67 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP         68 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(0)),
FIELD_PREP         69 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		[1] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 1) |
FIELD_PREP         70 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 0) |
FIELD_PREP         71 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 2) |
FIELD_PREP         72 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 3) |
FIELD_PREP         73 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(1)),
FIELD_PREP         74 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		[2] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 2) |
FIELD_PREP         75 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 3) |
FIELD_PREP         76 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP         77 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP         78 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(2)),
FIELD_PREP         79 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		[3] = FIELD_PREP(MT_EXT_CCA_CFG_CCA0, 3) |
FIELD_PREP         80 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA1, 2) |
FIELD_PREP         81 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA2, 1) |
FIELD_PREP         82 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA3, 0) |
FIELD_PREP         83 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c 		      FIELD_PREP(MT_EXT_CCA_CFG_CCA_MASK, BIT(3)),
FIELD_PREP         72 drivers/net/wireless/mediatek/mt7601u/dma.h 		FIELD_PREP(MT_TXD_INFO_LEN, round_up(skb->len, 4)) |
FIELD_PREP         73 drivers/net/wireless/mediatek/mt7601u/dma.h 		FIELD_PREP(MT_TXD_INFO_D_PORT, d_port) |
FIELD_PREP         74 drivers/net/wireless/mediatek/mt7601u/dma.h 		FIELD_PREP(MT_TXD_INFO_TYPE, type);
FIELD_PREP         83 drivers/net/wireless/mediatek/mt7601u/dma.h 	flags |= FIELD_PREP(MT_TXD_PKT_INFO_QSEL, qsel);
FIELD_PREP         41 drivers/net/wireless/mediatek/mt7601u/eeprom.c 	val |= FIELD_PREP(MT_EFUSE_CTRL_AIN, addr & ~0xf) |
FIELD_PREP         42 drivers/net/wireless/mediatek/mt7601u/eeprom.c 	       FIELD_PREP(MT_EFUSE_CTRL_MODE, mode) |
FIELD_PREP        103 drivers/net/wireless/mediatek/mt7601u/init.c 	val = FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, MT_USB_AGGR_TIMEOUT) |
FIELD_PREP        104 drivers/net/wireless/mediatek/mt7601u/init.c 	      FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_LMT,
FIELD_PREP        393 drivers/net/wireless/mediatek/mt7601u/init.c 		   FIELD_PREP(MT_TXOP_TRUN_EN, 0x3f) |
FIELD_PREP        394 drivers/net/wireless/mediatek/mt7601u/init.c 		   FIELD_PREP(MT_TXOP_EXT_CCA_DLY, 0x58));
FIELD_PREP         24 drivers/net/wireless/mediatek/mt7601u/mac.c 		FIELD_PREP(MT_MAC_ADDR_DW1_U2ME_MASK, 0xff));
FIELD_PREP        136 drivers/net/wireless/mediatek/mt7601u/mac.c 	rateval = FIELD_PREP(MT_RXWI_RATE_MCS, rate_idx);
FIELD_PREP        137 drivers/net/wireless/mediatek/mt7601u/mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_PHY, phy);
FIELD_PREP        138 drivers/net/wireless/mediatek/mt7601u/mac.c 	rateval |= FIELD_PREP(MT_RXWI_RATE_BW, bw);
FIELD_PREP        281 drivers/net/wireless/mediatek/mt7601u/mac.c 	val |= FIELD_PREP(MT_BEACON_TIME_CFG_INTVAL, interval << 4) |
FIELD_PREP        360 drivers/net/wireless/mediatek/mt7601u/mac.c 	attr = FIELD_PREP(MT_WCID_ATTR_BSS_IDX, vif_idx & 7) |
FIELD_PREP        361 drivers/net/wireless/mediatek/mt7601u/mac.c 	       FIELD_PREP(MT_WCID_ATTR_BSS_IDX_EXT, !!(vif_idx & 8));
FIELD_PREP        393 drivers/net/wireless/mediatek/mt7601u/mac.c 		   FIELD_PREP(MT_MAX_LEN_CFG_AMPDU, min_factor));
FIELD_PREP        561 drivers/net/wireless/mediatek/mt7601u/mac.c 	val |= FIELD_PREP(MT_WCID_ATTR_PKEY_MODE, cipher & 7) |
FIELD_PREP        562 drivers/net/wireless/mediatek/mt7601u/mac.c 	       FIELD_PREP(MT_WCID_ATTR_PKEY_MODE_EXT, cipher >> 3);
FIELD_PREP         38 drivers/net/wireless/mediatek/mt7601u/mcu.c 				     FIELD_PREP(MT_TXD_CMD_INFO_SEQ, seq) |
FIELD_PREP         39 drivers/net/wireless/mediatek/mt7601u/mcu.c 				     FIELD_PREP(MT_TXD_CMD_INFO_TYPE, cmd)));
FIELD_PREP        291 drivers/net/wireless/mediatek/mt7601u/mcu.c 	reg = cpu_to_le32(FIELD_PREP(MT_TXD_INFO_TYPE, DMA_PACKET) |
FIELD_PREP        292 drivers/net/wireless/mediatek/mt7601u/mcu.c 			  FIELD_PREP(MT_TXD_INFO_D_PORT, CPU_TX_PORT) |
FIELD_PREP        293 drivers/net/wireless/mediatek/mt7601u/mcu.c 			  FIELD_PREP(MT_TXD_INFO_LEN, len));
FIELD_PREP        298 drivers/net/wireless/mediatek/mt7601u/mt7601u.h 	mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
FIELD_PREP         37 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_RF_CSR_CFG_DATA, value) |
FIELD_PREP         38 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_RF_CSR_CFG_REG_BANK, bank) |
FIELD_PREP         39 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_RF_CSR_CFG_REG_ID, offset) |
FIELD_PREP         71 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_RF_CSR_CFG_REG_BANK, bank) |
FIELD_PREP         72 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_RF_CSR_CFG_REG_ID, offset) |
FIELD_PREP        136 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_BBP_CSR_CFG_VAL, val) |
FIELD_PREP        137 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_BBP_CSR_CFG_REG_NUM, offset) |
FIELD_PREP        160 drivers/net/wireless/mediatek/mt7601u/phy.c 		   FIELD_PREP(MT_BBP_CSR_CFG_REG_NUM, offset) |
FIELD_PREP        170 drivers/net/wireless/mediatek/mt7601u/tx.c 		txwi->ack_ctl |= FIELD_PREP(MT_TXWI_ACK_CTL_BA_WINDOW, ba_size);
FIELD_PREP        174 drivers/net/wireless/mediatek/mt7601u/tx.c 				    FIELD_PREP(MT_TXWI_FLAGS_MPDU_DENSITY,
FIELD_PREP        184 drivers/net/wireless/mediatek/mt7601u/tx.c 	pkt_len |= FIELD_PREP(MT_TXWI_LEN_PKTID, pkt_id);
FIELD_PREP        281 drivers/net/wireless/mediatek/mt7601u/tx.c 	val = FIELD_PREP(MT_EDCA_CFG_AIFSN, params->aifs) |
FIELD_PREP        282 drivers/net/wireless/mediatek/mt7601u/tx.c 	      FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) |
FIELD_PREP        283 drivers/net/wireless/mediatek/mt7601u/tx.c 	      FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max);
FIELD_PREP        291 drivers/net/wireless/mediatek/mt7601u/tx.c 		val |= FIELD_PREP(MT_EDCA_CFG_TXOP, params->txop);
FIELD_PREP         97 drivers/nvmem/meson-mx-efuse.c 	regval = FIELD_PREP(MESON_MX_EFUSE_CNTL1_BYTE_ADDR_MASK, addr);
FIELD_PREP        110 drivers/pci/controller/dwc/pci-imx6.c #define PCIE_PHY_CTRL_DATA(x)		FIELD_PREP(GENMASK(15, 0), (x))
FIELD_PREP        613 drivers/pci/controller/dwc/pci-imx6.c 		val    = FIELD_PREP(IMX8MQ_GPR12_PCIE2_CTRL_DEVICE_TYPE,
FIELD_PREP        617 drivers/pci/controller/dwc/pci-imx6.c 		val  = FIELD_PREP(IMX6Q_GPR12_DEVICE_TYPE,
FIELD_PREP        217 drivers/pci/controller/dwc/pcie-al.c 	reg = FIELD_PREP(CFG_TARGET_BUS_MASK_MASK, mask_target_bus) |
FIELD_PREP        218 drivers/pci/controller/dwc/pcie-al.c 	      FIELD_PREP(CFG_TARGET_BUS_BUSNUM_MASK, target_bus);
FIELD_PREP        335 drivers/pci/controller/dwc/pcie-al.c 	reg |= FIELD_PREP(CFG_CONTROL_SUBBUS_MASK, subordinate_bus) |
FIELD_PREP        336 drivers/pci/controller/dwc/pcie-al.c 	       FIELD_PREP(CFG_CONTROL_SEC_BUS_MASK, secondary_bus);
FIELD_PREP         35 drivers/pci/controller/dwc/pcie-designware.h #define PORT_LINK_MODE(n)		FIELD_PREP(PORT_LINK_MODE_MASK, n)
FIELD_PREP         51 drivers/pci/controller/dwc/pcie-designware.h #define PORT_LOGIC_LINK_WIDTH(n)	FIELD_PREP(PORT_LOGIC_LINK_WIDTH_MASK, n)
FIELD_PREP         81 drivers/pci/controller/dwc/pcie-designware.h #define PCIE_ATU_BUS(x)			FIELD_PREP(GENMASK(31, 24), x)
FIELD_PREP         82 drivers/pci/controller/dwc/pcie-designware.h #define PCIE_ATU_DEV(x)			FIELD_PREP(GENMASK(23, 19), x)
FIELD_PREP         83 drivers/pci/controller/dwc/pcie-designware.h #define PCIE_ATU_FUNC(x)		FIELD_PREP(GENMASK(18, 16), x)
FIELD_PREP        365 drivers/pci/controller/pci-thunder-pem.c 	res_pem->start = PEM_RES_BASE | FIELD_PREP(PEM_NODE_MASK, node) |
FIELD_PREP        366 drivers/pci/controller/pci-thunder-pem.c 					FIELD_PREP(PEM_INDX_MASK, index);
FIELD_PREP        337 drivers/perf/fsl_imx8_ddr_perf.c 		val |= FIELD_PREP(CNTL_CSV_MASK, config);
FIELD_PREP        180 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_M, 20) |
FIELD_PREP        181 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_N, 1) |
FIELD_PREP        183 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_LOCK_LONG, 1) |
FIELD_PREP        189 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R17_MPLL_FRAC_IN, 0) |
FIELD_PREP        190 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R17_MPLL_LAMBDA1, 7) |
FIELD_PREP        191 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R17_MPLL_LAMBDA0, 7) |
FIELD_PREP        192 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R17_MPLL_FILTER_PVT2, 2) |
FIELD_PREP        193 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R17_MPLL_FILTER_PVT1, 9));
FIELD_PREP        196 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_LKW_SEL, 1) |
FIELD_PREP        197 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_LK_W, 9) |
FIELD_PREP        198 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_LK_S, 0x27) |
FIELD_PREP        199 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_PFD_GAIN, 1) |
FIELD_PREP        200 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_ROU, 7) |
FIELD_PREP        201 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_DATA_SEL, 3) |
FIELD_PREP        202 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_BIAS_ADJ, 1) |
FIELD_PREP        203 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_BB_MODE, 0) |
FIELD_PREP        204 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_ALPHA, 3) |
FIELD_PREP        205 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R18_MPLL_ADJ_LDO, 1) |
FIELD_PREP        212 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_M, 20) |
FIELD_PREP        213 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_N, 1) |
FIELD_PREP        215 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R16_MPLL_LOCK_LONG, 1) |
FIELD_PREP        221 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_OTG_VBUS_TRIM_2_0, 4) |
FIELD_PREP        223 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_DMON_SEL_3_0, 15) |
FIELD_PREP        225 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_EDGE_DRV_TRIM_1_0, 3) |
FIELD_PREP        226 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_BGR_ADJ_4_0, 0) |
FIELD_PREP        227 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_BGR_VREF_4_0, 0) |
FIELD_PREP        228 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R20_USB2_BGR_DBG_1_0, 0));
FIELD_PREP        231 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R4_CALIB_CODE_7_0, 0xf) |
FIELD_PREP        232 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R4_CALIB_CODE_15_8, 0xf) |
FIELD_PREP        233 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R4_CALIB_CODE_23_16, 0xf) |
FIELD_PREP        235 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R4_I_C2L_BIAS_TRIM_1_0, 0) |
FIELD_PREP        236 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R4_I_C2L_BIAS_TRIM_3_2, 0));
FIELD_PREP        240 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R3_SQUELCH_REF, 0) |
FIELD_PREP        241 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R3_HSDIC_REF, 1) |
FIELD_PREP        242 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R3_DISC_THRESH, 3));
FIELD_PREP        248 drivers/phy/amlogic/phy-meson-g12a-usb2.c 		     FIELD_PREP(PHY_CTRL_R13_MIN_COUNT_FOR_SYNC_DET, 7));
FIELD_PREP         75 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 	reg = FIELD_PREP(PHY_R4_PHY_CR_DATA_IN, addr);
FIELD_PREP        143 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 	reg = FIELD_PREP(PHY_R4_PHY_CR_DATA_IN, data);
FIELD_PREP        265 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 			FIELD_PREP(PHY_R2_PHY_TX_VBOOST_LVL, 0x4));
FIELD_PREP        269 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 			FIELD_PREP(PHY_R1_PHY_LOS_BIAS, 4) |
FIELD_PREP        270 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 			FIELD_PREP(PHY_R1_PHY_LOS_LEVEL, 9));
FIELD_PREP        291 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c 			   FIELD_PREP(PHY_R0_PCIE_POWER_STATE, 0x1c));
FIELD_PREP        107 drivers/phy/amlogic/phy-meson-gxl-usb3.c 			   FIELD_PREP(USB_R5_ID_DIG_TH_MASK, 0xff));
FIELD_PREP        174 drivers/phy/amlogic/phy-meson-gxl-usb3.c 			   FIELD_PREP(USB_R1_U3H_FLADJ_30MHZ_REG_MASK, 0x20));
FIELD_PREP        161 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c 			   FIELD_PREP(PCIE_PHY_PLL_A_CTRL3_MMD_MASK, 0x1));
FIELD_PREP        171 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c 			   FIELD_PREP(PCIE_PHY_PLL_CTRL2_CONST_SDM_MASK,
FIELD_PREP         72 drivers/phy/socionext/phy-uniphier-pcie.c 	val  = FIELD_PREP(TESTI_DAT_MASK, 1);
FIELD_PREP         73 drivers/phy/socionext/phy-uniphier-pcie.c 	val |= FIELD_PREP(TESTI_ADR_MASK, reg);
FIELD_PREP         78 drivers/phy/socionext/phy-uniphier-pcie.c 	val &= ~FIELD_PREP(TESTI_DAT_MASK, mask);
FIELD_PREP         79 drivers/phy/socionext/phy-uniphier-pcie.c 	val  = FIELD_PREP(TESTI_DAT_MASK, mask & param);
FIELD_PREP         80 drivers/phy/socionext/phy-uniphier-pcie.c 	val |= FIELD_PREP(TESTI_ADR_MASK, reg);
FIELD_PREP         86 drivers/phy/socionext/phy-uniphier-pcie.c 	val  = FIELD_PREP(TESTI_DAT_MASK, 1);
FIELD_PREP         87 drivers/phy/socionext/phy-uniphier-pcie.c 	val |= FIELD_PREP(TESTI_ADR_MASK, reg);
FIELD_PREP        127 drivers/phy/socionext/phy-uniphier-pcie.c 				   FIELD_PREP(RX_EQ_ADJ, RX_EQ_ADJ_VAL));
FIELD_PREP        129 drivers/phy/socionext/phy-uniphier-pcie.c 				   FIELD_PREP(VCO_CTRL, VCO_CTRL_INIT_VAL));
FIELD_PREP         89 drivers/phy/socionext/phy-uniphier-usb3hs.c 	*pconfig |= FIELD_PREP(HSPHY_CFG0_RTERM_MASK, pt->rterm);
FIELD_PREP         92 drivers/phy/socionext/phy-uniphier-usb3hs.c 	*pconfig |= FIELD_PREP(HSPHY_CFG0_SEL_T_MASK, pt->sel_t);
FIELD_PREP         95 drivers/phy/socionext/phy-uniphier-usb3hs.c 	*pconfig |= FIELD_PREP(HSPHY_CFG0_HS_I_MASK,  pt->hs_i);
FIELD_PREP        166 drivers/phy/socionext/phy-uniphier-usb3hs.c 		*pconfig |= FIELD_PREP(HSPHY_CFG0_HSDISC_MASK, 3);
FIELD_PREP        181 drivers/phy/socionext/phy-uniphier-usb3hs.c 	val |= FIELD_PREP(HSPHY_CFG1_ADR_MASK, p->field.reg_no)
FIELD_PREP        190 drivers/phy/socionext/phy-uniphier-usb3hs.c 	val &= ~FIELD_PREP(HSPHY_CFG1_DAT_MASK, field_mask);
FIELD_PREP        192 drivers/phy/socionext/phy-uniphier-usb3hs.c 	val |=  FIELD_PREP(HSPHY_CFG1_DAT_MASK, data) | HSPHY_CFG1_DAT_EN;
FIELD_PREP         84 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val  = FIELD_PREP(TESTI_DAT_MASK, 1);
FIELD_PREP         85 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
FIELD_PREP         90 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val &= ~FIELD_PREP(TESTI_DAT_MASK, field_mask);
FIELD_PREP         92 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val  = FIELD_PREP(TESTI_DAT_MASK, data);
FIELD_PREP         93 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
FIELD_PREP         99 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val  = FIELD_PREP(TESTI_DAT_MASK, 1);
FIELD_PREP        100 drivers/phy/socionext/phy-uniphier-usb3ss.c 	val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
FIELD_PREP        128 drivers/phy/st/phy-stm32-usbphyc.c 	ndiv = FIELD_PREP(PLLNDIV, pll_params.ndiv);
FIELD_PREP        129 drivers/phy/st/phy-stm32-usbphyc.c 	frac = FIELD_PREP(PLLFRACIN, pll_params.frac);
FIELD_PREP       1150 drivers/platform/mellanox/mlxbf-tmfifo.c 		FIELD_PREP(MLXBF_TMFIFO_TX_CTL__LWM_MASK,
FIELD_PREP       1153 drivers/platform/mellanox/mlxbf-tmfifo.c 		FIELD_PREP(MLXBF_TMFIFO_TX_CTL__HWM_MASK,
FIELD_PREP       1162 drivers/platform/mellanox/mlxbf-tmfifo.c 		FIELD_PREP(MLXBF_TMFIFO_RX_CTL__LWM_MASK, 0);
FIELD_PREP       1164 drivers/platform/mellanox/mlxbf-tmfifo.c 		FIELD_PREP(MLXBF_TMFIFO_RX_CTL__HWM_MASK, 1);
FIELD_PREP         41 drivers/pwm/pwm-imx-tpm.c #define PWM_IMX_TPM_SC_CMOD_INC_EVERY_CLK	FIELD_PREP(PWM_IMX_TPM_SC_CMOD, 1)
FIELD_PREP         54 drivers/pwm/pwm-imx-tpm.c #define PWM_IMX_TPM_CnSC_ELS_INVERSED	FIELD_PREP(PWM_IMX_TPM_CnSC_ELS, 1)
FIELD_PREP         55 drivers/pwm/pwm-imx-tpm.c #define PWM_IMX_TPM_CnSC_ELS_NORMAL	FIELD_PREP(PWM_IMX_TPM_CnSC_ELS, 2)
FIELD_PREP        202 drivers/pwm/pwm-imx-tpm.c 		val |= FIELD_PREP(PWM_IMX_TPM_SC_PS, p->prescale);
FIELD_PREP         74 drivers/pwm/pwm-imx27.c #define MX3_PWMCR_PRESCALER_SET(x)	FIELD_PREP(MX3_PWMCR_PRESCALER, (x) - 1)
FIELD_PREP        266 drivers/pwm/pwm-imx27.c 		     FIELD_PREP(MX3_PWMCR_CLKSRC, MX3_PWMCR_CLKSRC_IPG_HIGH) |
FIELD_PREP        270 drivers/pwm/pwm-imx27.c 			cr |= FIELD_PREP(MX3_PWMCR_POUTC,
FIELD_PREP        242 drivers/pwm/pwm-meson.c 	value = FIELD_PREP(PWM_HIGH_MASK, channel->hi) |
FIELD_PREP        243 drivers/pwm/pwm-meson.c 		FIELD_PREP(PWM_LOW_MASK, channel->lo);
FIELD_PREP         99 drivers/pwm/pwm-sifive.c 	      FIELD_PREP(PWM_SIFIVE_PWMCFG_SCALE, scale);
FIELD_PREP         96 drivers/pwm/pwm-stm32-lp.c 		val = FIELD_PREP(STM32_LPTIM_PRESC, presc);
FIELD_PREP         97 drivers/pwm/pwm-stm32-lp.c 		val |= FIELD_PREP(STM32_LPTIM_WAVPOL, state->polarity);
FIELD_PREP        265 drivers/pwm/pwm-stm32.c 			   FIELD_PREP(TIM_CCMR_IC1PSC, icpsc) |
FIELD_PREP        266 drivers/pwm/pwm-stm32.c 			   FIELD_PREP(TIM_CCMR_IC2PSC, icpsc));
FIELD_PREP        133 drivers/regulator/stm32-vrefbuf.c 	val = (val & ~STM32_VRS) | FIELD_PREP(STM32_VRS, sel);
FIELD_PREP        114 drivers/rtc/rtc-cadence.c 	return FIELD_PREP(CDNS_RTC_TIME_S,  bin2bcd(tm->tm_sec))
FIELD_PREP        115 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_TIME_M,  bin2bcd(tm->tm_min))
FIELD_PREP        116 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_TIME_HR, bin2bcd(tm->tm_hour));
FIELD_PREP        163 drivers/rtc/rtc-cadence.c 	calr = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(tm->tm_mday))
FIELD_PREP        164 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_CAL_M, bin2bcd(tm->tm_mon + 1))
FIELD_PREP        165 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_CAL_Y, bin2bcd(year % 100))
FIELD_PREP        166 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_CAL_C, bin2bcd(year / 100))
FIELD_PREP        167 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_CAL_DAY, tm->tm_wday + 1);
FIELD_PREP        227 drivers/rtc/rtc-cadence.c 	calar = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(alarm->time.tm_mday))
FIELD_PREP        228 drivers/rtc/rtc-cadence.c 	      | FIELD_PREP(CDNS_RTC_CAL_M, bin2bcd(alarm->time.tm_mon + 1));
FIELD_PREP        216 drivers/rtc/rtc-meson.c 		     FIELD_PREP(RTC_REG4_STATIC_VALUE, (data >> 8)));
FIELD_PREP        219 drivers/rtc/rtc-meson.c 	tmp = FIELD_PREP(RTC_ADDR0_DATA, (data & 0xff)) | RTC_ADDR0_START_SER;
FIELD_PREP        161 drivers/scsi/ufs/ufs-sysfs.c 	return FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, timer) |
FIELD_PREP        162 drivers/scsi/ufs/ufs-sysfs.c 	       FIELD_PREP(UFSHCI_AHIBERN8_SCALE_MASK, scale);
FIELD_PREP       8407 drivers/scsi/ufs/ufshcd.c 		hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 150) |
FIELD_PREP       8408 drivers/scsi/ufs/ufshcd.c 			    FIELD_PREP(UFSHCI_AHIBERN8_SCALE_MASK, 3);
FIELD_PREP        505 drivers/soc/amlogic/meson-clk-measure.c 			   FIELD_PREP(MSR_DURATION, duration - 1));
FIELD_PREP        509 drivers/soc/amlogic/meson-clk-measure.c 			   FIELD_PREP(MSR_CLK_SRC, clk_msr_id->id));
FIELD_PREP        231 drivers/spi/spi-meson-spicc.c 			FIELD_PREP(SPICC_BURSTLENGTH_MASK,
FIELD_PREP        330 drivers/spi/spi-meson-spicc.c 	conf |= FIELD_PREP(SPICC_DATARATE_MASK, div);
FIELD_PREP        348 drivers/spi/spi-meson-spicc.c 	conf |= FIELD_PREP(SPICC_BITLENGTH_MASK,
FIELD_PREP        431 drivers/spi/spi-meson-spicc.c 		conf |= FIELD_PREP(SPICC_DRCTL_MASK, SPICC_DRCTL_LOWLEVEL);
FIELD_PREP        433 drivers/spi/spi-meson-spicc.c 		conf |= FIELD_PREP(SPICC_DRCTL_MASK, SPICC_DRCTL_IGNORE);
FIELD_PREP        436 drivers/spi/spi-meson-spicc.c 	conf |= FIELD_PREP(SPICC_CS_MASK, spi->chip_select);
FIELD_PREP        441 drivers/spi/spi-meson-spicc.c 	conf |= FIELD_PREP(SPICC_BITLENGTH_MASK, 8 - 1);
FIELD_PREP        357 drivers/spi/spi-stm32-qspi.c 	cr |= FIELD_PREP(CR_PRESC_MASK, flash->presc);
FIELD_PREP        358 drivers/spi/spi-stm32-qspi.c 	cr |= FIELD_PREP(CR_FSEL, flash->cs);
FIELD_PREP        368 drivers/spi/spi-stm32-qspi.c 	ccr |= FIELD_PREP(CCR_INST_MASK, op->cmd.opcode);
FIELD_PREP        369 drivers/spi/spi-stm32-qspi.c 	ccr |= FIELD_PREP(CCR_IMODE_MASK,
FIELD_PREP        373 drivers/spi/spi-stm32-qspi.c 		ccr |= FIELD_PREP(CCR_ADMODE_MASK,
FIELD_PREP        375 drivers/spi/spi-stm32-qspi.c 		ccr |= FIELD_PREP(CCR_ADSIZE_MASK, op->addr.nbytes - 1);
FIELD_PREP        379 drivers/spi/spi-stm32-qspi.c 		ccr |= FIELD_PREP(CCR_DCYC_MASK,
FIELD_PREP        383 drivers/spi/spi-stm32-qspi.c 		ccr |= FIELD_PREP(CCR_DMODE_MASK,
FIELD_PREP        164 drivers/spi/spi-uniphier.c 		val1 |= FIELD_PREP(SSI_TXWDS_TDTF_MASK, 1);
FIELD_PREP        176 drivers/spi/spi-uniphier.c 	val |= FIELD_PREP(SSI_TXWDS_WDLEN_MASK, size);
FIELD_PREP        177 drivers/spi/spi-uniphier.c 	val |= FIELD_PREP(SSI_TXWDS_DTLEN_MASK, size);
FIELD_PREP        182 drivers/spi/spi-uniphier.c 	val |= FIELD_PREP(SSI_RXWDS_DTLEN_MASK, size);
FIELD_PREP        300 drivers/spi/spi-uniphier.c 	val |= FIELD_PREP(SSI_FC_TXFTH_MASK, SSI_FIFO_DEPTH - threshold);
FIELD_PREP        301 drivers/spi/spi-uniphier.c 	val |= FIELD_PREP(SSI_FC_RXFTH_MASK, threshold);
FIELD_PREP        179 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R3_P30_SSC_RANGE_MASK, 2) |
FIELD_PREP        185 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R2_P30_PCS_TX_DEEMPH_3P5DB_MASK, 0x15));
FIELD_PREP        189 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R2_P30_PCS_TX_DEEMPH_6DB_MASK, 0x20));
FIELD_PREP        199 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R1_P30_PCS_TX_SWING_FULL_MASK, 127));
FIELD_PREP        229 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R1_U3H_FLADJ_30MHZ_REG_MASK, 0x20));
FIELD_PREP        239 drivers/usb/dwc3/dwc3-meson-g12a.c 			FIELD_PREP(USB_R5_ID_DIG_TH_MASK, 0xff));
FIELD_PREP        824 net/mac80211/sta_info.h #define STA_STATS_FIELD(_n, _v)		FIELD_PREP(STA_STATS_FIELD_ ## _n, _v)
FIELD_PREP        208 sound/soc/meson/axg-spdifin.c 			   FIELD_PREP(SPDIFIN_CTRL1_BASE_TIMER, rate / 1000));
FIELD_PREP        307 sound/soc/meson/axg-spdifin.c 				   FIELD_PREP(SPDIFIN_CTRL0_STATUS_SEL, i));
FIELD_PREP        124 sound/soc/meson/g12a-tohdmitx.c 				      FIELD_PREP(CTRL0_I2S_DAT_SEL, mux) |
FIELD_PREP        125 sound/soc/meson/g12a-tohdmitx.c 				      FIELD_PREP(CTRL0_I2S_LRCLK_SEL, mux) |
FIELD_PREP        126 sound/soc/meson/g12a-tohdmitx.c 				      FIELD_PREP(CTRL0_I2S_BCLK_SEL, mux));
FIELD_PREP        176 sound/soc/meson/g12a-tohdmitx.c 				      FIELD_PREP(CTRL0_SPDIF_SEL, mux) |
FIELD_PREP        177 sound/soc/meson/g12a-tohdmitx.c 				      FIELD_PREP(CTRL0_SPDIF_CLK_SEL, mux));
FIELD_PREP         77 sound/soc/stm/stm32_sai.c 	writel_relaxed(FIELD_PREP(SAI_GCR_SYNCIN_MASK, (synci - 1)), sai->base);
FIELD_PREP        107 sound/soc/stm/stm32_sai.c 	writel_relaxed(FIELD_PREP(SAI_GCR_SYNCOUT_MASK, synco), sai->base);