Lines Matching refs:FIELD_PREP
224 pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); in set_queue_last_ind_bit()
242 pdesc->word[5] |= FIELD_PREP(WORD5_DIN_ADDR_HIGH, upper_32_bits(addr)); in set_din_type()
244 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_DMA_MODE, dma_mode) | in set_din_type()
245 FIELD_PREP(WORD1_DIN_SIZE, size) | in set_din_type()
246 FIELD_PREP(WORD1_NS_BIT, axi_sec); in set_din_type()
260 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size); in set_din_no_dma()
273 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, CC_CPP_DIN_SIZE); in set_cpp_crypto_key()
274 pdesc->word[1] |= FIELD_PREP(WORD1_LOCK_QUEUE, 1); in set_cpp_crypto_key()
276 pdesc->word[4] |= FIELD_PREP(WORD4_SETUP_OPERATION, slot); in set_cpp_crypto_key()
291 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size) | in set_din_sram()
292 FIELD_PREP(WORD1_DIN_DMA_MODE, DMA_SRAM); in set_din_sram()
305 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_CONST_VALUE, 1) | in set_din_const()
306 FIELD_PREP(WORD1_DIN_DMA_MODE, DMA_SRAM) | in set_din_const()
307 FIELD_PREP(WORD1_DIN_SIZE, size); in set_din_const()
317 pdesc->word[1] |= FIELD_PREP(WORD1_NOT_LAST, 1); in set_din_not_last_indication()
335 pdesc->word[5] |= FIELD_PREP(WORD5_DOUT_ADDR_HIGH, upper_32_bits(addr)); in set_dout_type()
337 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, dma_mode) | in set_dout_type()
338 FIELD_PREP(WORD3_DOUT_SIZE, size) | in set_dout_type()
339 FIELD_PREP(WORD3_NS_BIT, axi_sec); in set_dout_type()
357 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_LAST_IND, last_ind); in set_dout_dlli()
374 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_LAST_IND, last_ind); in set_dout_mlli()
390 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_SIZE, size) | in set_dout_no_dma()
391 FIELD_PREP(WORD3_DOUT_LAST_IND, write_enable); in set_dout_no_dma()
412 pdesc->word[3] |= FIELD_PREP(WORD3_HASH_XOR_BIT, 1); in set_xor_active()
423 pdesc->word[4] |= FIELD_PREP(WORD4_AES_SEL_N_HASH, 1); in set_aes_not_hash_mode()
434 pdesc->word[4] |= FIELD_PREP(WORD4_AES_XOR_CRYPTO_KEY, 1); in set_aes_xor_crypto_key()
449 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, DMA_SRAM) | in set_dout_sram()
450 FIELD_PREP(WORD3_DOUT_SIZE, size); in set_dout_sram()
486 pdesc->word[4] |= FIELD_PREP(WORD4_DATA_FLOW_MODE, mode); in set_flow_mode()
497 pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_MODE, mode); in set_cipher_mode()
524 pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_CONF0, mode); in set_cipher_config0()
536 pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_CONF1, config); in set_cipher_config1()
548 pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_DO, in set_hw_crypto_key()
550 FIELD_PREP(WORD4_CIPHER_CONF2, in set_hw_crypto_key()
562 pdesc->word[4] |= FIELD_PREP(WORD4_BYTES_SWAP, config); in set_bytes_swap()
572 pdesc->word[4] |= FIELD_PREP(WORD4_CMAC_SIZE0, 1); in set_cmac_size0_mode()
583 pdesc->word[4] |= FIELD_PREP(WORD4_KEY_SIZE, size); in set_key_size()
617 pdesc->word[4] |= FIELD_PREP(WORD4_SETUP_OPERATION, mode); in set_setup_mode()
629 pdesc->word[4] |= FIELD_PREP(WORD4_CIPHER_DO, in set_cipher_do()