Lines Matching refs:dump_hdr
137 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()
170 dump_hdr->type = cpu_to_le16(type); in rt2x00debug_dump_frame()
171 dump_hdr->queue_index = entry->queue->qid; in rt2x00debug_dump_frame()
172 dump_hdr->entry_index = entry->entry_idx; in rt2x00debug_dump_frame()
173 dump_hdr->timestamp_sec = cpu_to_le32(timestamp.tv_sec); in rt2x00debug_dump_frame()
174 dump_hdr->timestamp_usec = cpu_to_le32(timestamp.tv_nsec / in rt2x00debug_dump_frame()