Lines Matching defs:rrs
1786 struct atl1c_recv_ret_status *rrs, u16 num)
1790 for (i = 0; i < num; i++, rrs = ATL1C_RRD_DESC(rrd_ring,
1792 rrs->word3 &= ~RRS_RXD_UPDATED;
1799 struct atl1c_recv_ret_status *rrs, u16 num)
1805 rfd_index = (rrs->word0 >> RRS_RX_RFD_INDEX_SHIFT) &
1828 struct atl1c_recv_ret_status *rrs;
1834 rrs = ATL1C_RRD_DESC(rrd_ring, rrd_ring->next_to_clean);
1835 if (likely(RRS_RXD_IS_VALID(rrs->word3))) {
1836 rfd_num = (rrs->word0 >> RRS_RX_RFD_CNT_SHIFT) &
1848 atl1c_clean_rrd(rrd_ring, rrs, rfd_num);
1849 if (rrs->word3 & (RRS_RX_ERR_SUM | RRS_802_3_LEN_ERR)) {
1850 atl1c_clean_rfd(rfd_ring, rrs, rfd_num);
1853 "wrong packet! rrs word3 is %x\n",
1854 rrs->word3);
1858 length = le16_to_cpu((rrs->word3 >> RRS_PKT_SIZE_SHIFT) &
1862 rfd_index = (rrs->word0 >> RRS_RX_RFD_INDEX_SHIFT) &
1875 atl1c_clean_rfd(rfd_ring, rrs, rfd_num);
1878 atl1c_rx_checksum(adapter, skb, rrs);
1879 if (unlikely(adapter->vlgrp) && rrs->word3 & RRS_VLAN_INS) {
1882 AT_TAG_TO_VLAN(rrs->vlan_tag, vlan);