Searched refs:pktlength (Results 1 – 4 of 4) sorted by relevance
182 u32 pktlength; in msgdma_rx_status() local187 pktlength = csrrd32(priv->rx_dma_resp, in msgdma_rx_status()193 rxstatus |= (pktlength & 0xffff); in msgdma_rx_status()
375 u16 pktlength; in tse_rx() local386 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()
240 unsigned int pktlength = 0; in sgdma_rx_status() local247 pktlength = csrrd16(desc, sgdma_descroffs(bytes_xferred)); in sgdma_rx_status()251 rxstatus |= (pktlength & 0xffff); in sgdma_rx_status()
716 unsigned int pktlength; in smsc911x_phy_check_loopbackpkt() local775 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() local1235 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()