Home
last modified time | relevance | path

Searched refs:hw_context (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.c504 u32 *hw_context) in sc_hw_alloc() argument
518 *hw_context = context; in sc_hw_alloc()
531 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument
538 __func__, sw_index, hw_context); in sc_hw_free()
541 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free()
571 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses()
572 u32 index = sc->hw_context & 0x7; in cr_group_addresses()
653 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold()
674 u32 hw_context = sc->hw_context; in set_pio_integrity() local
677 write_kctxt_csr(dd, hw_context, in set_pio_integrity()
[all …]
Dtrace_tx.h69 __field(u32, hw_context)
74 __entry->hw_context = sc->hw_context;
80 __entry->hw_context,
90 __field(u32, hw_context)
96 __entry->hw_context = sc->hw_context;
103 __entry->hw_context,
Dpio.h111 u8 hw_context; /* hardware context number */ member
296 void sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context);
Dfile_ops.c374 (uctxt->sc->hw_context * BIT(16))) + in hfi1_file_mmap()
978 uctxt->sc->hw_context); in allocate_ctxt()
1152 cinfo.send_ctxt = uctxt->sc->hw_context; in get_ctxt_info()
Dchip.c5940 unsigned int hw_context) in is_sendctxt_err_int() argument
5950 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int()
5954 sw_index, hw_context); in is_sendctxt_err_int()
5962 sw_index, hw_context); in is_sendctxt_err_int()
5970 status = read_kctxt_csr(dd, hw_context, SEND_CTXT_ERR_STATUS); in is_sendctxt_err_int()
5972 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int()
12929 reg = read_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
12935 write_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt()
14700 hw_ctxt = rcd->sc->hw_context; in hfi1_set_ctxt_jkey()
14734 hw_ctxt = rcd->sc->hw_context; in hfi1_clear_ctxt_jkey()
[all …]
/Linux-v4.19/drivers/gpu/drm/gma500/
Dmmu.c138 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
142 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context()
143 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context()
149 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
224 pd->hw_context = -1; in psb_mmu_alloc_pd()
256 if (pd->hw_context != -1) { in psb_mmu_free_pagedir()
257 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir()
307 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt()
357 if (pd->hw_context != -1) { in psb_mmu_pt_alloc_map_lock()
394 if (pd->hw_context != -1) { in psb_mmu_pt_unmap_unlock()
[all …]
Dmmu.h52 int hw_context; member
83 extern void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c343 sa_entry->hw_context = in mlx5e_xfrm_add_state()
348 if (IS_ERR(sa_entry->hw_context)) { in mlx5e_xfrm_add_state()
349 err = PTR_ERR(sa_entry->hw_context); in mlx5e_xfrm_add_state()
387 if (sa_entry->hw_context) { in mlx5e_xfrm_free_state()
389 mlx5_accel_esp_free_hw_context(sa_entry->hw_context); in mlx5e_xfrm_free_state()
Dipsec.h102 void *hw_context; member
/Linux-v4.19/drivers/crypto/
Dtalitos.c859 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member
873 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member
1813 req_ctx->hw_context, in common_nonsnoop_hash()
1860 req_ctx->hw_context, in common_nonsnoop_hash()
1886 req_ctx->hw_context, in common_nonsnoop_hash()
1897 req_ctx->hw_context, in common_nonsnoop_hash()
1952 dma = dma_map_single(dev, req_ctx->hw_context, req_ctx->hw_context_size, in ahash_init()
1967 req_ctx->hw_context[0] = SHA224_H0; in ahash_init_sha224_swinit()
1968 req_ctx->hw_context[1] = SHA224_H1; in ahash_init_sha224_swinit()
1969 req_ctx->hw_context[2] = SHA224_H2; in ahash_init_sha224_swinit()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dscheduler.c57 workload->req->hw_context->state->obj; in update_shadow_pdps()
128 workload->req->hw_context->state->obj; in populate_shadow_context()
301 && is_inhibit_context(req->hw_context)) in copy_workload_to_ring_buffer()
498 (struct execlist_ring_context *)rq->hw_context->lrc_reg_state; in update_wa_ctx_2_shadow_ctx()
727 struct drm_i915_gem_object *ctx_obj = rq->hw_context->state->obj; in update_guest_context()
851 intel_context_unpin(rq->hw_context); in complete_current_workload()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_lrc.c420 struct intel_context *ce = rq->hw_context; in execlists_update_context()
691 !can_merge_ctx(rq->hw_context, last->hw_context)) { in execlists_dequeue()
710 if (ctx_single_port_submission(last->hw_context) || in execlists_dequeue()
711 ctx_single_port_submission(rq->hw_context)) { in execlists_dequeue()
717 GEM_BUG_ON(last->hw_context == rq->hw_context); in execlists_dequeue()
1386 GEM_BUG_ON(!request->hw_context->pin_count); in execlists_request_alloc()
1949 regs = request->hw_context->lrc_reg_state; in execlists_reset()
Di915_request.c389 engine->last_retired_context = rq->hw_context; in __retire_engine_request()
461 intel_context_unpin(request->hw_context); in i915_request_retire()
766 rq->hw_context = ce; in i915_request_alloc()
Dintel_guc_submission.c516 u32 ctx_desc = lower_32_bits(rq->hw_context->lrc_desc); in guc_add_request()
725 if (last && rq->hw_context != last->hw_context) { in __guc_dequeue()
Di915_request.h98 struct intel_context *hw_context; member
Dintel_ringbuffer.c1601 *cs++ = i915_ggtt_offset(rq->hw_context->state) | flags; in mi_set_context()
1690 if (rq->hw_context->state) { in switch_context()
1740 GEM_BUG_ON(!request->hw_context->pin_count); in ring_request_alloc()
Di915_gem_context.c622 if (rq->hw_context == ce) in engine_has_kernel_context_barrier()
Dintel_engine_cs.c1061 return rq->hw_context == kernel_context; in intel_engine_has_kernel_context()
Di915_gpu_error.c1494 request->hw_context->state); in gem_record_rings()
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-hash.c161 u32 *hw_context; member
983 rctx->hw_context = kmalloc_array(3 + HASH_CSR_REGISTER_NUMBER, in stm32_hash_export()
987 preg = rctx->hw_context; in stm32_hash_export()
1014 preg = rctx->hw_context; in stm32_hash_import()
1030 kfree(rctx->hw_context); in stm32_hash_import()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1193 struct hw_context { struct
1647 struct hw_context context[ILT_MAX_L2_LINES];