Searched refs:rxdesc (Results 1 – 1 of 1) sorted by relevance
316 struct xgmac_dma_desc *rxdesc = priv->rx_chain; in init_rx_desc() local321 desc_init_rx_desc(rxdesc, RX_NUM_DESC, ETH_BUF_SZ); in init_rx_desc()322 writel((ulong)rxdesc, ®s->rxdesclist); in init_rx_desc()325 desc_set_buf_addr(rxdesc + i, rxbuffer + (i * ETH_BUF_SZ), in init_rx_desc()327 desc_set_rx_owner(rxdesc + i); in init_rx_desc()459 struct xgmac_dma_desc *rxdesc = &priv->rx_chain[currdesc]; in xgmac_rx() local463 if (desc_get_owner(rxdesc)) in xgmac_rx()466 length = desc_get_rx_frame_len(rxdesc); in xgmac_rx()468 net_process_received_packet(desc_get_buf_addr(rxdesc), length); in xgmac_rx()471 desc_set_rx_owner(rxdesc); in xgmac_rx()