Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c126 ha->grcdump[hwfn_index], in qlnx_grc_dump()
141 qlnx_get_grc_dump_size(qlnx_host_t *ha, qlnx_grcdump_t *grcdump) in qlnx_get_grc_dump_size() argument
145 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump_size()
148 grcdump->grcdump_size[i] = ha->grcdump_size[i]; in qlnx_get_grc_dump_size()
154 qlnx_get_grc_dump(qlnx_host_t *ha, qlnx_grcdump_t *grcdump) in qlnx_get_grc_dump() argument
160 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump()
163 if ((ha->grcdump[i] == NULL) || (grcdump->grcdump[i] == NULL) || in qlnx_get_grc_dump()
164 (grcdump->grcdump_size[i] < ha->grcdump_size[i])) in qlnx_get_grc_dump()
172 grcdump->grcdump_dwords[i] = dwords; in qlnx_get_grc_dump()
176 rval = copyout(ha->grcdump[i], grcdump->grcdump[i], in qlnx_get_grc_dump()
[all …]
H A Dqlnx_ioctl.h43 void *grcdump[QLNX_MAX_HW_FUNCS]; member
H A Dqlnx_def.h478 void *grcdump[QLNX_MAX_HW_FUNCS]; member
H A Dqlnx_os.c996 ha->grcdump[i] = qlnx_zalloc(ha->grcdump_size[i]); in qlnx_pci_attach()
997 if (ha->grcdump[i] == NULL) { in qlnx_pci_attach()
1277 if (ha->grcdump[i] != NULL) { in qlnx_release()
1278 free(ha->grcdump[i], M_QLNXBUF); in qlnx_release()
1279 ha->grcdump[i] = NULL; in qlnx_release()
/freebsd/sys/dev/bxe/
H A Dbxe_ioctl.h38 void *grcdump; member
H A Dbxe.c19284 if ((!sc->trigger_grcdump) || (dump->grcdump == NULL) || in bxe_eioctl()
19298 rval = copyout(sc->grc_dump, dump->grcdump, grc_dump_size); in bxe_eioctl()