Home
last modified time | relevance | path

Searched refs:ctrl_word (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/netronome/nfp/crypto/
Dipsec.c107 } ctrl_word; member
181 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES128_NULL : in set_aes_keylen()
185 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES192_NULL : in set_aes_keylen()
189 cfg->ctrl_word.cipher = aes_gmac ? NFP_IPSEC_CIPHER_AES256_NULL : in set_aes_keylen()
203 cfg->ctrl_word.hash = NFP_IPSEC_HASH_MD5_96; in set_md5hmac()
206 cfg->ctrl_word.hash = NFP_IPSEC_HASH_MD5_128; in set_md5hmac()
217 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA1_96; in set_sha1hmac()
220 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA1_80; in set_sha1hmac()
231 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA256_96; in set_sha2_256hmac()
234 cfg->ctrl_word.hash = NFP_IPSEC_HASH_SHA256_128; in set_sha2_256hmac()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_nvm.c943 u16 ctrl_word; in ice_determine_active_flash_banks() local
946 status = ice_read_sr_word(hw, ICE_SR_NVM_CTRL_WORD, &ctrl_word); in ice_determine_active_flash_banks()
953 if ((ctrl_word & ICE_SR_CTRL_WORD_1_M) >> ICE_SR_CTRL_WORD_1_S != ICE_SR_CTRL_WORD_VALID) { in ice_determine_active_flash_banks()
958 if (!(ctrl_word & ICE_SR_CTRL_WORD_NVM_BANK)) in ice_determine_active_flash_banks()
963 if (!(ctrl_word & ICE_SR_CTRL_WORD_OROM_BANK)) in ice_determine_active_flash_banks()
968 if (!(ctrl_word & ICE_SR_CTRL_WORD_NETLIST_BANK)) in ice_determine_active_flash_banks()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c289 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
354 rctx->ctrl_word.flags = 0; in cpt_enc_dec()
977 rctx->ctrl_word.e.enc_data_offset = req->assoclen; in create_aead_ctx_hdr()
1005 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
1012 rctx->ctrl_word.flags = cpu_to_be64(rctx->ctrl_word.cflags); in create_aead_ctx_hdr()
1038 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1228 rctx->ctrl_word.flags = 0; in cpt_aead_enc_dec()
Dotx_cptvf_algs.h161 union otx_cpt_offset_ctrl_word ctrl_word; member
/Linux-v6.6/drivers/net/ethernet/smsc/
Depic100.c951 u32 ctrl_word; in epic_start_xmit() local
970 ctrl_word = 0x100000; /* No interrupt */ in epic_start_xmit()
972 ctrl_word = 0x140000; /* Tx-done intr. */ in epic_start_xmit()
974 ctrl_word = 0x100000; /* No Tx-done intr. */ in epic_start_xmit()
977 ctrl_word = 0x140000; /* Tx-done intr. */ in epic_start_xmit()
980 ep->tx_ring[entry].buflength = ctrl_word | skb->len; in epic_start_xmit()
995 skb->len, entry, ctrl_word, er32(TxSTAT)); in epic_start_xmit()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.h147 union otx2_cpt_offset_ctrl ctrl_word; member
Dotx2_cptvf_algs.c274 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
368 rctx->ctrl_word.flags = 0; in cpt_enc_dec()
1024 rctx->ctrl_word.e.enc_data_offset = req->assoclen; in create_aead_ctx_hdr()
1058 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
1065 cpu_to_be64s(&rctx->ctrl_word.flags); in create_aead_ctx_hdr()
1091 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1293 rctx->ctrl_word.flags = 0; in cpt_aead_enc_dec()