/openbmc/u-boot/drivers/net/ |
H A D | mt7628-eth.c | 411 static int mt7628_eth_recv(struct udevice *dev, int flags, uchar **packetp) in mt7628_eth_recv() argument 430 *packetp = priv->rx_buf[idx]; in mt7628_eth_recv() 431 invalidate_dcache_range((u32)*packetp, (u32)*packetp + length); in mt7628_eth_recv() 474 uchar *packetp; in mt7628_eth_start() local 544 packetp = &packet[0]; in mt7628_eth_start() 545 while (mt7628_eth_recv(dev, 0, &packetp) != -EAGAIN) in mt7628_eth_start() 546 mt7628_eth_free_pkt(dev, packetp, 0); in mt7628_eth_start()
|
H A D | ethoc.c | 394 static int ethoc_rx_common(struct ethoc *priv, uchar **packetp) in ethoc_rx_common() argument 411 *packetp = priv->packet + entry * PKTSIZE_ALIGN; in ethoc_rx_common() 413 *packetp = net_rx_packets[i]; in ethoc_rx_common() 665 static int ethoc_recv(struct udevice *dev, int flags, uchar **packetp) in ethoc_recv() argument 673 return ethoc_rx_common(priv, packetp); in ethoc_recv() 791 uchar *packetp; in ethoc_recv() local 792 int size = ethoc_rx_common(priv, &packetp); in ethoc_recv() 797 net_process_received_packet(packetp, size); in ethoc_recv()
|
H A D | altera_tse.c | 180 uchar **packetp) in altera_tse_recv_sgdma() argument 191 *packetp = priv->rx_buf; in altera_tse_recv_sgdma() 333 uchar **packetp) in altera_tse_recv_msgdma() argument 345 *packetp = priv->rx_buf; in altera_tse_recv_msgdma() 487 static int altera_tse_recv(struct udevice *dev, int flags, uchar **packetp) in altera_tse_recv() argument 491 return priv->ops->recv(dev, flags, packetp); in altera_tse_recv()
|
H A D | sandbox-raw.c | 64 static int sb_eth_raw_recv(struct udevice *dev, int flags, uchar **packetp) in sb_eth_raw_recv() argument 118 *packetp = net_rx_packets[0]; in sb_eth_raw_recv()
|
H A D | mvgbe.c | 636 static int __mvgbe_recv(struct mvgbe_device *dmvgbe, uchar **packetp) in __mvgbe_recv() argument 645 *packetp = NULL; in __mvgbe_recv() 693 *packetp = data; in __mvgbe_recv() 933 static int mvgbe_recv(struct udevice *dev, int flags, uchar **packetp) in mvgbe_recv() argument 937 return __mvgbe_recv(dmvgbe, packetp); in mvgbe_recv()
|
H A D | rtl8169.c | 510 uchar **packetp) in rtl_recv_common() argument 513 uchar **packetp) in rtl_recv_common() 557 *packetp = rxdata; in rtl_recv_common() 579 int rtl8169_eth_recv(struct udevice *dev, int flags, uchar **packetp) in rtl8169_eth_recv() argument 583 return rtl_recv_common(dev, priv->iobase, packetp); in rtl8169_eth_recv()
|
H A D | macb.c | 388 static int _macb_recv(struct macb_device *macb, uchar **packetp) in _macb_recv() argument 424 *packetp = (void *)net_rx_packets[0]; in _macb_recv() 426 *packetp = buffer; in _macb_recv() 1008 static int macb_recv(struct udevice *dev, int flags, uchar **packetp) in macb_recv() argument 1015 return _macb_recv(macb, packetp); in macb_recv()
|
H A D | designware.c | 424 static int _dw_eth_recv(struct dw_eth_dev *priv, uchar **packetp) in _dw_eth_recv() argument 449 *packetp = (uchar *)(ulong)desc_p->dmamac_addr; in _dw_eth_recv() 629 int designware_eth_recv(struct udevice *dev, int flags, uchar **packetp) in designware_eth_recv() argument 633 return _dw_eth_recv(priv, packetp); in designware_eth_recv()
|
H A D | sun8i_emac.c | 537 static int _sun8i_eth_recv(struct emac_eth_dev *priv, uchar **packetp) in _sun8i_eth_recv() argument 576 *packetp = (uchar *)(ulong)desc_p->buf_addr; in _sun8i_eth_recv() 749 static int sun8i_emac_eth_recv(struct udevice *dev, int flags, uchar **packetp) in sun8i_emac_eth_recv() argument 753 return _sun8i_eth_recv(priv, packetp); in sun8i_emac_eth_recv()
|
H A D | ftmac100.c | 338 static int ftmac100_recv(struct udevice *dev, int flags, uchar **packetp) in ftmac100_recv() argument 346 *packetp = (uchar *)(unsigned long)curr_des->rxdes2; in ftmac100_recv()
|
H A D | sunxi_emac.c | 540 static int sunxi_emac_eth_recv(struct udevice *dev, int flags, uchar **packetp) in sunxi_emac_eth_recv() argument 546 *packetp = priv->rx_buf; in sunxi_emac_eth_recv()
|
H A D | sandbox.c | 348 static int sb_eth_recv(struct udevice *dev, int flags, uchar **packetp) in sb_eth_recv() argument 362 *packetp = priv->recv_packet_buffer[0]; in sb_eth_recv()
|
H A D | bcm6348-eth.c | 155 static int bcm6348_eth_recv(struct udevice *dev, int flags, uchar **packetp) in bcm6348_eth_recv() argument 159 return dma_receive(&priv->rx_dma, (void**)packetp, NULL); in bcm6348_eth_recv()
|
H A D | altera_tse.h | 208 int (*recv)(struct udevice *dev, int flags, uchar **packetp);
|
H A D | designware.h | 263 int designware_eth_recv(struct udevice *dev, int flags, uchar **packetp);
|
H A D | pch_gbe.c | 288 static int pch_gbe_recv(struct udevice *dev, int flags, uchar **packetp) in pch_gbe_recv() argument 311 *packetp = (uchar *)buffer; in pch_gbe_recv()
|
H A D | xilinx_emaclite.c | 454 static int emaclite_recv(struct udevice *dev, int flags, uchar **packetp) in emaclite_recv() argument 537 *packetp = etherrxbuff; in emaclite_recv()
|
H A D | dwc_eth_qos.c | 1222 int eqos_recv(struct udevice *dev, int flags, uchar **packetp) in eqos_recv() argument 1236 *packetp = eqos->rx_dma_buf + in eqos_recv() 1239 debug("%s: *packetp=%p, length=%d\n", __func__, *packetp, length); in eqos_recv() 1241 eqos_inval_buffer(*packetp, length); in eqos_recv()
|
H A D | fec_mxc.c | 833 static int fecmxc_recv(struct udevice *dev, int flags, uchar **packetp) in fecmxc_recv() argument 851 *packetp = memalign(ARCH_DMA_MINALIGN, FEC_MAX_PKT_SIZE); in fecmxc_recv() 852 if (*packetp == 0) { in fecmxc_recv() 936 memcpy(*packetp, (char *)addr, frame_length); in fecmxc_recv()
|
H A D | bcm6368-eth.c | 194 static int bcm6368_eth_recv(struct udevice *dev, int flags, uchar **packetp) in bcm6368_eth_recv() argument 198 return dma_receive(&priv->rx_dma, (void**)packetp, NULL); in bcm6368_eth_recv()
|
/openbmc/u-boot/drivers/virtio/ |
H 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()
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_eth.c | 184 static int pfe_eth_recv(struct udevice *dev, int flags, uchar **packetp) in pfe_eth_recv() argument 205 *packetp = pkt_buf; in pfe_eth_recv()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | lan7x.c | 421 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp) in lan7x_eth_recv() argument 470 *packetp = ptr + 10; in lan7x_eth_recv()
|
H A D | lan7x.h | 225 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp);
|
/openbmc/u-boot/drivers/net/mscc_eswitch/ |
H A D | ocelot_switch.c | 430 static int ocelot_recv(struct udevice *dev, int flags, uchar **packetp) in ocelot_recv() argument 439 *packetp = net_rx_packets[0]; in ocelot_recv()
|