Lines Matching refs:log_hdr
47 pktlog_hdr_set_specific_data(struct ath_pktlog_hdr *log_hdr, in pktlog_hdr_set_specific_data() argument
50 log_hdr->type_specific_data = type_specific_data; in pktlog_hdr_set_specific_data()
54 pktlog_hdr_get_specific_data(struct ath_pktlog_hdr *log_hdr) in pktlog_hdr_get_specific_data() argument
56 return log_hdr->type_specific_data; in pktlog_hdr_get_specific_data()
77 struct ath_pktlog_hdr *log_hdr; in pktlog_getbuf_intsafe() local
124 log_hdr = (struct ath_pktlog_hdr *)(log_buf->log_data + cur_wr_offset); in pktlog_getbuf_intsafe()
126 log_hdr->flags = flags; in pktlog_getbuf_intsafe()
128 log_hdr->macId = mac_id; in pktlog_getbuf_intsafe()
129 log_hdr->log_type = log_type; in pktlog_getbuf_intsafe()
131 log_hdr->log_type = log_type; in pktlog_getbuf_intsafe()
133 log_hdr->size = (uint16_t) log_size; in pktlog_getbuf_intsafe()
134 log_hdr->missed_cnt = plarg->missed_cnt; in pktlog_getbuf_intsafe()
135 log_hdr->timestamp = plarg->timestamp; in pktlog_getbuf_intsafe()
136 pktlog_hdr_set_specific_data(log_hdr, in pktlog_getbuf_intsafe()
138 cur_wr_offset += sizeof(*log_hdr); in pktlog_getbuf_intsafe()
155 cur_wr_offset += log_hdr->size; in pktlog_getbuf_intsafe()