Lines Matching refs:rxbd
502 union enetc_rx_bd *rxbd; in enetc_refill_rx_ring() local
507 rxbd = enetc_rxbd(rx_ring, i); in enetc_refill_rx_ring()
519 rxbd->w.addr = cpu_to_le64(rx_swbd->dma + in enetc_refill_rx_ring()
522 rxbd->r.lstatus = 0; in enetc_refill_rx_ring()
524 rxbd = enetc_rxbd_next(rx_ring, rxbd, i); in enetc_refill_rx_ring()
543 union enetc_rx_bd *rxbd, in enetc_get_rx_tstamp() argument
552 if (le16_to_cpu(rxbd->r.flags) & ENETC_RXBD_FLAG_TSTMP) { in enetc_get_rx_tstamp()
555 rxbd = enetc_rxbd_ext(rxbd); in enetc_get_rx_tstamp()
556 tstamp_lo = le32_to_cpu(rxbd->ext.tstamp); in enetc_get_rx_tstamp()
568 union enetc_rx_bd *rxbd, struct sk_buff *skb) in enetc_get_offloads() argument
575 u16 inet_csum = le16_to_cpu(rxbd->r.inet_csum); in enetc_get_offloads()
584 if (le16_to_cpu(rxbd->r.flags) & ENETC_RXBD_FLAG_VLAN) in enetc_get_offloads()
586 le16_to_cpu(rxbd->r.vlan_opt)); in enetc_get_offloads()
589 enetc_get_rx_tstamp(rx_ring->ndev, rxbd, skb); in enetc_get_offloads()
698 union enetc_rx_bd *rxbd; in enetc_clean_rx_ring() local
713 rxbd = enetc_rxbd(rx_ring, i); in enetc_clean_rx_ring()
714 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
722 size = le16_to_cpu(rxbd->r.buf_len); in enetc_clean_rx_ring()
729 enetc_get_offloads(rx_ring, rxbd, skb); in enetc_clean_rx_ring()
733 rxbd = enetc_rxbd_next(rx_ring, rxbd, i); in enetc_clean_rx_ring()
743 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
745 rxbd = enetc_rxbd_next(rx_ring, rxbd, i); in enetc_clean_rx_ring()
758 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
763 size = le16_to_cpu(rxbd->r.buf_len); in enetc_clean_rx_ring()
770 rxbd = enetc_rxbd_next(rx_ring, rxbd, i); in enetc_clean_rx_ring()