Home
last modified time | relevance | path

Searched refs:pdbg_init (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.h9 int cudbg_collect_reg_dump(struct cudbg_init *pdbg_init,
12 int cudbg_collect_fw_devlog(struct cudbg_init *pdbg_init,
15 int cudbg_collect_cim_la(struct cudbg_init *pdbg_init,
18 int cudbg_collect_cim_ma_la(struct cudbg_init *pdbg_init,
21 int cudbg_collect_cim_qcfg(struct cudbg_init *pdbg_init,
24 int cudbg_collect_cim_ibq_tp0(struct cudbg_init *pdbg_init,
27 int cudbg_collect_cim_ibq_tp1(struct cudbg_init *pdbg_init,
30 int cudbg_collect_cim_ibq_ulp(struct cudbg_init *pdbg_init,
33 int cudbg_collect_cim_ibq_sge0(struct cudbg_init *pdbg_init,
36 int cudbg_collect_cim_ibq_sge1(struct cudbg_init *pdbg_init,
[all …]
Dcudbg_lib.c425 static int cudbg_do_compression(struct cudbg_init *pdbg_init, in cudbg_do_compression() argument
446 rc = cudbg_compress_buff(pdbg_init, &temp_in_buff, dbg_buff); in cudbg_do_compression()
457 static int cudbg_write_and_release_buff(struct cudbg_init *pdbg_init, in cudbg_write_and_release_buff() argument
463 if (pdbg_init->compress_type == CUDBG_COMPRESSION_NONE) { in cudbg_write_and_release_buff()
466 rc = cudbg_do_compression(pdbg_init, pin_buff, dbg_buff); in cudbg_write_and_release_buff()
472 cudbg_put_buff(pdbg_init, pin_buff); in cudbg_write_and_release_buff()
476 static int is_fw_attached(struct cudbg_init *pdbg_init) in is_fw_attached() argument
478 struct adapter *padap = pdbg_init->adap; in is_fw_attached()
814 int cudbg_collect_reg_dump(struct cudbg_init *pdbg_init, in cudbg_collect_reg_dump() argument
818 struct adapter *padap = pdbg_init->adap; in cudbg_collect_reg_dump()
[all …]
Dcudbg_common.c10 int cudbg_get_buff(struct cudbg_init *pdbg_init, in cudbg_get_buff() argument
20 if (pdbg_init->compress_type != CUDBG_COMPRESSION_NONE) { in cudbg_get_buff()
21 if (size > pdbg_init->compress_buff_size) in cudbg_get_buff()
24 pin_buff->data = (char *)pdbg_init->compress_buff; in cudbg_get_buff()
36 void cudbg_put_buff(struct cudbg_init *pdbg_init, in cudbg_put_buff() argument
40 if (pdbg_init->compress_type != CUDBG_COMPRESSION_NONE) in cudbg_put_buff()
41 memset(pdbg_init->compress_buff, 0, in cudbg_put_buff()
42 pdbg_init->compress_buff_size); in cudbg_put_buff()
Dcxgb4_cudbg.c104 static void cxgb4_cudbg_collect_entity(struct cudbg_init *pdbg_init, in cxgb4_cudbg_collect_entity() argument
121 ret = e->collect_cb(pdbg_init, dbg_buff, &cudbg_err); in cxgb4_cudbg_collect_entity()
142 static int cudbg_alloc_compress_buff(struct cudbg_init *pdbg_init) in cudbg_alloc_compress_buff() argument
147 pdbg_init->compress_buff = vzalloc(CUDBG_COMPRESS_BUFF_SIZE + in cudbg_alloc_compress_buff()
149 if (!pdbg_init->compress_buff) in cudbg_alloc_compress_buff()
152 pdbg_init->compress_buff_size = CUDBG_COMPRESS_BUFF_SIZE; in cudbg_alloc_compress_buff()
153 pdbg_init->workspace = (u8 *)pdbg_init->compress_buff + in cudbg_alloc_compress_buff()
158 static void cudbg_free_compress_buff(struct cudbg_init *pdbg_init) in cudbg_free_compress_buff() argument
160 vfree(pdbg_init->compress_buff); in cudbg_free_compress_buff()
Dcudbg_lib_common.h70 int cudbg_get_buff(struct cudbg_init *pdbg_init,
73 void cudbg_put_buff(struct cudbg_init *pdbg_init,
Dcudbg_zlib.c27 int cudbg_compress_buff(struct cudbg_init *pdbg_init, in cudbg_compress_buff() argument
45 compress_stream.workspace = pdbg_init->workspace; in cudbg_compress_buff()
Dcudbg_zlib.h28 int cudbg_compress_buff(struct cudbg_init *pdbg_init,
Dcxgb4_cudbg.h17 typedef int (*cudbg_collect_callback_t)(struct cudbg_init *pdbg_init,