Searched refs:dump_hdr (Results 1 – 2 of 2) sorted by relevance
166 struct rt2x00dump_hdr *dump_hdr; in rt2x00debug_dump_frame() local184 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()191 dump_hdr = skb_put(skbcopy, sizeof(*dump_hdr)); in rt2x00debug_dump_frame()192 dump_hdr->version = cpu_to_le32(DUMP_HEADER_VERSION); in rt2x00debug_dump_frame()193 dump_hdr->header_length = cpu_to_le32(sizeof(*dump_hdr)); in rt2x00debug_dump_frame()194 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame()195 dump_hdr->data_length = cpu_to_le32(data_len); in rt2x00debug_dump_frame()196 dump_hdr->chip_rt = cpu_to_le16(rt2x00dev->chip.rt); in rt2x00debug_dump_frame()197 dump_hdr->chip_rf = cpu_to_le16(rt2x00dev->chip.rf); in rt2x00debug_dump_frame()198 dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev); in rt2x00debug_dump_frame()[all …]
965 struct dump_header dump_hdr = {0}; in bnx2x_get_regs() local980 dump_hdr.header_size = (sizeof(struct dump_header) / 4) - 1; in bnx2x_get_regs()981 dump_hdr.preset = DUMP_ALL_PRESETS; in bnx2x_get_regs()982 dump_hdr.version = BNX2X_DUMP_VERSION; in bnx2x_get_regs()986 dump_hdr.dump_meta_data = DUMP_CHIP_E1; in bnx2x_get_regs()988 dump_hdr.dump_meta_data = DUMP_CHIP_E1H; in bnx2x_get_regs()990 dump_hdr.dump_meta_data = DUMP_CHIP_E2 | in bnx2x_get_regs()993 dump_hdr.dump_meta_data = DUMP_CHIP_E3A0 | in bnx2x_get_regs()996 dump_hdr.dump_meta_data = DUMP_CHIP_E3B0 | in bnx2x_get_regs()1000 memcpy(p, &dump_hdr, sizeof(struct dump_header)); in bnx2x_get_regs()[all …]