/u-boot/drivers/net/ |
A D | mt7628-eth.c | 426 static int mt7628_eth_recv(struct udevice *dev, int flags, uchar **packetp) in mt7628_eth_recv() argument 446 *packetp = priv->rx_buf[idx]; in mt7628_eth_recv() 447 invalidate_dcache_range((u32)*packetp, (u32)*packetp + length); in mt7628_eth_recv() 482 uchar *packetp; in mt7628_eth_start() local 541 packetp = &packet[0]; in mt7628_eth_start() 542 while (mt7628_eth_recv(dev, 0, &packetp) != -EAGAIN) in mt7628_eth_start() 543 mt7628_eth_free_pkt(dev, packetp, 0); in mt7628_eth_start()
|
A D | ethoc.c | 396 static int ethoc_rx_common(struct ethoc *priv, uchar **packetp) in ethoc_rx_common() argument 413 *packetp = priv->packet + entry * PKTSIZE_ALIGN; in ethoc_rx_common() 415 *packetp = net_rx_packets[i]; in ethoc_rx_common() 667 static int ethoc_recv(struct udevice *dev, int flags, uchar **packetp) in ethoc_recv() argument 675 return ethoc_rx_common(priv, packetp); in ethoc_recv() 793 uchar *packetp; in ethoc_recv() local 794 int size = ethoc_rx_common(priv, &packetp); in ethoc_recv() 799 net_process_received_packet(packetp, size); in ethoc_recv()
|
A D | sandbox-raw.c | 67 static int sb_eth_raw_recv(struct udevice *dev, int flags, uchar **packetp) in sb_eth_raw_recv() argument 121 *packetp = net_rx_packets[0]; in sb_eth_raw_recv()
|
A D | altera_tse.c | 183 uchar **packetp) in altera_tse_recv_sgdma() argument 194 *packetp = priv->rx_buf; in altera_tse_recv_sgdma() 336 uchar **packetp) in altera_tse_recv_msgdma() argument 348 *packetp = priv->rx_buf; in altera_tse_recv_msgdma() 490 static int altera_tse_recv(struct udevice *dev, int flags, uchar **packetp) in altera_tse_recv() argument 494 return priv->ops->recv(dev, flags, packetp); in altera_tse_recv()
|
A D | rtl8139.c | 437 uchar **packetp) in rtl8139_recv_common() argument 481 *packetp = rxdata; in rtl8139_recv_common() 485 *packetp = rx_ring + ring_offs + 4; in rtl8139_recv_common() 688 static int rtl8139_recv(struct udevice *dev, int flags, uchar **packetp) in rtl8139_recv() argument 693 return rtl8139_recv_common(priv, rxdata, packetp); in rtl8139_recv()
|
A D | mvgbe.c | 639 static int __mvgbe_recv(struct mvgbe_device *dmvgbe, uchar **packetp) in __mvgbe_recv() argument 648 *packetp = NULL; in __mvgbe_recv() 696 *packetp = data; in __mvgbe_recv() 936 static int mvgbe_recv(struct udevice *dev, int flags, uchar **packetp) in mvgbe_recv() argument 940 return __mvgbe_recv(dmvgbe, packetp); in mvgbe_recv()
|
A D | fsl_enetc.c | 624 static int enetc_recv(struct udevice *dev, int flags, uchar **packetp) in enetc_recv() argument 647 *packetp = (uchar *)enetc_rxb_address(dev, pi); in enetc_recv() 650 upper_32_bits((u64)*packetp), lower_32_bits((u64)*packetp)); in enetc_recv()
|
A D | rtl8169.c | 519 uchar **packetp) in rtl_recv_common() argument 522 uchar **packetp) in rtl_recv_common() 566 *packetp = rxdata; in rtl_recv_common() 588 int rtl8169_eth_recv(struct udevice *dev, int flags, uchar **packetp) in rtl8169_eth_recv() argument 592 return rtl_recv_common(dev, priv->iobase, packetp); in rtl8169_eth_recv()
|
A D | altera_tse.h | 209 int (*recv)(struct udevice *dev, int flags, uchar **packetp);
|
A D | ftmac100.c | 342 static int ftmac100_recv(struct udevice *dev, int flags, uchar **packetp) in ftmac100_recv() argument 350 *packetp = (uchar *)(unsigned long)curr_des->rxdes2; in ftmac100_recv()
|
A D | designware.c | 431 static int _dw_eth_recv(struct dw_eth_dev *priv, uchar **packetp) in _dw_eth_recv() argument 456 *packetp = (uchar *)(ulong)desc_p->dmamac_addr; in _dw_eth_recv() 634 int designware_eth_recv(struct udevice *dev, int flags, uchar **packetp) in designware_eth_recv() argument 638 return _dw_eth_recv(priv, packetp); in designware_eth_recv()
|
A D | designware.h | 266 int designware_eth_recv(struct udevice *dev, int flags, uchar **packetp);
|
A D | sandbox.c | 350 static int sb_eth_recv(struct udevice *dev, int flags, uchar **packetp) in sb_eth_recv() argument 364 *packetp = priv->recv_packet_buffer[0]; in sb_eth_recv()
|
A D | eepro100.c | 680 static int eepro100_recv_common(struct eepro100_priv *priv, uchar **packetp) in eepro100_recv_common() argument 703 *packetp = desc->data; in eepro100_recv_common() 928 static int eepro100_recv(struct udevice *dev, int flags, uchar **packetp) in eepro100_recv() argument 932 return eepro100_recv_common(priv, packetp); in eepro100_recv()
|
A D | sunxi_emac.c | 550 static int sunxi_emac_eth_recv(struct udevice *dev, int flags, uchar **packetp) in sunxi_emac_eth_recv() argument 556 *packetp = priv->rx_buf; in sunxi_emac_eth_recv()
|
A D | bcm6348-eth.c | 157 static int bcm6348_eth_recv(struct udevice *dev, int flags, uchar **packetp) in bcm6348_eth_recv() argument 161 return dma_receive(&priv->rx_dma, (void**)packetp, NULL); in bcm6348_eth_recv()
|
A D | macb.c | 438 static int _macb_recv(struct macb_device *macb, uchar **packetp) in _macb_recv() argument 484 *packetp = (void *)net_rx_packets[0]; in _macb_recv() 486 *packetp = buffer; in _macb_recv() 1275 static int macb_recv(struct udevice *dev, int flags, uchar **packetp) in macb_recv() argument 1282 return _macb_recv(macb, packetp); in macb_recv()
|
A D | pch_gbe.c | 292 static int pch_gbe_recv(struct udevice *dev, int flags, uchar **packetp) in pch_gbe_recv() argument 315 *packetp = (uchar *)buffer; in pch_gbe_recv()
|
/u-boot/net/ |
A D | dsa-uclass.c | 144 static int dsa_port_recv(struct udevice *pdev, int flags, uchar **packetp) in dsa_port_recv() argument 154 length = eth_get_ops(master)->recv(master, flags, packetp); in dsa_port_recv() 165 err = ops->rcv(dev, &port_index, *packetp, length); in dsa_port_recv() 168 eth_get_ops(master)->free_pkt(master, *packetp, length); in dsa_port_recv() 176 *packetp += head; in dsa_port_recv()
|
/u-boot/drivers/virtio/ |
A D | virtio_net.c | 109 static int virtio_net_recv(struct udevice *dev, int flags, uchar **packetp) in virtio_net_recv() argument 119 *packetp = buf + priv->net_hdr_len; in virtio_net_recv()
|
/u-boot/drivers/net/pfe_eth/ |
A D | pfe_eth.c | 188 static int pfe_eth_recv(struct udevice *dev, int flags, uchar **packetp) in pfe_eth_recv() argument 209 *packetp = pkt_buf; in pfe_eth_recv()
|
/u-boot/drivers/usb/eth/ |
A D | lan7x.h | 233 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp);
|
A D | lan7x.c | 423 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp) in lan7x_eth_recv() argument 472 *packetp = ptr + 10; in lan7x_eth_recv()
|
/u-boot/drivers/net/mscc_eswitch/ |
A D | servalt_switch.c | 378 static int servalt_recv(struct udevice *dev, int flags, uchar **packetp) in servalt_recv() argument 387 *packetp = net_rx_packets[0]; in servalt_recv()
|
/u-boot/drivers/net/qe/ |
A D | dm_qe_uec.c | 291 static int qe_uec_recv(struct udevice *dev, int flags, uchar **packetp) in qe_uec_recv() argument 300 *packetp = memalign(ARCH_DMA_MINALIGN, MAX_RXBUF_LEN); in qe_uec_recv() 301 if (*packetp == 0) { in qe_uec_recv() 313 memcpy(*packetp, (char *)data, len); in qe_uec_recv()
|