Lines Matching refs:word
24 #define CC_HWQ_GENMASK(word, field) \ argument
25 CC_GENMASK(CC_DSCRPTR_QUEUE_WORD ## word ## _ ## field)
64 u32 word[HW_DESC_SIZE_WORDS]; member
224 pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); in set_queue_last_ind_bit()
240 pdesc->word[0] = lower_32_bits(addr); in set_din_type()
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()
259 pdesc->word[0] = addr; in set_din_no_dma()
260 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size); in set_din_no_dma()
271 pdesc->word[0] |= CC_CPP_DIN_ADDR; in set_cpp_crypto_key()
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()
290 pdesc->word[0] = addr; in set_din_sram()
291 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size) | in set_din_sram()
304 pdesc->word[0] = val; in set_din_const()
305 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_CONST_VALUE, 1) | in set_din_const()
317 pdesc->word[1] |= FIELD_PREP(WORD1_NOT_LAST, 1); in set_din_not_last_indication()
333 pdesc->word[2] = lower_32_bits(addr); in set_dout_type()
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()
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()
389 pdesc->word[2] = addr; in set_dout_no_dma()
390 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_SIZE, size) | in set_dout_no_dma()
402 pdesc->word[2] = val; in set_xor_val()
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()
448 pdesc->word[2] = addr; in set_dout_sram()
449 pdesc->word[3] |= FIELD_PREP(WORD3_DOUT_DMA_MODE, DMA_SRAM) | in set_dout_sram()
462 pdesc->word[2] = size; in set_xex_data_unit_size()
474 pdesc->word[2] = num; in set_multi2_num_rounds()
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()
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()