Home
last modified time | relevance | path

Searched refs:net_rx_packets (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsandbox-raw.c76 struct arp_hdr *arp = (void *)net_rx_packets[0] + in sb_eth_raw_recv()
103 net_rx_packets[0] + ETHER_HDR_SIZE : net_rx_packets[0]; in sb_eth_raw_recv()
110 struct ethernet_hdr *eth = (void *)net_rx_packets[0]; in sb_eth_raw_recv()
122 *packetp = net_rx_packets[0]; in sb_eth_raw_recv()
H A Dlan91c96.c571 SMC_insl(dev, LAN91C96_DATA_HIGH, net_rx_packets[0], in smc_rcv()
577 byte *tail = (byte *)(net_rx_packets[0] + in smc_rcv()
587 SMC_insw(dev, LAN91C96_DATA_HIGH, net_rx_packets[0], in smc_rcv()
594 print_packet((byte *)net_rx_packets[0], packet_length); in smc_rcv()
613 net_process_received_packet(net_rx_packets[0], packet_length); in smc_rcv()
H A Dxilinx_ll_temac_fifo.c51 u32 *buf = (u32 *)net_rx_packets[0]; in ll_temac_recv_fifo()
96 net_process_received_packet(net_rx_packets[0], length); in ll_temac_recv_fifo()
H A Dpic32_eth.c287 rxd->data_buff = virt_to_phys(net_rx_packets[idx]); in pic32_rx_desc_init()
478 invalidate_dcache_range((ulong)net_rx_packets[idx], in pic32_eth_recv()
479 (ulong)net_rx_packets[idx] + rx_count); in pic32_eth_recv()
482 *packetp = net_rx_packets[idx]; in pic32_eth_recv()
496 if (packet != net_rx_packets[idx]) { in pic32_eth_free_pkt()
H A Dethoc.c292 bd.addr = virt_to_phys(net_rx_packets[i]); in ethoc_init_ring()
297 flush_dcache_range((ulong)net_rx_packets[i], in ethoc_init_ring()
298 (ulong)net_rx_packets[i] + PKTSIZE_ALIGN); in ethoc_init_ring()
414 *packetp = net_rx_packets[i]; in ethoc_rx_common()
529 src = net_rx_packets[i]; in ethoc_free_pkt_common()
H A Dsmc91111.c724 SMC_insl(dev, SMC91111_DATA_REG, net_rx_packets[0], in smc_rcv()
730 byte *tail = (byte *)(net_rx_packets[0] + in smc_rcv()
739 SMC_insw(dev, SMC91111_DATA_REG , net_rx_packets[0], in smc_rcv()
746 print_packet(net_rx_packets[0], packet_length); in smc_rcv()
769 net_process_received_packet(net_rx_packets[0], packet_length); in smc_rcv()
H A Dbcm-sf2-eth.c106 uint8_t *buf = (uint8_t *)net_rx_packets[0]; in bcm_sf2_eth_receive()
131 buf = net_rx_packets[i]; in bcm_sf2_eth_receive()
H A Dsmc911x.c195 u32 *data = (u32 *)net_rx_packets[0]; in smc911x_rx()
214 net_process_received_packet(net_rx_packets[0], pktlen); in smc911x_rx()
H A Dcs8900.c191 for (addr = (u16 *)net_rx_packets[0], i = rxlen >> 1; i > 0; i--) in cs8900_recv()
197 net_process_received_packet(net_rx_packets[0], rxlen); in cs8900_recv()
H A Dxilinx_ll_temac_sdma.c124 rx_dp->phys_buf_p = (u8 *)net_rx_packets[i]; in ll_temac_init_sdma()
260 net_process_received_packet(net_rx_packets[pb_idx], length); in ll_temac_recv_sdma()
H A Dax88180.c195 unsigned short *rxdata = (unsigned short *)net_rx_packets[0]; in ax88180_rx_handler()
197 unsigned long *rxdata = (unsigned long *)net_rx_packets[0]; in ax88180_rx_handler()
240 net_process_received_packet(net_rx_packets[0], data_size); in ax88180_rx_handler()
H A Ddnet.c191 data_ptr = (unsigned int *)net_rx_packets[0]; in dnet_recv()
197 net_process_received_packet(net_rx_packets[0], pkt_len + 5); in dnet_recv()
H A Dtsi108_eth.c807 invalidate_dcache_range((unsigned long)net_rx_packets[index], in tsi108_eth_probe()
808 (unsigned long)net_rx_packets[index] + in tsi108_eth_probe()
811 cpu_to_le32((vuint32) net_rx_packets[index]); in tsi108_eth_probe()
H A Ddm9000x.c462 u8 *rdptr = (u8 *)net_rx_packets[0]; in dm9000_rx()
523 net_process_received_packet(net_rx_packets[0], RxLen); in dm9000_rx()
H A Dat91_emac.c355 dev->rbfdt[i].addr = (unsigned long) net_rx_packets[i]; in at91emac_init()
423 net_process_received_packet(net_rx_packets[dev->rbindex], size); in at91emac_recv()
H A Dtsec.c291 uchar *packet = net_rx_packets[priv->rx_idx]; in tsec_recv()
443 if (!memcmp(pkt, net_rx_packets[priv->rx_idx], sizeof(pkt))) in redundant_init()
499 out_be32(&priv->rxbd[i].bufptr, (u32)net_rx_packets[i]); in startup_tsec()
H A Dep93xx_eth.c56 printf(" rx_buffer[%2.d] %p\n", i, net_rx_packets[i]); in dump_dev()
240 (priv->rx_dq.base + i)->word1 = (uint32_t)net_rx_packets[i]; in ep93xx_eth_open()
H A Dsandbox.c66 priv->recv_packet_buffer = net_rx_packets[0]; in sb_eth_start()
H A Dmacb.c405 memcpy((void *)net_rx_packets[0], in _macb_recv()
407 memcpy((void *)net_rx_packets[0] + headlen, in _macb_recv()
409 *packetp = (void *)net_rx_packets[0]; in _macb_recv()
H A Dmpc8xx_fec.c234 uchar *rx = net_rx_packets[rxIdx]; in fec_recv()
573 out_be32(&rtx->rxbd[i].cbd_bufaddr, (uint)net_rx_packets[i]); in fec_init()
H A Dmcffec.c222 net_process_received_packet(net_rx_packets[info->rxIdx], in fec_recv()
481 info->rxbd[i].cbd_bufaddr = (uint) net_rx_packets[i]; in fec_init()
H A Ddc2114x.c337 phys_to_bus((u32)net_rx_packets[i])); in dc21x4x_init()
454 net_rx_packets[rx_new], length - 4); in dc21x4x_recv()
/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_eth.c192 net_process_received_packet(net_rx_packets[next_rx], in au1x00_recv()
197 (virt_to_phys(net_rx_packets[next_rx])) | RX_DMA_ENABLE; in au1x00_recv()
238 fifo_rx[i].addr = (virt_to_phys(net_rx_packets[i])) | in au1x00_init()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.drivers.eth146 already in the .bss (net_rx_packets), so there should be no need to allocate your
147 own. This doesn't mean you must use the net_rx_packets array however; you're
156 length = ape_get_packet(&net_rx_packets[i]);
158 net_process_received_packet(&net_rx_packets[i], length);
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dether_fcc.c189 net_process_received_packet(net_rx_packets[rxIdx], length - 4); in fec_recv()
266 rtx.rxbd[i].cbd_bufaddr = (uint)net_rx_packets[i]; in fec_init()

12