Searched refs:dump_hdr (Results 1 – 2 of 2) sorted by relevance
165 struct rt2x00dump_hdr *dump_hdr; in rt2x00debug_dump_frame() local183 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()190 dump_hdr = (struct rt2x00dump_hdr *)skb_put(skbcopy, sizeof(*dump_hdr)); in rt2x00debug_dump_frame()191 dump_hdr->version = cpu_to_le32(DUMP_HEADER_VERSION); in rt2x00debug_dump_frame()192 dump_hdr->header_length = cpu_to_le32(sizeof(*dump_hdr)); in rt2x00debug_dump_frame()193 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame()194 dump_hdr->data_length = cpu_to_le32(data_len); in rt2x00debug_dump_frame()195 dump_hdr->chip_rt = cpu_to_le16(rt2x00dev->chip.rt); in rt2x00debug_dump_frame()196 dump_hdr->chip_rf = cpu_to_le16(rt2x00dev->chip.rf); in rt2x00debug_dump_frame()197 dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev); in rt2x00debug_dump_frame()[all …]
920 struct dump_header dump_hdr = {0}; in bnx2x_get_regs() local935 dump_hdr.header_size = (sizeof(struct dump_header) / 4) - 1; in bnx2x_get_regs()936 dump_hdr.preset = DUMP_ALL_PRESETS; in bnx2x_get_regs()937 dump_hdr.version = BNX2X_DUMP_VERSION; in bnx2x_get_regs()941 dump_hdr.dump_meta_data = DUMP_CHIP_E1; in bnx2x_get_regs()943 dump_hdr.dump_meta_data = DUMP_CHIP_E1H; in bnx2x_get_regs()945 dump_hdr.dump_meta_data = DUMP_CHIP_E2 | in bnx2x_get_regs()948 dump_hdr.dump_meta_data = DUMP_CHIP_E3A0 | in bnx2x_get_regs()951 dump_hdr.dump_meta_data = DUMP_CHIP_E3B0 | in bnx2x_get_regs()955 memcpy(p, &dump_hdr, sizeof(struct dump_header)); in bnx2x_get_regs()[all …]