Home
last modified time | relevance | path

Searched refs:dump_hdr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ !
Drt2x00debug.c137 struct rt2x00dump_hdr *dump_hdr; in rt2x00debug_dump_frame() local
155 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()
162 dump_hdr = skb_put(skbcopy, sizeof(*dump_hdr)); in rt2x00debug_dump_frame()
163 dump_hdr->version = cpu_to_le32(DUMP_HEADER_VERSION); in rt2x00debug_dump_frame()
164 dump_hdr->header_length = cpu_to_le32(sizeof(*dump_hdr)); in rt2x00debug_dump_frame()
165 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame()
166 dump_hdr->data_length = cpu_to_le32(data_len); in rt2x00debug_dump_frame()
167 dump_hdr->chip_rt = cpu_to_le16(rt2x00dev->chip.rt); in rt2x00debug_dump_frame()
168 dump_hdr->chip_rf = cpu_to_le16(rt2x00dev->chip.rf); in rt2x00debug_dump_frame()
169 dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev); in rt2x00debug_dump_frame()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ !
Dbnx2x_ethtool.c968 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()
[all …]