Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.c538 struct bnxt_ctx_pg_info *ctx_pg; in bnxt_hwrm_func_backing_store_cfg() local
558 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
559 req.qp_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
563 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
569 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
570 req.srq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
573 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
579 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
580 req.cq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
583 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
[all …]
H A Dif_bnxt.c923 struct bnxt_ctx_pg_info *ctx_pg) in bnxt_alloc_ctx_mem_blk() argument
925 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_mem_blk()
928 rmem->pg_arr = ctx_pg->ctx_arr; in bnxt_alloc_ctx_mem_blk()
937 struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, in bnxt_alloc_ctx_pg_tbls() argument
940 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_pg_tbls()
946 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
947 if (ctx_pg->nr_pages > MAX_CTX_TOTAL_PAGES) { in bnxt_alloc_ctx_pg_tbls()
948 ctx_pg->nr_pages = 0; in bnxt_alloc_ctx_pg_tbls()
951 if (ctx_pg->nr_pages > MAX_CTX_PAGES || depth > 1) { in bnxt_alloc_ctx_pg_tbls()
955 ctx_pg->ctx_pg_tbl = kzalloc(MAX_CTX_PAGES * sizeof(ctx_pg), in bnxt_alloc_ctx_pg_tbls()
[all …]
/freebsd/sys/dev/usb/controller/
H A Dxhci.h460 struct usb_page ctx_pg; member