Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_mgmt.c79 struct bnxt_ctx_pg_info *ctx_pg = ctxm->pg_info; in bnxt_get_driver_coredump_len() local
81 if (!ctx_pg) in bnxt_get_driver_coredump_len()
90 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_get_driver_coredump_len()
92 if (ctx_pg->nr_pages > MAX_CTX_PAGES || in bnxt_get_driver_coredump_len()
93 ctx_pg->ctx_pg_tbl) { in bnxt_get_driver_coredump_len()
100 pg_tbl = ctx_pg->ctx_pg_tbl[k]; in bnxt_get_driver_coredump_len()
186 struct bnxt_ctx_pg_info *ctx_pg = ctxm->pg_info; in bnxt_retrieve_driver_coredump() local
200 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_retrieve_driver_coredump()
202 if (ctx_pg->nr_pages > MAX_CTX_PAGES || ctx_pg->ctx_pg_tbl) { in bnxt_retrieve_driver_coredump()
208 pg_tbl = ctx_pg->ctx_pg_tbl[j]; in bnxt_retrieve_driver_coredump()
H A Dbnxt_hwrm.c637 struct bnxt_ctx_pg_info *ctx_pg; in bnxt_hwrm_func_backing_store_cfg() local
657 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
658 req.qp_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
662 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
668 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
669 req.srq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
672 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
678 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
679 req.cq_num_entries = cpu_to_le32(ctx_pg->entries); in bnxt_hwrm_func_backing_store_cfg()
682 bnxt_hwrm_set_pg_attr(&ctx_pg->ring_mem, in bnxt_hwrm_func_backing_store_cfg()
[all …]
H A Dif_bnxt.c1100 struct bnxt_ctx_pg_info *ctx_pg) in bnxt_alloc_ctx_mem_blk() argument
1102 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_mem_blk()
1105 rmem->pg_arr = ctx_pg->ctx_arr; in bnxt_alloc_ctx_mem_blk()
1115 struct bnxt_ctx_pg_info *ctx_pg, uint32_t mem_size, uint8_t depth, in bnxt_alloc_ctx_pg_tbls() argument
1118 struct bnxt_ring_mem_info *rmem = &ctx_pg->ring_mem; in bnxt_alloc_ctx_pg_tbls()
1124 ctx_pg->nr_pages = DIV_ROUND_UP(mem_size, BNXT_PAGE_SIZE); in bnxt_alloc_ctx_pg_tbls()
1125 if (ctx_pg->nr_pages > MAX_CTX_TOTAL_PAGES) { in bnxt_alloc_ctx_pg_tbls()
1126 ctx_pg->nr_pages = 0; in bnxt_alloc_ctx_pg_tbls()
1129 if (ctx_pg->nr_pages > MAX_CTX_PAGES || depth > 1) { in bnxt_alloc_ctx_pg_tbls()
1133 ctx_pg->ctx_pg_tbl = kzalloc(MAX_CTX_PAGES * sizeof(ctx_pg), in bnxt_alloc_ctx_pg_tbls()
[all …]
H A Dbnxt.h1474 struct bnxt_ctx_pg_info *ctx_pg);
1476 struct bnxt_ctx_pg_info *ctx_pg,
/freebsd/sys/dev/usb/controller/
H A Dxhci.h461 struct usb_page ctx_pg; member
H A Dxhci.c209 cb(bus, &sc->sc_hw.ctx_pc, &sc->sc_hw.ctx_pg, in xhci_iterate_hw_softc()