Home
last modified time | relevance | path

Searched refs:ctx_arr (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_rmem.c271 ctx->ctx_arr[last_type].last = 1; in bnge_backing_store_cfg()
274 ctxm = &ctx->ctx_arr[type]; in bnge_backing_store_cfg()
293 struct bnge_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnge_free_ctx_mem()
344 ctxm = &ctx->ctx_arr[BNGE_CTX_QP]; in bnge_alloc_ctx_mem()
349 ctxm = &ctx->ctx_arr[BNGE_CTX_SRQ]; in bnge_alloc_ctx_mem()
363 ctxm = &ctx->ctx_arr[BNGE_CTX_QP]; in bnge_alloc_ctx_mem()
369 ctxm = &ctx->ctx_arr[BNGE_CTX_SRQ]; in bnge_alloc_ctx_mem()
374 ctxm = &ctx->ctx_arr[BNGE_CTX_CQ]; in bnge_alloc_ctx_mem()
380 ctxm = &ctx->ctx_arr[BNGE_CTX_VNIC]; in bnge_alloc_ctx_mem()
385 ctxm = &ctx->ctx_arr[BNGE_CTX_STAT]; in bnge_alloc_ctx_mem()
[all …]
H A Dbnge_hwrm_lib.c237 struct bnge_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnge_alloc_all_ctx_pg_info()
280 struct bnge_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnge_hwrm_func_backing_store_qcaps()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c832 if (cp->ctx_arr[i].ctx) { in cnic_free_context()
834 cp->ctx_arr[i].ctx, in cnic_free_context()
835 cp->ctx_arr[i].mapping); in cnic_free_context()
836 cp->ctx_arr[i].ctx = NULL; in cnic_free_context()
891 kfree(cp->ctx_arr); in cnic_free_resc()
892 cp->ctx_arr = NULL; in cnic_free_resc()
920 cp->ctx_arr = kzalloc(arr_size, GFP_KERNEL); in cnic_alloc_context()
921 if (cp->ctx_arr == NULL) in cnic_alloc_context()
937 cp->ctx_arr[k].cid = j; in cnic_alloc_context()
947 cp->ctx_arr[i].ctx = in cnic_alloc_context()
[all …]
H A Dcnic.h302 struct cnic_ctx *ctx_arr; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2561 u32 flags = bp->ctx->ctx_arr[type].flags; in bnxt_bs_trace_avail()
8647 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_alloc_all_ctx_pg_info()
8691 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_hwrm_func_backing_store_qcaps_v2()
8779 ctxm = &ctx->ctx_arr[BNXT_CTX_QP]; in bnxt_hwrm_func_backing_store_qcaps()
8788 ctxm = &ctx->ctx_arr[BNXT_CTX_SRQ]; in bnxt_hwrm_func_backing_store_qcaps()
8795 ctxm = &ctx->ctx_arr[BNXT_CTX_CQ]; in bnxt_hwrm_func_backing_store_qcaps()
8802 ctxm = &ctx->ctx_arr[BNXT_CTX_VNIC]; in bnxt_hwrm_func_backing_store_qcaps()
8811 ctxm = &ctx->ctx_arr[BNXT_CTX_STAT]; in bnxt_hwrm_func_backing_store_qcaps()
8818 ctxm = &ctx->ctx_arr[BNXT_CTX_STQM]; in bnxt_hwrm_func_backing_store_qcaps()
8826 memcpy(&ctx->ctx_arr[BNXT_CTX_FTQM], ctxm, sizeof(*ctxm)); in bnxt_hwrm_func_backing_store_qcaps()
[all …]
H A Dbnxt_coredump.c366 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_get_ctx_coredump()
H A Dbnxt.h1994 struct bnxt_ctx_mem_type ctx_arr[BNXT_CTX_V2_MAX]; member