Home
last modified time | relevance | path

Searched refs:gctx (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Datom.c184 struct atom_context *gctx = ctx->ctx; in atom_get_src_int() local
193 idx += gctx->reg_block; in atom_get_src_int()
194 switch (gctx->io_mode) { in atom_get_src_int()
196 val = gctx->card->reg_read(gctx->card, idx); in atom_get_src_int()
205 if (!(gctx->io_mode & 0x80)) { in atom_get_src_int()
209 if (!gctx->iio[gctx->io_mode & 0x7F]) { in atom_get_src_int()
211 gctx->io_mode & 0x7F); in atom_get_src_int()
215 atom_iio_execute(gctx, in atom_get_src_int()
216 gctx->iio[gctx->io_mode & 0x7F], in atom_get_src_int()
239 val = gctx->divmul[0]; in atom_get_src_int()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Datom.c186 struct atom_context *gctx = ctx->ctx; in atom_get_src_int() local
195 idx += gctx->reg_block; in atom_get_src_int()
196 switch (gctx->io_mode) { in atom_get_src_int()
198 val = gctx->card->reg_read(gctx->card, idx); in atom_get_src_int()
207 if (!(gctx->io_mode & 0x80)) { in atom_get_src_int()
211 if (!gctx->iio[gctx->io_mode & 0x7F]) { in atom_get_src_int()
213 gctx->io_mode & 0x7F); in atom_get_src_int()
217 atom_iio_execute(gctx, in atom_get_src_int()
218 gctx->iio[gctx->io_mode & 0x7F], in atom_get_src_int()
241 val = gctx->divmul[0]; in atom_get_src_int()
[all …]
/linux/crypto/
H A Dgcm.c223 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_hash_len() local
227 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len()
240 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_hash_len_continue() local
242 return gctx->complete(req, flags); in gcm_hash_len_continue()
284 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_hash_crypt_continue() local
287 remain = gcm_remain(gctx->cryptlen); in gcm_hash_crypt_continue()
314 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_hash_assoc_remain_continue() local
316 if (gctx->cryptlen) in gcm_hash_assoc_remain_continue()
318 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
421 struct crypto_gcm_ghash_ctx *gctx = &pctx->ghash_ctx; in gcm_encrypt_continue() local
[all …]
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c523 static u32 gss_krb5_get_mic(struct gss_ctx *gctx, struct xdr_buf *text, in gss_krb5_get_mic() argument
526 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_get_mic()
544 static u32 gss_krb5_verify_mic(struct gss_ctx *gctx, in gss_krb5_verify_mic() argument
548 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_verify_mic()
565 static u32 gss_krb5_wrap(struct gss_ctx *gctx, int offset, in gss_krb5_wrap() argument
568 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_wrap()
587 static u32 gss_krb5_unwrap(struct gss_ctx *gctx, int offset, in gss_krb5_unwrap() argument
590 struct krb5_ctx *kctx = gctx->internal_ctx_id; in gss_krb5_unwrap()
593 &gctx->slack, &gctx->align); in gss_krb5_unwrap()