Lines Matching refs:__rxdesc
73 static inline u32 get_rx_desc_pkt_len(__le32 *__rxdesc) in get_rx_desc_pkt_len() argument
75 return le32_get_bits(*__rxdesc, GENMASK(13, 0)); in get_rx_desc_pkt_len()
78 static inline u32 get_rx_desc_crc32(__le32 *__rxdesc) in get_rx_desc_crc32() argument
80 return le32_get_bits(*__rxdesc, BIT(14)); in get_rx_desc_crc32()
83 static inline u32 get_rx_desc_icv(__le32 *__rxdesc) in get_rx_desc_icv() argument
85 return le32_get_bits(*__rxdesc, BIT(15)); in get_rx_desc_icv()
88 static inline u32 get_rx_desc_drvinfo_size(__le32 *__rxdesc) in get_rx_desc_drvinfo_size() argument
90 return le32_get_bits(*__rxdesc, GENMASK(19, 16)); in get_rx_desc_drvinfo_size()
93 static inline u32 get_rx_desc_shift(__le32 *__rxdesc) in get_rx_desc_shift() argument
95 return le32_get_bits(*__rxdesc, GENMASK(25, 24)); in get_rx_desc_shift()
98 static inline u32 get_rx_desc_phy_status(__le32 *__rxdesc) in get_rx_desc_phy_status() argument
100 return le32_get_bits(*__rxdesc, BIT(26)); in get_rx_desc_phy_status()
103 static inline u32 get_rx_desc_swdec(__le32 *__rxdesc) in get_rx_desc_swdec() argument
105 return le32_get_bits(*__rxdesc, BIT(27)); in get_rx_desc_swdec()
110 static inline u32 get_rx_desc_paggr(__le32 *__rxdesc) in get_rx_desc_paggr() argument
112 return le32_get_bits(*(__rxdesc + 1), BIT(14)); in get_rx_desc_paggr()
115 static inline u32 get_rx_desc_faggr(__le32 *__rxdesc) in get_rx_desc_faggr() argument
117 return le32_get_bits(*(__rxdesc + 1), BIT(15)); in get_rx_desc_faggr()
122 static inline u32 get_rx_desc_rx_mcs(__le32 *__rxdesc) in get_rx_desc_rx_mcs() argument
124 return le32_get_bits(*(__rxdesc + 3), GENMASK(5, 0)); in get_rx_desc_rx_mcs()
127 static inline u32 get_rx_desc_rx_ht(__le32 *__rxdesc) in get_rx_desc_rx_ht() argument
129 return le32_get_bits(*(__rxdesc + 3), BIT(6)); in get_rx_desc_rx_ht()
132 static inline u32 get_rx_desc_splcp(__le32 *__rxdesc) in get_rx_desc_splcp() argument
134 return le32_get_bits(*(__rxdesc + 3), BIT(8)); in get_rx_desc_splcp()
137 static inline u32 get_rx_desc_bw(__le32 *__rxdesc) in get_rx_desc_bw() argument
139 return le32_get_bits(*(__rxdesc + 3), BIT(9)); in get_rx_desc_bw()
144 static inline u32 get_rx_desc_tsfl(__le32 *__rxdesc) in get_rx_desc_tsfl() argument
146 return le32_to_cpu(*((__rxdesc + 5))); in get_rx_desc_tsfl()