Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dipsec.c107 } ctrl_word; member
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()
300 cfg->ctrl_word.proto = NFP_IPSEC_PROTOCOL_AH; in nfp_net_xfrm_add_state()
335 cfg->ctrl_word.hash = NFP_IPSEC_HASH_NONE; in nfp_net_xfrm_add_state()
382 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CBC; in nfp_net_xfrm_add_state()
390 cfg->ctrl_word.cimode = NFP_IPSEC_CIMODE_CBC; in nfp_net_xfrm_add_state()
481 cfg->ctrl_word.encap_dsbl = 1; in nfp_net_xfrm_add_state()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c957 u16 ctrl_word; in ice_determine_active_flash_banks() local
960 status = ice_read_sr_word(hw, ICE_SR_NVM_CTRL_WORD, &ctrl_word); in ice_determine_active_flash_banks()
967 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()
972 if (!(ctrl_word & ICE_SR_CTRL_WORD_NVM_BANK)) in ice_determine_active_flash_banks()
977 if (!(ctrl_word & ICE_SR_CTRL_WORD_OROM_BANK)) in ice_determine_active_flash_banks()
982 if (!(ctrl_word & ICE_SR_CTRL_WORD_NETLIST_BANK)) in ice_determine_active_flash_banks()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c290 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
355 rctx->ctrl_word.flags = 0; in cpt_enc_dec()
902 rctx->ctrl_word.e.enc_data_offset = req->assoclen; in create_aead_ctx_hdr()
930 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
937 rctx->ctrl_word.flags = cpu_to_be64(rctx->ctrl_word.cflags); in create_aead_ctx_hdr()
963 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1153 rctx->ctrl_word.flags = 0; in cpt_aead_enc_dec()
H A Dotx_cptvf_algs.h161 union otx_cpt_offset_ctrl_word ctrl_word; member
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h147 union otx2_cpt_offset_ctrl ctrl_word; member
H A Dotx2_cptvf_algs.c275 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
369 rctx->ctrl_word.flags = 0; in cpt_enc_dec()
950 rctx->ctrl_word.e.enc_data_offset = req->assoclen; in create_aead_ctx_hdr()
984 rctx->ctrl_word.e.iv_offset = req->assoclen - AES_GCM_IV_OFFSET; in create_aead_ctx_hdr()
991 cpu_to_be64s(&rctx->ctrl_word.flags); in create_aead_ctx_hdr()
1017 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1219 rctx->ctrl_word.flags = 0; in cpt_aead_enc_dec()
/openbmc/linux/drivers/net/ethernet/smsc/
H A 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()