Lines Matching refs:desc_offset

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