Lines Matching refs:rxlen
249 int rxlen = req->count; in emac_dma_done_callback() local
252 dma_unmap_single(db->dev, req->rxbuf, rxlen, DMA_FROM_DEVICE); in emac_dma_done_callback()
256 dev->stats.rx_bytes += rxlen; in emac_dma_done_callback()
624 u32 rxhdr, rxstatus, rxcount, rxlen; in emac_rx() local
692 rxlen = EMAC_RX_IO_DATA_LEN(rxhdr); in emac_rx()
697 rxstatus, rxlen); in emac_rx()
700 if (rxlen < 0x40) { in emac_rx()
724 skb = netdev_alloc_skb(dev, rxlen + 4); in emac_rx()
728 rdptr = skb_put(skb, rxlen - 4); in emac_rx()
732 dev_dbg(db->dev, "RxLen %x\n", rxlen); in emac_rx()
734 if (rxlen >= dev->mtu && db->rx_chan) { in emac_rx()
738 if (!emac_dma_inblk_32bit(db, skb, rdptr, rxlen)) in emac_rx()
748 rdptr, rxlen); in emac_rx()
749 dev->stats.rx_bytes += rxlen; in emac_rx()