Home
last modified time | relevance | path

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

/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/bnge/
H A Dbnge_rmem.h181 struct bnge_ctx_mem_type ctx_arr[BNGE_CTX_V2_MAX]; member
H A Dbnge_hwrm_lib.c255 struct bnge_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnge_alloc_all_ctx_pg_info()
312 ctxm = &ctx->ctx_arr[type]; in bnge_hwrm_func_backing_store_qcaps()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2589 u32 flags = bp->ctx->ctx_arr[type].flags; in bnxt_bs_trace_avail()
8757 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_alloc_all_ctx_pg_info()
8801 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_hwrm_func_backing_store_qcaps_v2()
8889 ctxm = &ctx->ctx_arr[BNXT_CTX_QP]; in bnxt_hwrm_func_backing_store_qcaps()
8898 ctxm = &ctx->ctx_arr[BNXT_CTX_SRQ]; in bnxt_hwrm_func_backing_store_qcaps()
8905 ctxm = &ctx->ctx_arr[BNXT_CTX_CQ]; in bnxt_hwrm_func_backing_store_qcaps()
8912 ctxm = &ctx->ctx_arr[BNXT_CTX_VNIC]; in bnxt_hwrm_func_backing_store_qcaps()
8921 ctxm = &ctx->ctx_arr[BNXT_CTX_STAT]; in bnxt_hwrm_func_backing_store_qcaps()
8928 ctxm = &ctx->ctx_arr[BNXT_CTX_STQM]; in bnxt_hwrm_func_backing_store_qcaps()
8936 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.h2011 struct bnxt_ctx_mem_type ctx_arr[BNXT_CTX_V2_MAX]; member