Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c399 if (!bp->fw_crash_mem) in bnxt_copy_crash_dump()
402 rmem = &bp->fw_crash_mem->ring_mem; in bnxt_copy_crash_dump()
410 pg_tbl = bp->fw_crash_mem->ctx_pg_tbl[i]; in bnxt_copy_crash_dump()
508 bp->fw_crash_mem) { in bnxt_get_coredump_length()
Dbnxt.c8939 bp->fw_crash_mem->ring_mem.depth); in bnxt_hwrm_crash_dump_mem_cfg()
8940 req->pbl = cpu_to_le64(bp->fw_crash_mem->ring_mem.pg_tbl_map); in bnxt_hwrm_crash_dump_mem_cfg()
8948 if (bp->fw_crash_mem) { in bnxt_free_crash_dump_mem()
8949 bnxt_free_ctx_pg_tbls(bp, bp->fw_crash_mem); in bnxt_free_crash_dump_mem()
8950 kfree(bp->fw_crash_mem); in bnxt_free_crash_dump_mem()
8951 bp->fw_crash_mem = NULL; in bnxt_free_crash_dump_mem()
8970 if (bp->fw_crash_mem && in bnxt_alloc_crash_dump_mem()
8971 mem_size <= bp->fw_crash_mem->nr_pages * BNXT_PAGE_SIZE) in bnxt_alloc_crash_dump_mem()
8974 if (bp->fw_crash_mem) in bnxt_alloc_crash_dump_mem()
8975 bnxt_free_ctx_pg_tbls(bp, bp->fw_crash_mem); in bnxt_alloc_crash_dump_mem()
[all …]
Dbnxt.h2651 struct bnxt_ctx_pg_info *fw_crash_mem; member