Searched refs:rcvlen (Results 1 – 2 of 2) sorted by relevance
108 int rcvlen; in bcm_sf2_eth_receive() local114 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()
402 size_t rcvlen = 0, buflen = 0; in gmac_check_rx_done() local461 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