Home
last modified time | relevance | path

Searched refs:ctx_pg (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/broadcom/bnge/
A Dbnge_rmem.c151 ctx_pg->nr_pages = 0; in bnge_alloc_ctx_pg_tbls()
158 ctx_pg->ctx_pg_tbl = kcalloc(MAX_CTX_PAGES, sizeof(ctx_pg), in bnge_alloc_ctx_pg_tbls()
160 if (!ctx_pg->ctx_pg_tbl) in bnge_alloc_ctx_pg_tbls()
207 ctx_pg->ctx_pg_tbl) { in bnge_free_ctx_pg_tbls()
219 ctx_pg->ctx_pg_arr[i] = NULL; in bnge_free_ctx_pg_tbls()
223 kfree(ctx_pg->ctx_pg_tbl); in bnge_free_ctx_pg_tbls()
224 ctx_pg->ctx_pg_tbl = NULL; in bnge_free_ctx_pg_tbls()
227 ctx_pg->nr_pages = 0; in bnge_free_ctx_pg_tbls()
247 ctx_pg[i].entries = entries; in bnge_setup_ctxm_pg_tbls()
295 if (!ctx_pg) in bnge_free_ctx_mem()
[all …]
A Dbnge_hwrm_lib.c362 struct bnge_ctx_pg_info *ctx_pg; in bnge_hwrm_func_backing_store() local
367 ctx_pg = &ctxm->pg_info[j++]; in bnge_hwrm_func_backing_store()
368 if (!ctx_pg->entries) in bnge_hwrm_func_backing_store()
370 req->num_entries = cpu_to_le32(ctx_pg->entries); in bnge_hwrm_func_backing_store()
371 bnge_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnge_hwrm_func_backing_store()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c8821 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8835 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8845 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8949 ctx_pg->nr_pages = 0; in bnxt_alloc_ctx_pg_tbls()
8956 ctx_pg->ctx_pg_tbl = kcalloc(MAX_CTX_PAGES, sizeof(ctx_pg), in bnxt_alloc_ctx_pg_tbls()
9054 ctx_pg->nr_pages = 0; in bnxt_free_ctx_pg_tbls()
9126 if (!ctx_pg->entries) in bnxt_hwrm_func_backing_store_cfg_v2()
9210 if (!ctx_pg) in __bnxt_copy_ctx_mem()
9243 ctx_pg = ctxm->pg_info; in bnxt_free_one_ctx_mem()
9244 if (ctx_pg) { in bnxt_free_one_ctx_mem()
[all …]

Completed in 32 milliseconds