Lines Matching refs:rdes0
120 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() local
123 if (unlikely(rdes0 & ERDES0_RX_MAC_ADDR)) { in enh_desc_get_ext_status()
184 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() local
187 if (unlikely(rdes0 & RDES0_OWN)) in enh_desc_get_rx_status()
190 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { in enh_desc_get_rx_status()
195 if (unlikely(rdes0 & RDES0_ERROR_SUMMARY)) { in enh_desc_get_rx_status()
196 if (unlikely(rdes0 & RDES0_DESCRIPTOR_ERROR)) { in enh_desc_get_rx_status()
200 if (unlikely(rdes0 & RDES0_OVERFLOW_ERROR)) in enh_desc_get_rx_status()
203 if (unlikely(rdes0 & RDES0_IPC_CSUM_ERROR)) in enh_desc_get_rx_status()
206 if (unlikely(rdes0 & RDES0_COLLISION)) in enh_desc_get_rx_status()
208 if (unlikely(rdes0 & RDES0_RECEIVE_WATCHDOG)) in enh_desc_get_rx_status()
211 if (unlikely(rdes0 & RDES0_MII_ERROR)) /* GMII */ in enh_desc_get_rx_status()
214 if (unlikely(rdes0 & RDES0_CRC_ERROR)) { in enh_desc_get_rx_status()
225 ret = enh_desc_coe_rdes0(!!(rdes0 & RDES0_IPC_CSUM_ERROR), in enh_desc_get_rx_status()
226 !!(rdes0 & RDES0_FRAME_TYPE), in enh_desc_get_rx_status()
227 !!(rdes0 & ERDES0_RX_MAC_ADDR)); in enh_desc_get_rx_status()
229 if (unlikely(rdes0 & RDES0_DRIBBLING)) in enh_desc_get_rx_status()
232 if (unlikely(rdes0 & RDES0_SA_FILTER_FAIL)) { in enh_desc_get_rx_status()
236 if (unlikely(rdes0 & RDES0_DA_FILTER_FAIL)) { in enh_desc_get_rx_status()
240 if (unlikely(rdes0 & RDES0_LENGTH_ERROR)) { in enh_desc_get_rx_status()
245 if (rdes0 & RDES0_VLAN_TAG) in enh_desc_get_rx_status()