Lines Matching refs:dump_hdr

968 	struct dump_header dump_hdr = {0};  in bnx2x_get_regs()  local
983 dump_hdr.header_size = (sizeof(struct dump_header) / 4) - 1; in bnx2x_get_regs()
984 dump_hdr.preset = DUMP_ALL_PRESETS; in bnx2x_get_regs()
985 dump_hdr.version = BNX2X_DUMP_VERSION; in bnx2x_get_regs()
989 dump_hdr.dump_meta_data = DUMP_CHIP_E1; in bnx2x_get_regs()
991 dump_hdr.dump_meta_data = DUMP_CHIP_E1H; in bnx2x_get_regs()
993 dump_hdr.dump_meta_data = DUMP_CHIP_E2 | in bnx2x_get_regs()
996 dump_hdr.dump_meta_data = DUMP_CHIP_E3A0 | in bnx2x_get_regs()
999 dump_hdr.dump_meta_data = DUMP_CHIP_E3B0 | in bnx2x_get_regs()
1003 memcpy(p, &dump_hdr, sizeof(struct dump_header)); in bnx2x_get_regs()
1004 p += dump_hdr.header_size + 1; in bnx2x_get_regs()
1063 struct dump_header dump_hdr = {0}; in bnx2x_get_dump_data() local
1072 dump_hdr.header_size = (sizeof(struct dump_header) / 4) - 1; in bnx2x_get_dump_data()
1073 dump_hdr.preset = bp->dump_preset_idx; in bnx2x_get_dump_data()
1074 dump_hdr.version = BNX2X_DUMP_VERSION; in bnx2x_get_dump_data()
1076 DP(BNX2X_MSG_ETHTOOL, "Get dump data of preset %d\n", dump_hdr.preset); in bnx2x_get_dump_data()
1080 dump_hdr.dump_meta_data = DUMP_CHIP_E1; in bnx2x_get_dump_data()
1082 dump_hdr.dump_meta_data = DUMP_CHIP_E1H; in bnx2x_get_dump_data()
1084 dump_hdr.dump_meta_data = DUMP_CHIP_E2 | in bnx2x_get_dump_data()
1087 dump_hdr.dump_meta_data = DUMP_CHIP_E3A0 | in bnx2x_get_dump_data()
1090 dump_hdr.dump_meta_data = DUMP_CHIP_E3B0 | in bnx2x_get_dump_data()
1094 memcpy(p, &dump_hdr, sizeof(struct dump_header)); in bnx2x_get_dump_data()
1095 p += dump_hdr.header_size + 1; in bnx2x_get_dump_data()
1098 __bnx2x_get_preset_regs(bp, p, dump_hdr.preset); in bnx2x_get_dump_data()