| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | ethoc.c | 277 addr += PKTSIZE_ALIGN; in ethoc_init_ring() 290 addr += PKTSIZE_ALIGN; in ethoc_init_ring() 298 (ulong)net_rx_packets[i] + PKTSIZE_ALIGN); in ethoc_init_ring() 412 *packetp = priv->packet + entry * PKTSIZE_ALIGN; in ethoc_rx_common() 479 void *p = priv->packet + entry * PKTSIZE_ALIGN; in ethoc_send_common() 527 src = priv->packet + entry * PKTSIZE_ALIGN; in ethoc_free_pkt_common() 532 (ulong)src + PKTSIZE_ALIGN); in ethoc_free_pkt_common() 708 (1 + PKTBUFSRX) * PKTSIZE_ALIGN); in ethoc_probe()
|
| H A D | lpc32xx_eth.c | 194 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN]; 197 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN]; 415 &(bufs->rx_buf[rx_index * PKTSIZE_ALIGN]), in lpc32xx_eth_recv() 456 writel(PKTSIZE_ALIGN, ®s->maxf); in lpc32xx_eth_init() 505 (u32) (bufs->rx_buf+index*PKTSIZE_ALIGN); in lpc32xx_eth_init() 506 bufs->rx_desc[index].control = PKTSIZE_ALIGN - 1; in lpc32xx_eth_init()
|
| H A D | mvgbe.c | 393 p_rx_desc->buf_size = PKTSIZE_ALIGN; in mvgbe_init_rx_desc_ring() 395 p_rx_desc->buf_ptr = dmvgbe->p_rxbuf + i * PKTSIZE_ALIGN; in mvgbe_init_rx_desc_ring() 534 if (datasize > PKTSIZE_ALIGN) { in mvgbe_send() 639 p_rxdesc_curr->buf_size = PKTSIZE_ALIGN; in mvgbe_recv() 714 RINGSZ*PKTSIZE_ALIGN + 1); in mvgbe_initialize() 719 dmvgbe->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in mvgbe_initialize()
|
| H A D | armada100_fec.c | 409 p_rx_desc->buf_size = PKTSIZE_ALIGN; in armdfec_init_rx_desc_ring() 411 p_rx_desc->buf_ptr = darmdfec->p_rxbuf + i * PKTSIZE_ALIGN; in armdfec_init_rx_desc_ring() 557 if (datasize > PKTSIZE_ALIGN) { in armdfec_send() 658 p_rxdesc_curr->buf_size = PKTSIZE_ALIGN; in armdfec_recv() 688 darmdfec->p_rxbuf = memalign(PKTALIGN, RINGSZ * PKTSIZE_ALIGN + 1); in armada100_fec_register() 692 darmdfec->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in armada100_fec_register()
|
| H A D | altera_tse.c | 364 writel(PKTSIZE_ALIGN, &desc->len); in altera_tse_free_pkt_msgdma() 500 invalidate_dcache_range(rx_buf, rx_buf + PKTSIZE_ALIGN); in altera_tse_free_pkt() 522 altera_tse_free_pkt(dev, priv->rx_buf, PKTSIZE_ALIGN); in altera_tse_start() 526 writel(PKTSIZE_ALIGN, &mac_dev->max_frame_length); in altera_tse_start() 655 priv->rx_buf = malloc_cache_aligned(PKTSIZE_ALIGN); in altera_tse_probe()
|
| H A D | zynq_gem.c | 388 (i * PKTSIZE_ALIGN)); in zynq_gem_init() 500 size = roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN); in zynq_gem_send() 622 priv->rxbuffers = memalign(ARCH_DMA_MINALIGN, RX_BUF * PKTSIZE_ALIGN); in zynq_gem_probe() 623 memset(priv->rxbuffers, 0, RX_BUF * PKTSIZE_ALIGN); in zynq_gem_probe()
|
| H A D | xilinx_ll_temac_sdma.c | 123 rx_dp->buf_len = PKTSIZE_ALIGN; in ll_temac_init_sdma() 125 flush_cache((u32)rx_dp->phys_buf_p, PKTSIZE_ALIGN); in ll_temac_init_sdma()
|
| H A D | xilinx_ll_temac_fifo.c | 86 if (length > PKTSIZE_ALIGN) { in ll_temac_recv_fifo()
|
| H A D | xilinx_axi_emac.c | 72 static u8 rxframe[PKTSIZE_ALIGN] __attribute((aligned(DMAALIGN))); 506 if (len > PKTSIZE_ALIGN) in axiemac_send() 507 len = PKTSIZE_ALIGN; in axiemac_send()
|
| H A D | ravb.c | 111 u8 packet[PKTSIZE_ALIGN]; 204 desc->data.ctrl = RAVB_DESC_DT_FEMPTY | RAVB_DESC_DS(PKTSIZE_ALIGN); in ravb_free_pkt() 279 RAVB_DESC_DS(PKTSIZE_ALIGN); in ravb_rx_desc_init()
|
| H A D | eepro100.c | 120 volatile u8 data[PKTSIZE_ALIGN]; 691 rx_ring[rx_next].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in eepro100_recv() 885 rx_ring[i].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in init_rx_ring()
|
| H A D | ep93xx_eth.c | 207 writel((TXSTARTMAX << 0) | (PKTSIZE_ALIGN << 16), &mac->maxfrmlen); in ep93xx_eth_open() 243 (priv->rx_dq.base + i)->word2 = PKTSIZE_ALIGN; in ep93xx_eth_open()
|
| H A D | fsl_mcdmafec.c | 299 prbd->cbd_datlen = PKTSIZE_ALIGN; in fec_recv() 402 info->rxbd[i].cbd_datlen = PKTSIZE_ALIGN; in fec_init()
|
| H A D | cs8900.c | 189 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv()
|
| H A D | ftmac100.c | 105 rxdes[i].rxdes1 |= FTMAC100_RXDES1_RXBUF_SIZE (PKTSIZE_ALIGN); in _ftmac100_init()
|
| H A D | xilinx_emaclite.c | 97 static uchar etherrxbuff[PKTSIZE_ALIGN]; /* Receive buffer */
|
| H A D | dc2114x.c | 123 #define RX_BUFF_SZ PKTSIZE_ALIGN
|
| H A D | cpsw.c | 959 (unsigned long)buffer + PKTSIZE_ALIGN); in _cpsw_recv()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | usb_ether.h | 20 #define ETH_FRAME_LEN PKTSIZE_ALIGN /* Max. octets in frame sans FCS */
|
| H A D | tsec.h | 128 #define MRBLR_INIT_SETTINGS PKTSIZE_ALIGN
|
| H A D | net.h | 486 #define PKTSIZE_ALIGN 1536 macro
|
| /OK3568_Linux_fs/u-boot/net/ |
| H A D | arp.c | 39 static uchar arp_tx_packet_buf[PKTSIZE_ALIGN + PKTALIGN];
|
| H A D | net.c | 184 static uchar net_pkt_buf[(PKTBUFSRX+1) * PKTSIZE_ALIGN + PKTALIGN]; 380 (i + 1) * PKTSIZE_ALIGN; in net_init()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | ether.c | 78 #define ETH_FRAME_LEN PKTSIZE_ALIGN /* Max. octets in frame sans FCS */ 2253 dev->mtu = PKTSIZE_ALIGN; /* RNDIS does not like this, only 1514, TODO*/ in eth_bind()
|
| H A D | rndis.c | 43 #define ETH_FRAME_LEN PKTSIZE_ALIGN /* Max. octets in frame sans FCS */
|