Home
last modified time | relevance | path

Searched refs:ctxm (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.c362 if (!ctxm->max_entries || ctxm->pg_info) in bnxt_alloc_all_ctx_pg_info()
367 ctxm->pg_info = kcalloc(n, sizeof(*ctxm->pg_info), GFP_KERNEL); in bnxt_alloc_all_ctx_pg_info()
368 if (!ctxm->pg_info) in bnxt_alloc_all_ctx_pg_info()
383 ctxm->init_value = 0; in bnxt_init_ctx_initializer()
444 ctxm->max_entries = ctxm->vnic_entries + in bnxt_hwrm_func_backing_store_qcaps()
466 memcpy(&ctx->ctx_arr[BNXT_CTX_FTQM], ctxm, sizeof(*ctxm)); in bnxt_hwrm_func_backing_store_qcaps()
493 memcpy(ctxm, &ctx->ctx_arr[BNXT_CTX_STQM], sizeof(*ctxm)); in bnxt_hwrm_func_backing_store_qcaps()
558 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
569 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
613 cpu_to_le16(ctxm->max_entries - ctxm->vnic_entries); in bnxt_hwrm_func_backing_store_cfg()
[all …]
H A Dif_bnxt.c974 rmem->ctx_mem = ctxm; in bnxt_alloc_ctx_pg_tbls()
989 rmem->ctx_mem = ctxm; in bnxt_alloc_ctx_pg_tbls()
1034 if (ctxm->instance_bmap) in bnxt_setup_ctxm_pg_tbls()
1038 entries = clamp_t(u32, entries, ctxm->min_entries, ctxm->max_entries); in bnxt_setup_ctxm_pg_tbls()
1043 ctxm->init_value ? ctxm : NULL); in bnxt_setup_ctxm_pg_tbls()
1069 ctxm->pg_info = NULL; in bnxt_free_ctx_mem()
1129 rc = bnxt_setup_ctxm_pg_tbls(softc, ctxm, ctxm->cq_l2_entries + in bnxt_alloc_ctx_mem()
1135 rc = bnxt_setup_ctxm_pg_tbls(softc, ctxm, ctxm->max_entries, 1); in bnxt_alloc_ctx_mem()
1140 rc = bnxt_setup_ctxm_pg_tbls(softc, ctxm, ctxm->max_entries, 1); in bnxt_alloc_ctx_mem()
1149 ctx_pg = ctxm->pg_info; in bnxt_alloc_ctx_mem()
[all …]
H A Dbnxt_hwrm.h133 struct bnxt_ctx_mem_type *ctxm,
/freebsd-14.2/sys/x86/iommu/
H A Dintel_ctx.c87 vm_page_t ctxm; in dmar_ensure_ctx_page() local
92 ctxm = iommu_pgalloc(dmar->ctx_obj, 1 + bus, IOMMU_PGF_NOALLOC); in dmar_ensure_ctx_page()
93 if (ctxm != NULL) in dmar_ensure_ctx_page()
103 ctxm = iommu_pgalloc(dmar->ctx_obj, 1 + bus, IOMMU_PGF_ZERO | in dmar_ensure_ctx_page()
108 VM_PAGE_TO_PHYS(ctxm))); in dmar_ensure_ctx_page()