Home
last modified time | relevance | path

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

/src/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.c603 struct bnxt_ctx_pg_info *ctx_pg; in bnxt_hwrm_func_backing_store_cfg() local
623 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
624 req.qp_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
628 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
634 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
635 req.srq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
638 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
644 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
645 req.cq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
648 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
[all …]
H A Dif_bnxt.c956 struct bnxt_ctx_pg_info *ctx_pg) in bnxt_alloc_ctx_mem_blk() argument
958 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_mem_blk()
961 rmem->pg_arr = ctx_pg->ctx_arr; in bnxt_alloc_ctx_mem_blk()
970 struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, in bnxt_alloc_ctx_pg_tbls() argument
973 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_pg_tbls()
979 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
980 if (ctx_pg->nr_pages > MAX_CTX_TOTAL_PAGES) { in bnxt_alloc_ctx_pg_tbls()
981 ctx_pg->nr_pages = 0; in bnxt_alloc_ctx_pg_tbls()
984 if (ctx_pg->nr_pages > MAX_CTX_PAGES || depth > 1) { in bnxt_alloc_ctx_pg_tbls()
988 ctx_pg->ctx_pg_tbl = kzalloc(MAX_CTX_PAGES * sizeof(ctx_pg), in bnxt_alloc_ctx_pg_tbls()
[all …]
/src/sys/dev/usb/controller/
H A Dxhci.h460 struct usb_page ctx_pg; member
H A Dxhci.c231 cb(bus, &sc->sc_hw.ctx_pc, &sc->sc_hw.ctx_pg, in xhci_iterate_hw_softc()