Lines Matching refs:desc_offset
799 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_32() macro
800 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_fill_rx_desc_offset_32()
801 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_fill_rx_desc_offset_32()
802 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_fill_rx_desc_offset_32()
803 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
804 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_fill_rx_desc_offset_32()
805 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
806 ring->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_fill_rx_desc_offset_32()
807 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_32()
808 ring->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_fill_rx_desc_offset_32()
809 ring->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_fill_rx_desc_offset_32()
810 #undef desc_offset in ath10k_htt_fill_rx_desc_offset_32()
818 #define desc_offset(x) (offsetof(struct htt_rx_desc, x) / 4) in ath10k_htt_fill_rx_desc_offset_64() macro
819 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_fill_rx_desc_offset_64()
820 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_fill_rx_desc_offset_64()
821 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_fill_rx_desc_offset_64()
822 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
823 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_fill_rx_desc_offset_64()
824 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
825 ring->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); in ath10k_htt_fill_rx_desc_offset_64()
826 ring->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); in ath10k_htt_fill_rx_desc_offset_64()
827 ring->rx_attention_offset = __cpu_to_le16(desc_offset(attention)); in ath10k_htt_fill_rx_desc_offset_64()
828 ring->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_fill_rx_desc_offset_64()
829 #undef desc_offset in ath10k_htt_fill_rx_desc_offset_64()