Home
last modified time | relevance | path

Searched refs:rx_curr_desc (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/net/
Ddavinci_emac.c677 volatile emac_desc *rx_curr_desc; in davinci_eth_rcv_packet() local
682 rx_curr_desc = emac_rx_active_head; in davinci_eth_rcv_packet()
683 if (!rx_curr_desc) in davinci_eth_rcv_packet()
685 status = rx_curr_desc->pkt_flag_len; in davinci_eth_rcv_packet()
691 unsigned long tmp = (unsigned long)rx_curr_desc->buffer; in davinci_eth_rcv_packet()
693 rx_curr_desc->buff_off_len & 0xffff; in davinci_eth_rcv_packet()
696 net_process_received_packet(rx_curr_desc->buffer, len); in davinci_eth_rcv_packet()
701 writel(BD_TO_HW((ulong)rx_curr_desc), &adap_emac->RX0CP); in davinci_eth_rcv_packet()
702 curr_desc = rx_curr_desc; in davinci_eth_rcv_packet()
704 (volatile emac_desc *) (HW_TO_BD(rx_curr_desc->next)); in davinci_eth_rcv_packet()
[all …]