Home
last modified time | relevance | path

Searched refs:hw_ctx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.h24 void *hw_ctx; member
30 void *hw_ctx; member
52 void (*cleanup_hw_ctx)(void *hw_ctx);
H A Dkirin_drm_drv.c38 void *hw_ctx; member
98 data->cleanup_hw_ctx(kirin_priv->hw_ctx); in kirin_drm_private_cleanup()
126 kirin_priv->hw_ctx = ctx; in kirin_drm_private_init()
143 kirin_priv->planes[ch].hw_ctx = ctx; in kirin_drm_private_init()
152 kirin_priv->crtc.hw_ctx = ctx; in kirin_drm_private_init()
H A Dkirin_drm_ade.c147 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_fixup()
280 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_enable_vblank()
295 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_disable_vblank()
444 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_enable()
467 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_disable()
480 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_mode_set_nofb()
493 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_begin()
507 struct ade_hw_ctx *ctx = kcrtc->hw_ctx; in ade_crtc_atomic_flush()
716 struct ade_hw_ctx *ctx = kplane->hw_ctx; in ade_update_channel()
745 struct ade_hw_ctx *ctx = kplane->hw_ctx; in ade_disable_channel()
[all …]
/linux/drivers/crypto/marvell/octeontx2/
H A Dcn10k_cpt.c154 kfree(er_ctx->hw_ctx); in cn10k_cpt_hw_ctx_clear()
174 er_ctx->hw_ctx = NULL; in cn10k_cpt_hw_ctx_init()
190 er_ctx->hw_ctx = hctx; in cn10k_cpt_hw_ctx_init()
H A Dcn10k_cpt.h27 union cn10k_cpt_hw_ctx *hw_ctx; member
H A Dotx2_cptvf_algs.c390 req_info->req.cptr = ctx->er_ctx.hw_ctx; in cpt_enc_dec()
1257 req_info->req.cptr = ctx->er_ctx.hw_ctx; in cpt_aead_enc_dec()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_ipsec.h146 u64 hw_ctx[6]; /* W31 - W36 */ member
H A Dcn10k_ipsec.c498 return (offsetof(struct cn10k_tx_sa_s, hw_ctx) / sizeof(u64)) & 0x7F; in cn10k_ipsec_get_hw_ctx_offset()
504 return (roundup(offsetof(struct cn10k_tx_sa_s, hw_ctx), 8) / 8) & 0x7F; in cn10k_ipsec_get_ctx_push_size()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c340 struct artpec6_crypto_aead_hw_ctx hw_ctx; member
1913 req_ctx->hw_ctx.aad_length_bits = in artpec6_crypto_prepare_aead()
1916 req_ctx->hw_ctx.text_length_bits = in artpec6_crypto_prepare_aead()
1919 memcpy(req_ctx->hw_ctx.J0, areq->iv, crypto_aead_ivsize(cipher)); in artpec6_crypto_prepare_aead()
1921 memcpy(req_ctx->hw_ctx.J0 + GCM_AES_IV_SIZE, "\x00\x00\x00\x01", 4); in artpec6_crypto_prepare_aead()
1923 ret = artpec6_crypto_setup_out_descr(common, &req_ctx->hw_ctx, in artpec6_crypto_prepare_aead()