Home
last modified time | relevance | path

Searched refs:packetp (Results 1 – 25 of 74) sorted by relevance

123

/u-boot/drivers/net/
A Dmt7628-eth.c426 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 Dethoc.c396 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 Dsandbox-raw.c67 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 Daltera_tse.c183 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 Drtl8139.c437 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 Dmvgbe.c639 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 Dfsl_enetc.c624 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 Drtl8169.c519 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 Daltera_tse.h209 int (*recv)(struct udevice *dev, int flags, uchar **packetp);
A Dftmac100.c342 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 Ddesignware.c431 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 Ddesignware.h266 int designware_eth_recv(struct udevice *dev, int flags, uchar **packetp);
A Dsandbox.c350 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 Deepro100.c680 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 Dsunxi_emac.c550 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 Dbcm6348-eth.c157 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 Dmacb.c438 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 Dpch_gbe.c292 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 Ddsa-uclass.c144 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 Dvirtio_net.c109 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 Dpfe_eth.c188 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 Dlan7x.h233 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp);
A Dlan7x.c423 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 Dservalt_switch.c378 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 Ddm_qe_uec.c291 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()

Completed in 55 milliseconds

123