Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/altera/
Daltera_msgdma.c182 u32 pktlength; in msgdma_rx_status() local
187 pktlength = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()
193 rxstatus |= (pktlength & 0xffff); in msgdma_rx_status()
Daltera_tse_main.c375 u16 pktlength; in tse_rx() local
386 pktlength = rxstatus & 0xffff; in tse_rx()
388 if ((pktstatus & 0xFF) || (pktlength == 0)) in tse_rx()
391 pktstatus, pktlength); in tse_rx()
397 pktlength -= 2; in tse_rx()
412 skb_put(skb, pktlength); in tse_rx()
419 pktlength); in tse_rx()
421 16, 1, skb->data, pktlength, true); in tse_rx()
432 priv->dev->stats.rx_bytes += pktlength; in tse_rx()
Daltera_sgdma.c240 unsigned int pktlength = 0; in sgdma_rx_status() local
247 pktlength = csrrd16(desc, sgdma_descroffs(bytes_xferred)); in sgdma_rx_status()
251 rxstatus |= (pktlength & 0xffff); in sgdma_rx_status()
/Linux-v5.4/drivers/net/ethernet/smsc/
Dsmsc911x.c716 unsigned int pktlength; in smsc911x_phy_check_loopbackpkt() local
775 pktlength = ((status & 0x3FFF0000UL) >> 16); in smsc911x_phy_check_loopbackpkt()
777 rdsz = pktlength + 3; in smsc911x_phy_check_loopbackpkt()
783 if (pktlength != (MIN_PACKET_SIZE + 4)) { in smsc911x_phy_check_loopbackpkt()
786 pktlength); in smsc911x_phy_check_loopbackpkt()
1214 unsigned int pktlength; in smsc911x_poll() local
1235 pktlength = ((rxstat & 0x3FFF0000) >> 16); in smsc911x_poll()
1236 pktwords = (pktlength + NET_IP_ALIGN + 3) >> 2; in smsc911x_poll()
1264 skb_put(skb, pktlength - 4); in smsc911x_poll()
1271 dev->stats.rx_bytes += (pktlength - 4); in smsc911x_poll()