/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 496 u32 *hw_context) in sc_hw_alloc() 510 *hw_context = context; in sc_hw_alloc() 523 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument 529 dd_dev_err(dd, "%s: sw_index %u not allocated? hw_context %u\n", in sc_hw_free() 530 __func__, sw_index, hw_context); in sc_hw_free() 533 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free() 563 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses() 564 u32 index = sc->hw_context & 0x7; in cr_group_addresses() 645 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold() 666 u32 hw_context in set_pio_integrity() local 495 sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, u32 *hw_context) sc_hw_alloc() argument 706 u32 hw_context; sc_alloc() local 883 u32 hw_context; sc_free() local 991 is_sc_halted(struct hfi1_devdata *dd, u32 hw_context) is_sc_halted() argument 1760 sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context) sc_group_release_update() argument [all...] |
H A D | pio.h | 111 u8 hw_context; /* hardware context number */ member 298 void sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context);
|
H A D | trace_tx.h | 71 __field(u32, hw_context) 76 __entry->hw_context = sc->hw_context; 82 __entry->hw_context, 92 __field(u32, hw_context) 98 __entry->hw_context = sc->hw_context; 105 __entry->hw_context,
|
H A D | file_ops.c | 385 (uctxt->sc->hw_context * BIT(16))) + in hfi1_file_mmap() 989 uctxt->sc->hw_context); in allocate_ctxt() 1164 cinfo.send_ctxt = uctxt->sc->hw_context; in get_ctxt_info()
|
H A D | chip.c | 5978 * Send context error interrupt. Source (hw_context) is < 160. 5987 unsigned int hw_context) in is_sendctxt_err_int() 5997 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 6001 sw_index, hw_context); in is_sendctxt_err_int() 6009 sw_index, hw_context); in is_sendctxt_err_int() 6017 status = read_kctxt_csr(dd, hw_context, SEND_CTXT_ERR_STATUS); in is_sendctxt_err_int() 6019 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int() 13175 reg = read_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt() 13181 write_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt() 14813 hw_ctxt = rcd->sc->hw_context; in hfi1_set_ctxt_jkey() 5986 is_sendctxt_err_int(struct hfi1_devdata *dd, unsigned int hw_context) is_sendctxt_err_int() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 454 u32 *hw_context) in sc_hw_alloc() 468 *hw_context = context; in sc_hw_alloc() 481 static void sc_hw_free(struct hfi1_devdata *dd, u32 sw_index, u32 hw_context) in sc_hw_free() argument 487 dd_dev_err(dd, "%s: sw_index %u not allocated? hw_context %u\n", in sc_hw_free() 488 __func__, sw_index, hw_context); in sc_hw_free() 491 dd->hw_to_sw[hw_context] = INVALID_SCI; in sc_hw_free() 521 u32 gc = group_context(sc->hw_context, sc->group); in cr_group_addresses() 522 u32 index = sc->hw_context & 0x7; in cr_group_addresses() 603 write_kctxt_csr(sc->dd, sc->hw_context, in sc_set_cr_threshold() 624 u32 hw_context in set_pio_integrity() local 453 sc_hw_alloc(struct hfi1_devdata *dd, int type, u32 *sw_index, u32 *hw_context) sc_hw_alloc() argument 664 u32 hw_context; sc_alloc() local 841 u32 hw_context; sc_free() local 949 is_sc_halted(struct hfi1_devdata *dd, u32 hw_context) is_sc_halted() argument 1718 sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context) sc_group_release_update() argument [all...] |
H A D | pio.h | 69 u8 hw_context; /* hardware context number */ member 254 void sc_group_release_update(struct hfi1_devdata *dd, u32 hw_context);
|
H A D | trace_tx.h | 29 __field(u32, hw_context) 34 __entry->hw_context = sc->hw_context; 40 __entry->hw_context, 50 __field(u32, hw_context) 56 __entry->hw_context = sc->hw_context; 63 __entry->hw_context,
|
H A D | file_ops.c | 359 (uctxt->sc->hw_context * BIT(16))) + in hfi1_file_mmap() 979 uctxt->sc->hw_context); in allocate_ctxt() 1154 cinfo.send_ctxt = uctxt->sc->hw_context; in get_ctxt_info()
|
H A D | chip.c | 5938 * Send context error interrupt. Source (hw_context) is < 160. 5947 unsigned int hw_context) in is_sendctxt_err_int() 5957 sw_index = dd->hw_to_sw[hw_context]; in is_sendctxt_err_int() 5961 sw_index, hw_context); in is_sendctxt_err_int() 5969 sw_index, hw_context); in is_sendctxt_err_int() 5977 status = read_kctxt_csr(dd, hw_context, SEND_CTXT_ERR_STATUS); in is_sendctxt_err_int() 5979 dd_dev_info(dd, "Send Context %u(%u) Error: %s\n", sw_index, hw_context, in is_sendctxt_err_int() 13136 reg = read_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt() 13142 write_kctxt_csr(dd, sc->hw_context, in hfi1_init_ctxt() 14774 hw_ctxt = rcd->sc->hw_context; in hfi1_set_ctxt_jkey() 5946 is_sendctxt_err_int(struct hfi1_devdata *dd, unsigned int hw_context) is_sendctxt_err_int() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 120 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument 124 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context() 125 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context() 131 pd->hw_context = hw_context; in psb_mmu_set_pd_context() 206 pd->hw_context = -1; in psb_mmu_alloc_pd() 238 if (pd->hw_context != -1) { in psb_mmu_free_pagedir() 239 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir() 288 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt() 337 if (pd->hw_context ! in psb_mmu_pt_alloc_map_lock() [all...] |
H A D | mmu.h | 45 int hw_context; member 76 extern void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 128 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument 132 uint32_t offset = (hw_context == 0) ? PSB_CR_BIF_DIR_LIST_BASE0 : in psb_mmu_set_pd_context() 133 PSB_CR_BIF_DIR_LIST_BASE1 + hw_context * 4; in psb_mmu_set_pd_context() 139 pd->hw_context = hw_context; in psb_mmu_set_pd_context() 214 pd->hw_context = -1; in psb_mmu_alloc_pd() 246 if (pd->hw_context != -1) { in psb_mmu_free_pagedir() 247 PSB_WSGX32(0, PSB_CR_BIF_DIR_LIST_BASE0 + pd->hw_context * 4); in psb_mmu_free_pagedir() 297 if (pd->driver->has_clflush && pd->hw_context != -1) { in psb_mmu_alloc_pt() 347 if (pd->hw_context ! in psb_mmu_pt_alloc_map_lock() [all...] |
H A D | mmu.h | 45 int hw_context; member 76 extern void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.c | 343 sa_entry->hw_context = in mlx5e_xfrm_add_state() 347 if (IS_ERR(sa_entry->hw_context)) { in mlx5e_xfrm_add_state() 348 err = PTR_ERR(sa_entry->hw_context); in mlx5e_xfrm_add_state() 372 mlx5_accel_esp_free_hw_context(priv->mdev, sa_entry->hw_context); in mlx5e_xfrm_add_state() 401 if (sa_entry->hw_context) { in mlx5e_xfrm_free_state() 404 mlx5_accel_esp_free_hw_context(sa_entry->xfrm->mdev, sa_entry->hw_context); in mlx5e_xfrm_free_state()
|
H A D | ipsec.h | 112 void *hw_context; member
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | talitos.c | 865 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member 879 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member 1716 memcpy(areq->result, req_ctx->hw_context, in common_nonsnoop_hash_unmap() 1808 req_ctx->hw_context, in common_nonsnoop_hash() 1849 req_ctx->hw_context, DMA_FROM_DEVICE); in common_nonsnoop_hash() 1853 req_ctx->hw_context, in common_nonsnoop_hash() 1880 req_ctx->hw_context, in common_nonsnoop_hash() 1891 req_ctx->hw_context, in common_nonsnoop_hash() 1946 dma = dma_map_single(dev, req_ctx->hw_context, req_ctx->hw_context_size, in ahash_init() 1961 req_ctx->hw_context[ in ahash_init_sha224_swinit() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | talitos.c | 866 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member 880 u32 hw_context[TALITOS_MDEU_MAX_CONTEXT_SIZE / sizeof(u32)]; member 1717 memcpy(areq->result, req_ctx->hw_context, in common_nonsnoop_hash_unmap() 1809 req_ctx->hw_context, in common_nonsnoop_hash() 1850 req_ctx->hw_context, DMA_FROM_DEVICE); in common_nonsnoop_hash() 1854 req_ctx->hw_context, in common_nonsnoop_hash() 1881 req_ctx->hw_context, in common_nonsnoop_hash() 1892 req_ctx->hw_context, in common_nonsnoop_hash() 1947 dma = dma_map_single(dev, req_ctx->hw_context, req_ctx->hw_context_size, in ahash_init() 1962 req_ctx->hw_context[ in ahash_init_sha224_swinit() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 148 u32 *hw_context; member 969 rctx->hw_context = kmalloc_array(3 + HASH_CSR_REGISTER_NUMBER, in stm32_hash_export() 973 preg = rctx->hw_context; in stm32_hash_export() 1000 preg = rctx->hw_context; in stm32_hash_import() 1016 kfree(rctx->hw_context); in stm32_hash_import()
|
/kernel/linux/linux-6.6/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 151 u32 hw_context[3 + HASH_CSR_NB_MAX]; member 472 u32 *preg = state->hw_context; in stm32_hash_update_cpu() 1014 u32 *preg = rctx->state.hw_context; in stm32_hash_one_request()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 1199 struct hw_context { struct 1648 struct hw_context context[ILT_MAX_L2_LINES];
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 1199 struct hw_context { struct 1649 struct hw_context context[ILT_MAX_L2_LINES];
|