Home
last modified time | relevance | path

Searched refs:ctx_size (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/imx/dcss/
Ddcss-ctxld.c79 u16 ctx_size[2][3]; /* holds the sizes of DB, SB_HP and SB_LP ctx */ member
110 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_DB], in dcss_ctxld_irq_handler()
111 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_HP], in dcss_ctxld_irq_handler()
112 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_LP]); in dcss_ctxld_irq_handler()
270 sb_hp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_HP]; in dcss_ctxld_enable_locked()
271 sb_lp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_LP]; in dcss_ctxld_enable_locked()
272 db_cnt = ctxld->ctx_size[curr_ctx][CTX_DB]; in dcss_ctxld_enable_locked()
312 ctxld->ctx_size[ctxld->current_ctx][CTX_DB] = 0; in dcss_ctxld_enable_locked()
313 ctxld->ctx_size[ctxld->current_ctx][CTX_SB_HP] = 0; in dcss_ctxld_enable_locked()
314 ctxld->ctx_size[ctxld->current_ctx][CTX_SB_LP] = 0; in dcss_ctxld_enable_locked()
[all …]
/drivers/dma/bestcomm/
Dbestcomm.c281 unsigned int tdt_size, ctx_size, var_size, fdt_size; in bcom_engine_init() local
285 ctx_size = BCOM_MAX_TASKS * BCOM_CTX_SIZE; in bcom_engine_init()
290 bcom_eng->ctx = bcom_sram_alloc(ctx_size, BCOM_CTX_ALIGN, &ctx_pa); in bcom_engine_init()
306 memset_io(bcom_eng->ctx, 0x00, ctx_size); in bcom_engine_init()
/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c1437 u16 ctx_size, u8 ctx_type, u32 cid) in qed_calc_session_ctx_validation() argument
1446 memset(p_ctx, 0, ctx_size); in qed_calc_session_ctx_validation()
1455 u16 ctx_size, u8 ctx_type, u32 tid) in qed_calc_task_ctx_validation() argument
1462 memset(p_ctx, 0, ctx_size); in qed_calc_task_ctx_validation()
1468 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in qed_memset_session_ctx() argument
1482 memset(p_ctx, 0, ctx_size); in qed_memset_session_ctx()
1490 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in qed_memset_task_ctx() argument
1500 memset(p_ctx, 0, ctx_size); in qed_memset_task_ctx()
Dqed_hsi.h4014 u16 ctx_size, u8 ctx_type, u32 cid);
4028 u16 ctx_size, u8 ctx_type, u32 tid);
4040 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type);
4052 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type);
/drivers/usb/cdns3/
Dcdnsp-mem.c467 pdev->out_ctx.ctx_size = CTX_SIZE(pdev->hcc_params); in cdnsp_init_device_ctx()
475 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
476 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
503 return (struct cdnsp_slot_ctx *)(ctx->bytes + ctx->ctx_size); in cdnsp_get_slot_ctx()
514 return (struct cdnsp_ep_ctx *)(ctx->bytes + (ep_index * ctx->ctx_size)); in cdnsp_get_ep_ctx()
Dcdnsp-gadget.h562 int ctx_size; member
/drivers/crypto/ccp/
Dccp-ops.c1500 int ctx_size; in ccp_run_sha_cmd() local
1593 ctx_size = SHA1_DIGEST_SIZE; in ccp_run_sha_cmd()
1603 ctx_size = SHA256_DIGEST_SIZE; in ccp_run_sha_cmd()
1614 ctx_size = SHA256_DIGEST_SIZE; in ccp_run_sha_cmd()
1621 ctx_size = SHA512_DIGEST_SIZE; in ccp_run_sha_cmd()
1629 ctx_size = SHA512_DIGEST_SIZE; in ccp_run_sha_cmd()
1665 memcpy(ctx.address + ioffset, init, ctx_size); in ccp_run_sha_cmd()
1669 memcpy(ctx.address + ctx_size / 2, init, in ccp_run_sha_cmd()
1670 ctx_size / 2); in ccp_run_sha_cmd()
1671 memcpy(ctx.address, init + ctx_size / 2, in ccp_run_sha_cmd()
[all …]
/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c2994 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx() local
3005 roundup(ctx_size + CACHELINE_BYTES, in shadow_indirect_ctx()
3028 guest_gma, guest_gma + ctx_size, in shadow_indirect_ctx()
3156 unsigned long gma_head, gma_tail, gma_start, ctx_size; in intel_gvt_scan_engine_context() local
3164 ctx_size = workload->engine->context_size - PAGE_SIZE; in intel_gvt_scan_engine_context()
3174 gma_tail = ctx_size; in intel_gvt_scan_engine_context()
3181 s.ring_size = ctx_size; in intel_gvt_scan_engine_context()
3197 gma_start, ctx_size); in intel_gvt_scan_engine_context()
/drivers/firmware/
Dqcom_scm.c43 __le32 ctx_size; member
882 destvm->ctx_size = 0; in qcom_scm_assign_mem()
/drivers/crypto/hisilicon/
Dqm.c1474 static void *qm_ctx_alloc(struct hisi_qm *qm, size_t ctx_size, in qm_ctx_alloc() argument
1480 ctx_addr = kzalloc(ctx_size, GFP_KERNEL); in qm_ctx_alloc()
1484 *dma_addr = dma_map_single(dev, ctx_addr, ctx_size, DMA_FROM_DEVICE); in qm_ctx_alloc()
1494 static void qm_ctx_free(struct hisi_qm *qm, size_t ctx_size, in qm_ctx_free() argument
1499 dma_unmap_single(dev, *dma_addr, ctx_size, DMA_FROM_DEVICE); in qm_ctx_free()