Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dbcm-sf2-eth.c108 int rcvlen; in bcm_sf2_eth_receive() local
114 rcvlen = dma->check_rx_done(dma, buf); in bcm_sf2_eth_receive()
115 if (rcvlen < 0) { in bcm_sf2_eth_receive()
120 } else if ((rcvlen == 0) || (rcvlen > RX_BUF_SIZE)) { in bcm_sf2_eth_receive()
122 __func__, rcvlen); in bcm_sf2_eth_receive()
128 net_process_received_packet(buf, rcvlen); in bcm_sf2_eth_receive()
A Dbcm-sf2-eth-gmac.c402 size_t rcvlen = 0, buflen = 0; in gmac_check_rx_done() local
461 rcvlen = *(uint16_t *)bufp; in gmac_check_rx_done()
463 debug("Received %d bytes\n", rcvlen); in gmac_check_rx_done()
467 memcpy(buf, datap, rcvlen); in gmac_check_rx_done()
481 return (int)rcvlen; in gmac_check_rx_done()

Completed in 4 milliseconds