/linux-master/arch/sparc/mm/ |
H A D | srmmu.c | 595 int cctx, ctx1; 599 cctx = srmmu_get_context(); 601 if (cctx != ctx1) { 602 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 607 srmmu_set_context(cctx);
|
/linux-master/arch/x86/crypto/ |
H A D | camellia.h | 22 extern int __camellia_setkey(struct camellia_ctx *cctx,
|
H A D | camellia_glue.c | 1230 int __camellia_setkey(struct camellia_ctx *cctx, const unsigned char *key, argument 1236 cctx->key_length = key_len; 1240 camellia_setup128(key, cctx->key_table); 1243 camellia_setup192(key, cctx->key_table); 1246 camellia_setup256(key, cctx->key_table);
|
/linux-master/crypto/ |
H A D | camellia_generic.c | 963 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); local 969 cctx->key_length = key_len; 973 camellia_setup128(key, cctx->key_table); 976 camellia_setup192(key, cctx->key_table); 979 camellia_setup256(key, cctx->key_table); 988 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); local 998 if (cctx->key_length == 16) 1003 camellia_do_encrypt(cctx->key_table, tmp, max); 1014 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); local 1024 if (cctx [all...] |
H A D | zstd.c | 21 zstd_cctx *cctx; member in struct:zstd_ctx 44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size); 45 if (!ctx->cctx) { 83 ctx->cctx = NULL; 157 out_len = zstd_compress_cctx(zctx->cctx, dst, *dlen, src, slen, ¶ms);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 41 nvkm_chan_cctx_bind(struct nvkm_chan *chan, struct nvkm_engn *engn, struct nvkm_cctx *cctx) argument 50 CHAN_TRACE(chan, "%sbind cctx %d[%s]", cctx ? "" : "un", engn->id, engine->subdev.name); 62 engn->func->bind(engn, cctx, chan); 74 struct nvkm_cctx *cctx = *pcctx; local 76 if (cctx) { 77 struct nvkm_engn *engn = cctx->vctx->ectx->engn; 79 if (refcount_dec_and_mutex_lock(&cctx->refs, &chan->cgrp->mutex)) { 80 CHAN_TRACE(chan, "dtor cctx %d[%s]", engn->id, engn->engine->subdev.name); 81 nvkm_cgrp_vctx_put(chan->cgrp, &cctx 97 struct nvkm_cctx *cctx; local [all...] |
H A D | g84.c | 106 g84_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 129 if (!cctx) { 139 start = cctx->vctx->inst->addr; 140 limit = start + cctx->vctx->inst->size - 1;
|
H A D | gf100.c | 161 gf100_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 178 if (cctx) { 179 addr = cctx->vctx->vma->addr;
|
H A D | gk104.c | 134 gk104_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 162 if (cctx) { 163 addr = cctx->vctx->vma->addr;
|
H A D | gv100.c | 92 gv100_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 96 if (cctx) { 97 addr = cctx->vctx->vma->addr; 104 nvkm_mo32(chan->inst, 0x0ac, 0x00010000, cctx ? 0x00010000 : 0x00000000); 117 gv100_ectx_ce_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 119 const u64 bar2 = cctx ? nvkm_memory_bar2(cctx->vctx->inst->memory) : 0ULL; 124 nvkm_mo32(chan->inst, 0x0ac, 0x00020000, cctx ? 0x00020000 : 0x00000000);
|
H A D | nv40.c | 125 nv40_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 149 if (cctx) 150 inst = cctx->vctx->inst->addr >> 4;
|
H A D | nv50.c | 150 nv50_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) argument 165 if (!cctx) { 189 start = cctx->vctx->inst->addr; 190 limit = start + cctx->vctx->inst->size - 1;
|
H A D | uchan.c | 70 struct nvkm_cctx *cctx; member in struct:nvkm_uobj 79 struct nvkm_cctx *cctx = uobj->cctx; local 80 struct nvkm_ectx *ectx = cctx->vctx->ectx; 86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { 102 struct nvkm_cctx *cctx = uobj->cctx; local 103 struct nvkm_ectx *ectx = cctx->vctx->ectx; 110 if (!refcount_inc_not_zero(&cctx->uses)) { 112 if (!refcount_inc_not_zero(&cctx [all...] |
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 2927 struct bnxt_qplib_chip_ctx *cctx; local 2935 cctx = rdev->chip_ctx; 2937 if (cctx->modes.toggle_bits & BNXT_QPLIB_CQ_TOGGLE_BIT) { 2958 struct bnxt_qplib_chip_ctx *cctx; local 2975 cctx = rdev->chip_ctx; 3039 if (cctx->modes.toggle_bits & BNXT_QPLIB_CQ_TOGGLE_BIT) { 4346 struct bnxt_qplib_chip_ctx *cctx; local 4364 cctx = rdev->chip_ctx; 4368 if (cctx->modes.db_push) {
|
H A D | main.c | 93 struct bnxt_qplib_chip_ctx *cctx; local 103 cctx = rdev->chip_ctx; 111 if (bnxt_qplib_is_chip_gen_p7(cctx)) { 126 if (cctx->modes.db_push && l2db_len && en_dev->l2_db_size != barlen) { 134 struct bnxt_qplib_chip_ctx *cctx; local 136 cctx = rdev->chip_ctx; 137 cctx->modes.wqe_mode = bnxt_qplib_is_chip_gen_p5_p7(rdev->chip_ctx) ? 143 cctx->modes.toggle_bits |= BNXT_QPLIB_CQ_TOGGLE_BIT; 155 rdev->qplib_res.cctx = NULL; 178 rdev->qplib_res.cctx 424 struct bnxt_qplib_chip_ctx *cctx; local 450 struct bnxt_qplib_chip_ctx *cctx; local 1490 struct bnxt_qplib_chip_ctx *cctx; local [all...] |
H A D | qplib_fp.c | 379 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, nq->res->cctx, true); 424 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, nq->res->cctx, false); 493 bnxt_qplib_ring_nq_db(&nq->nq_db.dbinfo, res->cctx, true); 920 qp->cctx = res->cctx; 1001 psn_sz = bnxt_qplib_is_chip_gen_p5_p7(res->cctx) ? 1149 qp->cctx = res->cctx; 1655 if (bnxt_qplib_is_chip_gen_p5_p7(qp->cctx)) {
|
H A D | qplib_fp.h | 272 struct bnxt_qplib_chip_ctx *cctx; member in struct:bnxt_qplib_qp
|
H A D | qplib_rcfw.c | 784 rcfw->res->cctx, true); 855 if (bnxt_qplib_is_chip_gen_p5_p7(rcfw->res->cctx)) 982 rcfw->max_timeout = res->cctx->hwrm_cmd_max_timeout; 1002 bnxt_qplib_ring_nq_db(&creq->creq_db.dbinfo, rcfw->res->cctx, false); 1066 bnxt_qplib_ring_nq_db(&creq->creq_db.dbinfo, res->cctx, true);
|
H A D | qplib_res.c | 59 struct bnxt_qplib_chip_ctx *cctx, 556 rc = bnxt_qplib_alloc_stats_ctx(res->pdev, res->cctx, &ctx->stats); 808 if (!bnxt_qplib_is_chip_gen_p5_p7(res->cctx)) { 856 struct bnxt_qplib_chip_ctx *cctx, 861 stats->size = cctx->hw_stats_size; 855 bnxt_qplib_alloc_stats_ctx(struct pci_dev *pdev, struct bnxt_qplib_chip_ctx *cctx, struct bnxt_qplib_stats *stats) argument
|
H A D | qplib_res.h | 301 struct bnxt_qplib_chip_ctx *cctx; member in struct:bnxt_qplib_res 317 static inline bool bnxt_qplib_is_chip_gen_p7(struct bnxt_qplib_chip_ctx *cctx) argument 319 return (cctx->chip_num == CHIP_NUM_58818 || 320 cctx->chip_num == CHIP_NUM_57608); 323 static inline bool bnxt_qplib_is_chip_gen_p5(struct bnxt_qplib_chip_ctx *cctx) argument 325 return (cctx->chip_num == CHIP_NUM_57508 || 326 cctx->chip_num == CHIP_NUM_57504 || 327 cctx->chip_num == CHIP_NUM_57502); 330 static inline bool bnxt_qplib_is_chip_gen_p5_p7(struct bnxt_qplib_chip_ctx *cctx) argument 332 return bnxt_qplib_is_chip_gen_p5(cctx) || bnxt_qplib_is_chip_gen_p 341 bnxt_qplib_get_ring_type(struct bnxt_qplib_chip_ctx *cctx) argument 529 bnxt_qplib_ring_nq_db(struct bnxt_qplib_db_info *info, struct bnxt_qplib_chip_ctx *cctx, bool arm) argument 557 bnxt_qplib_dbr_pacing_en(struct bnxt_qplib_chip_ctx *cctx) argument [all...] |
H A D | qplib_sp.c | 62 if (!bnxt_qplib_is_chip_gen_p5_p7(rcfw->res->cctx)) 136 attr->max_qp_sges = bnxt_qplib_is_chip_gen_p5_p7(rcfw->res->cctx) ? 154 if (!bnxt_qplib_is_chip_gen_p7(rcfw->res->cctx)) 171 if (rcfw->res->cctx->hwrm_intf_ver >= HWRM_VERSION_DEV_ATTR_MAX_DPI) 938 if (bnxt_qplib_is_chip_gen_p5_p7(res->cctx)) {
|
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 252 struct fastrpc_channel_ctx *cctx; member in struct:fastrpc_invoke_ctx 286 struct fastrpc_channel_ctx *cctx; member in struct:fastrpc_device 297 struct fastrpc_channel_ctx *cctx; member in struct:fastrpc_user 319 int vmid = map->fl->cctx->vmperms[0].vmid; 455 struct device *rdev = &fl->cctx->rpdev->dev; 462 struct fastrpc_channel_ctx *cctx; local 464 cctx = container_of(ref, struct fastrpc_channel_ctx, refcount); 466 kfree(cctx); 469 static void fastrpc_channel_ctx_get(struct fastrpc_channel_ctx *cctx) argument 471 kref_get(&cctx 474 fastrpc_channel_ctx_put(struct fastrpc_channel_ctx *cctx) argument 482 struct fastrpc_channel_ctx *cctx; local 577 struct fastrpc_channel_ctx *cctx = user->cctx; local 1108 struct fastrpc_channel_ctx *cctx; local 1469 fastrpc_session_alloc( struct fastrpc_channel_ctx *cctx) argument 1489 fastrpc_session_free(struct fastrpc_channel_ctx *cctx, struct fastrpc_session_ctx *session) argument 1518 struct fastrpc_channel_ctx *cctx = fl->cctx; local 1558 struct fastrpc_channel_ctx *cctx; local 1714 struct fastrpc_channel_ctx *cctx = fl->cctx; local 2141 struct fastrpc_channel_ctx *cctx; local 2191 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(pdev->dev.parent); local 2221 fastrpc_device_register(struct device *dev, struct fastrpc_channel_ctx *cctx, bool is_secured, const char *domain) argument 2372 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); local 2404 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); local [all...] |
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-cherryview.c | 756 struct intel_community_context *cctx = &pctrl->context.communities[0]; local 760 for (i = 0; i < ARRAY_SIZE(cctx->intr_lines); i++) { 761 if (cctx->intr_lines[i] == offset) { 762 cctx->intr_lines[i] = CHV_INVALID_HWIRQ; 1248 struct intel_community_context *cctx = &pctrl->context.communities[0]; local 1263 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { 1267 cctx->intr_lines[intsel] = hwirq; 1278 struct intel_community_context *cctx = &pctrl->context.communities[0]; local 1286 if (cctx->intr_lines[intsel] == pin) 1289 if (cctx 1401 struct intel_community_context *cctx = &pctrl->context.communities[0]; local 1614 struct intel_community_context *cctx; local 1709 struct intel_community_context *cctx = &pctrl->context.communities[0]; local 1736 struct intel_community_context *cctx = &pctrl->context.communities[0]; local [all...] |
/linux-master/fs/smb/client/ |
H A D | smb2pdu.c | 3139 struct create_context *cctx = local 3142 cctx->Next = cpu_to_le32(len);
|
/linux-master/include/linux/ |
H A D | zstd.h | 169 * @cctx: The context. Must have been initialized with zstd_init_cctx(). 180 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity,
|