Lines Matching refs:rxd
212 __le32 *rxd = (__le32 *)skb->data; in mt7996_reverse_frag0_hdr_trans() local
218 if (le32_get_bits(rxd[3], MT_RXD3_NORMAL_ADDR_TYPE) != in mt7996_reverse_frag0_hdr_trans()
222 if (!(le32_to_cpu(rxd[1]) & MT_RXD1_NORMAL_GROUP_4)) in mt7996_reverse_frag0_hdr_trans()
232 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7996_reverse_frag0_hdr_trans()
234 hdr.seq_ctrl = cpu_to_le16(le32_get_bits(rxd[10], MT_RXD10_SEQ_CTRL)); in mt7996_reverse_frag0_hdr_trans()
268 memcpy(skb_push(skb, IEEE80211_HT_CTL_LEN), &rxd[11], in mt7996_reverse_frag0_hdr_trans()
273 qos_ctrl = cpu_to_le16(le32_get_bits(rxd[10], MT_RXD10_QOS_CTL)); in mt7996_reverse_frag0_hdr_trans()
431 __le32 *rxd = (__le32 *)skb->data; in mt7996_mac_fill_rx() local
433 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7996_mac_fill_rx()
434 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7996_mac_fill_rx()
435 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7996_mac_fill_rx()
436 u32 rxd3 = le32_to_cpu(rxd[3]); in mt7996_mac_fill_rx()
437 u32 rxd4 = le32_to_cpu(rxd[4]); in mt7996_mac_fill_rx()
522 rxd += 8; in mt7996_mac_fill_rx()
524 u32 v0 = le32_to_cpu(rxd[0]); in mt7996_mac_fill_rx()
525 u32 v2 = le32_to_cpu(rxd[2]); in mt7996_mac_fill_rx()
531 rxd += 4; in mt7996_mac_fill_rx()
532 if ((u8 *)rxd - skb->data >= skb->len) in mt7996_mac_fill_rx()
537 u8 *data = (u8 *)rxd; in mt7996_mac_fill_rx()
562 rxd += 4; in mt7996_mac_fill_rx()
563 if ((u8 *)rxd - skb->data >= skb->len) in mt7996_mac_fill_rx()
568 status->timestamp = le32_to_cpu(rxd[0]); in mt7996_mac_fill_rx()
584 rxd += 4; in mt7996_mac_fill_rx()
585 if ((u8 *)rxd - skb->data >= skb->len) in mt7996_mac_fill_rx()
594 rxv = rxd; in mt7996_mac_fill_rx()
595 rxd += 4; in mt7996_mac_fill_rx()
596 if ((u8 *)rxd - skb->data >= skb->len) in mt7996_mac_fill_rx()
609 rxd += 24; in mt7996_mac_fill_rx()
610 if ((u8 *)rxd - skb->data >= skb->len) in mt7996_mac_fill_rx()
626 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7996_mac_fill_rx()
1383 __le32 *rxd = (__le32 *)data; in mt7996_rx_check() local
1384 __le32 *end = (__le32 *)&rxd[len / 4]; in mt7996_rx_check()
1387 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7996_rx_check()
1389 u32 sw_type = le32_get_bits(rxd[0], MT_RXD0_SW_PKT_TYPE_MASK); in mt7996_rx_check()
1401 for (rxd += 4; rxd + 8 <= end; rxd += 8) in mt7996_rx_check()
1402 mt7996_mac_add_txs(dev, rxd); in mt7996_rx_check()
1416 __le32 *rxd = (__le32 *)skb->data; in mt7996_queue_rx_skb() local
1420 type = le32_get_bits(rxd[0], MT_RXD0_PKT_TYPE); in mt7996_queue_rx_skb()
1422 u32 sw_type = le32_get_bits(rxd[0], MT_RXD0_SW_PKT_TYPE_MASK); in mt7996_queue_rx_skb()
1444 for (rxd += 4; rxd + 8 <= end; rxd += 8) in mt7996_queue_rx_skb()
1445 mt7996_mac_add_txs(dev, rxd); in mt7996_queue_rx_skb()