/drivers/gpu/drm/imx/dcss/ |
D | dcss-ctxld.c | 79 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/crypto/hisilicon/ |
D | qm_common.h | 79 void *hisi_qm_ctx_alloc(struct hisi_qm *qm, size_t ctx_size, 81 void hisi_qm_ctx_free(struct hisi_qm *qm, size_t ctx_size,
|
D | qm.c | 1349 void *hisi_qm_ctx_alloc(struct hisi_qm *qm, size_t ctx_size, in hisi_qm_ctx_alloc() argument 1355 ctx_addr = kzalloc(ctx_size, GFP_KERNEL); in hisi_qm_ctx_alloc() 1359 *dma_addr = dma_map_single(dev, ctx_addr, ctx_size, DMA_FROM_DEVICE); in hisi_qm_ctx_alloc() 1369 void hisi_qm_ctx_free(struct hisi_qm *qm, size_t ctx_size, in hisi_qm_ctx_free() argument 1374 dma_unmap_single(dev, *dma_addr, ctx_size, DMA_FROM_DEVICE); in hisi_qm_ctx_free()
|
/drivers/dma/bestcomm/ |
D | bestcomm.c | 278 unsigned int tdt_size, ctx_size, var_size, fdt_size; in bcom_engine_init() local 282 ctx_size = BCOM_MAX_TASKS * BCOM_CTX_SIZE; in bcom_engine_init() 287 bcom_eng->ctx = bcom_sram_alloc(ctx_size, BCOM_CTX_ALIGN, &ctx_pa); in bcom_engine_init() 303 memset_io(bcom_eng->ctx, 0x00, ctx_size); in bcom_engine_init()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1639 u16 ctx_size, u8 ctx_type, u32 cid) in qed_calc_session_ctx_validation() argument 1648 memset(p_ctx, 0, ctx_size); in qed_calc_session_ctx_validation() 1657 u16 ctx_size, u8 ctx_type, u32 tid) in qed_calc_task_ctx_validation() argument 1664 memset(p_ctx, 0, ctx_size); in qed_calc_task_ctx_validation() 1670 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in qed_memset_session_ctx() argument 1684 memset(p_ctx, 0, ctx_size); in qed_memset_session_ctx() 1692 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in qed_memset_task_ctx() argument 1702 memset(p_ctx, 0, ctx_size); in qed_memset_task_ctx()
|
D | qed_hsi.h | 2681 u16 ctx_size, u8 ctx_type, u32 cid); 2695 u16 ctx_size, u8 ctx_type, u32 tid); 2707 void qed_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type); 2719 void qed_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type);
|
/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 467 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()
|
D | cdnsp-gadget.h | 562 int ctx_size; member
|
/drivers/crypto/ccp/ |
D | ccp-ops.c | 1500 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/ |
D | cmd_parser.c | 2996 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx() local 3007 roundup(ctx_size + CACHELINE_BYTES, in shadow_indirect_ctx() 3030 guest_gma, guest_gma + ctx_size, in shadow_indirect_ctx() 3158 unsigned long gma_head, gma_tail, gma_start, ctx_size; in intel_gvt_scan_engine_context() local 3166 ctx_size = workload->engine->context_size - PAGE_SIZE; in intel_gvt_scan_engine_context() 3176 gma_tail = ctx_size; in intel_gvt_scan_engine_context() 3183 s.ring_size = ctx_size; in intel_gvt_scan_engine_context() 3199 gma_start, ctx_size); in intel_gvt_scan_engine_context()
|
/drivers/firmware/ |
D | qcom_scm.c | 49 __le32 ctx_size; member 968 destvm->ctx_size = 0; in qcom_scm_assign_mem()
|