Lines Matching full:rxd
259 __le32 *rxd = (__le32 *)skb->data; in mt7615_reverse_frag0_hdr_trans() local
265 if (le32_get_bits(rxd[1], MT_RXD1_NORMAL_ADDR_TYPE) != in mt7615_reverse_frag0_hdr_trans()
269 if (!(le32_to_cpu(rxd[0]) & MT_RXD0_NORMAL_GROUP_4)) in mt7615_reverse_frag0_hdr_trans()
278 /* store the info from RXD and ethhdr to avoid being overridden */ in mt7615_reverse_frag0_hdr_trans()
279 frame_control = le32_get_bits(rxd[4], MT_RXD4_FRAME_CONTROL); in mt7615_reverse_frag0_hdr_trans()
281 hdr.seq_ctrl = cpu_to_le16(le32_get_bits(rxd[6], MT_RXD6_SEQ_CTRL)); in mt7615_reverse_frag0_hdr_trans()
315 memcpy(skb_push(skb, IEEE80211_HT_CTL_LEN), &rxd[7], in mt7615_reverse_frag0_hdr_trans()
321 qos_ctrl = cpu_to_le16(le32_get_bits(rxd[6], MT_RXD6_QOS_CTL)); in mt7615_reverse_frag0_hdr_trans()
343 __le32 *rxd = (__le32 *)skb->data; in mt7615_mac_fill_rx() local
344 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx()
345 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7615_mac_fill_rx()
346 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7615_mac_fill_rx()
420 rxd += 4; in mt7615_mac_fill_rx()
422 u32 v0 = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx()
423 u32 v2 = le32_to_cpu(rxd[2]); in mt7615_mac_fill_rx()
429 rxd += 4; in mt7615_mac_fill_rx()
430 if ((u8 *)rxd - skb->data >= skb->len) in mt7615_mac_fill_rx()
435 u8 *data = (u8 *)rxd; in mt7615_mac_fill_rx()
460 rxd += 4; in mt7615_mac_fill_rx()
461 if ((u8 *)rxd - skb->data >= skb->len) in mt7615_mac_fill_rx()
466 status->timestamp = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx()
483 rxd += 2; in mt7615_mac_fill_rx()
484 if ((u8 *)rxd - skb->data >= skb->len) in mt7615_mac_fill_rx()
489 u32 rxdg5 = le32_to_cpu(rxd[5]); in mt7615_mac_fill_rx()
527 u32 rxdg0 = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx()
528 u32 rxdg1 = le32_to_cpu(rxd[1]); in mt7615_mac_fill_rx()
529 u32 rxdg3 = le32_to_cpu(rxd[3]); in mt7615_mac_fill_rx()
585 mt7615_mac_fill_tm_rx(mphy->priv, rxd); in mt7615_mac_fill_rx()
587 rxd += 6; in mt7615_mac_fill_rx()
588 if ((u8 *)rxd - skb->data >= skb->len) in mt7615_mac_fill_rx()
599 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7615_mac_fill_rx()
1635 __le32 *rxd = (__le32 *)data; in mt7615_rx_check() local
1636 __le32 *end = (__le32 *)&rxd[len / 4]; in mt7615_rx_check()
1639 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7615_rx_check()
1646 for (rxd++; rxd + 7 <= end; rxd += 7) in mt7615_rx_check()
1647 mt7615_mac_add_txs(dev, rxd); in mt7615_rx_check()
1659 __le32 *rxd = (__le32 *)skb->data; in mt7615_queue_rx_skb() local
1664 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7615_queue_rx_skb()
1665 flag = le32_get_bits(rxd[0], MT_RXD0_PKT_FLAG); in mt7615_queue_rx_skb()
1671 for (rxd++; rxd + 7 <= end; rxd += 7) in mt7615_queue_rx_skb()
1672 mt7615_mac_add_txs(dev, rxd); in mt7615_queue_rx_skb()