Lines Matching full:rxd

172 	__le32 *rxv = NULL, *rxd = (__le32 *)skb->data;  in mt7921_mac_fill_rx()  local
177 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
178 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7921_mac_fill_rx()
179 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx()
180 u32 rxd3 = le32_to_cpu(rxd[3]); in mt7921_mac_fill_rx()
181 u32 rxd4 = le32_to_cpu(rxd[4]); in mt7921_mac_fill_rx()
260 rxd += 6; in mt7921_mac_fill_rx()
262 u32 v0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
263 u32 v2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx()
269 rxd += 4; in mt7921_mac_fill_rx()
270 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
275 u8 *data = (u8 *)rxd; in mt7921_mac_fill_rx()
300 rxd += 4; in mt7921_mac_fill_rx()
301 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
306 status->timestamp = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
322 rxd += 2; in mt7921_mac_fill_rx()
323 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
327 /* RXD Group 3 - P-RXV */ in mt7921_mac_fill_rx()
332 rxv = rxd; in mt7921_mac_fill_rx()
333 rxd += 2; in mt7921_mac_fill_rx()
334 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
349 rxd += 6; in mt7921_mac_fill_rx()
350 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
353 rxv = rxd; in mt7921_mac_fill_rx()
359 rxd += 12; in mt7921_mac_fill_rx()
360 if ((u8 *)rxd - skb->data >= skb->len) in mt7921_mac_fill_rx()
387 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7921_mac_fill_rx()
569 __le32 *rxd = (__le32 *)data; in mt7921_rx_check() local
570 __le32 *end = (__le32 *)&rxd[len / 4]; in mt7921_rx_check()
573 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7921_rx_check()
581 for (rxd += 2; rxd + 8 <= end; rxd += 8) in mt7921_rx_check()
582 mt7921_mac_add_txs(dev, rxd); in mt7921_rx_check()
594 __le32 *rxd = (__le32 *)skb->data; in mt7921_queue_rx_skb() local
599 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7921_queue_rx_skb()
600 flag = le32_get_bits(rxd[0], MT_RXD0_PKT_FLAG); in mt7921_queue_rx_skb()
615 for (rxd += 2; rxd + 8 <= end; rxd += 8) in mt7921_queue_rx_skb()
616 mt7921_mac_add_txs(dev, rxd); in mt7921_queue_rx_skb()