Home
last modified time | relevance | path

Searched refs:context_size (Results 1 – 16 of 16) sorted by relevance

/drivers/gpu/drm/i915/gt/
Dselftest_context.c111 vaddr += engine->context_size - I915_GTT_PAGE_SIZE; in __live_context_size()
162 if (!engine->context_size) in live_context_size()
177 engine->context_size += I915_GTT_PAGE_SIZE; in live_context_size()
181 engine->context_size -= I915_GTT_PAGE_SIZE; in live_context_size()
Dintel_lrc.c803 vaddr += engine->context_size; in set_redzone()
814 vaddr += engine->context_size; in check_redzone()
832 state, engine->context_size); in lrc_init_state()
852 u32 context_size; in __lrc_alloc_state() local
854 context_size = round_up(engine->context_size, I915_GTT_PAGE_SIZE); in __lrc_alloc_state()
857 context_size += I915_GTT_PAGE_SIZE; /* for redzone */ in __lrc_alloc_state()
860 ce->wa_bb_page = context_size / PAGE_SIZE; in __lrc_alloc_state()
861 context_size += PAGE_SIZE; in __lrc_alloc_state()
864 obj = i915_gem_object_create_lmem(engine->i915, context_size, 0); in __lrc_alloc_state()
866 obj = i915_gem_object_create_shmem(engine->i915, context_size); in __lrc_alloc_state()
Dintel_ring_submission.c468 vaddr, ce->engine->context_size); in ring_context_init_default_state()
524 obj = i915_gem_object_create_shmem(i915, engine->context_size); in alloc_context_vma()
569 if (engine->context_size) { in ring_context_alloc()
Dintel_engine_types.h292 u32 context_size; member
Dintel_engine_cs.c357 engine->context_size = intel_engine_context_size(gt, engine->class); in intel_engine_setup()
358 if (WARN_ON(engine->context_size > BIT(20))) in intel_engine_setup()
359 engine->context_size = 0; in intel_engine_setup()
360 if (engine->context_size) in intel_engine_setup()
Dintel_execlists_submission.c2583 __i915_gem_object_flush_map(ce->state->obj, 0, engine->context_size); in __execlists_context_pre_pin()
3921 ve->base.context_size = sibling->context_size; in execlists_create_virtual()
Dselftest_lrc.c1639 ce->engine->context_size - in garbage()
/drivers/net/ethernet/sfc/
Dmcdi_filters.c1931 unsigned *context_size) in efx_mcdi_filter_alloc_rss_context() argument
1947 if (context_size) in efx_mcdi_filter_alloc_rss_context()
1948 *context_size = 1; in efx_mcdi_filter_alloc_rss_context()
1970 if (context_size) in efx_mcdi_filter_alloc_rss_context()
1971 *context_size = rss_spread; in efx_mcdi_filter_alloc_rss_context()
2039 unsigned *context_size) in efx_mcdi_filter_rx_push_shared_rss_config() argument
2043 context_size); in efx_mcdi_filter_rx_push_shared_rss_config()
2233 unsigned context_size; in efx_mcdi_pf_rx_push_rss_config() local
2243 rc = efx_mcdi_filter_rx_push_shared_rss_config(efx, &context_size); in efx_mcdi_pf_rx_push_rss_config()
2245 if (context_size != efx->rss_spread) in efx_mcdi_pf_rx_push_rss_config()
[all …]
/drivers/crypto/
Dsahara.c180 unsigned int context_size; member
851 result_len = rctx->context_size; in sahara_sha_hw_data_descriptor_create()
878 dev->hw_desc[index]->len1 = rctx->context_size; in sahara_sha_hw_context_descriptor_create()
883 dev->hw_link[index]->len = rctx->context_size; in sahara_sha_hw_context_descriptor_create()
967 memcpy(dev->context_base, rctx->context, rctx->context_size); in sahara_sha_process()
997 memcpy(rctx->context, dev->context_base, rctx->context_size); in sahara_sha_process()
1093 rctx->context_size = rctx->digest_size + 4; in sahara_sha_init()
/drivers/crypto/chelsio/
Dchcr_algo.c931 unsigned int ck_size, context_size; in chcr_aes_cbc_setkey() local
944 context_size = (KEY_CONTEXT_HDR_SALT_AND_PAD + in chcr_aes_cbc_setkey()
948 0, 0, context_size); in chcr_aes_cbc_setkey()
962 unsigned int ck_size, context_size; in chcr_aes_ctr_setkey() local
973 context_size = (KEY_CONTEXT_HDR_SALT_AND_PAD + in chcr_aes_ctr_setkey()
977 0, 0, context_size); in chcr_aes_ctr_setkey()
992 unsigned int ck_size, context_size; in chcr_aes_rfc3686_setkey() local
1010 context_size = (KEY_CONTEXT_HDR_SALT_AND_PAD + in chcr_aes_rfc3686_setkey()
1014 0, 0, context_size); in chcr_aes_rfc3686_setkey()
2250 unsigned short context_size = 0; in chcr_aes_xts_setkey() local
[all …]
/drivers/block/drbd/
Ddrbd_actlog.c51 __be16 context_size; member
359 buffer->context_size = cpu_to_be16(device->act_log->nr_elements); in __al_write_transaction()
/drivers/gpu/drm/i915/gvt/
Dscheduler.c213 context_page_num = workload->engine->context_size; in populate_shadow_context()
973 context_page_num = rq->engine->context_size; in update_guest_context()
Dcmd_parser.c3129 s.ring_size = engine->context_size - start; in intel_gvt_update_reg_whitelist()
3164 ctx_size = workload->engine->context_size - PAGE_SIZE; in intel_gvt_scan_engine_context()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c3047 ve->base.context_size = sibling->context_size; in guc_create_virtual()
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c685 if (!engine->context_size) in igt_ctx_exec()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c8354 int i, allocated, context_size; in bnx2x_alloc_mem() local
8386 context_size = sizeof(union cdu_context) * BNX2X_L2_CID_COUNT(bp); in bnx2x_alloc_mem()
8388 for (i = 0, allocated = 0; allocated < context_size; i++) { in bnx2x_alloc_mem()
8390 (context_size - allocated)); in bnx2x_alloc_mem()