Home
last modified time | relevance | path

Searched refs:PKTALIGN (Results 1 – 19 of 19) sorted by relevance

/u-boot/net/
A Darp.c42 static uchar arp_tx_packet_buf[PKTSIZE_ALIGN + PKTALIGN];
51 arp_tx_packet = &arp_tx_packet_buf[0] + (PKTALIGN - 1); in arp_init()
52 arp_tx_packet -= (ulong)arp_tx_packet % PKTALIGN; in arp_init()
A Dnet.c179 static uchar net_pkt_buf[(PKTBUFSRX+1) * PKTSIZE_ALIGN + PKTALIGN];
378 net_tx_packet = &net_pkt_buf[0] + (PKTALIGN - 1); in net_init()
379 net_tx_packet -= (ulong)net_tx_packet % PKTALIGN; in net_init()
902 static uchar pkt_buff[IP_PKTSIZE] __aligned(PKTALIGN); in __net_defragment()
/u-boot/drivers/net/
A Darmada100_fec.h115 (((sizeof(struct rx_desc) / PKTALIGN) + 1) * PKTALIGN)
A Dmacb.c297 PKTALIGN)); in macb_invalidate_ring_desc()
301 PKTALIGN)); in macb_invalidate_ring_desc()
308 ALIGN(MACB_RX_DMA_DESC_SIZE, PKTALIGN)); in macb_flush_ring_desc()
311 ALIGN(MACB_TX_DMA_DESC_SIZE, PKTALIGN)); in macb_flush_ring_desc()
318 PKTALIGN)); in macb_flush_rx_buffer()
325 PKTALIGN)); in macb_invalidate_rx_buffer()
828 ALIGN(MACB_TX_DUMMY_DMA_DESC_SIZE, PKTALIGN)); in gmac_init_multi_queues()
A Dmvgbe.h101 (((sizeof(struct mvgbe_rxdesc) / PKTALIGN) + 1) * PKTALIGN)
A Darmada100_fec.c683 darmdfec->p_rxdesc = memalign(PKTALIGN, in armada100_fec_register()
689 darmdfec->p_rxbuf = memalign(PKTALIGN, RINGSZ * PKTSIZE_ALIGN + 1); in armada100_fec_register()
697 darmdfec->p_txdesc = memalign(PKTALIGN, sizeof(struct tx_desc) + 1); in armada100_fec_register()
A Dmvgbe.c794 dmvgbe->p_rxdesc = memalign(PKTALIGN, in mvgbe_alloc_buffers()
799 dmvgbe->p_rxbuf = memalign(PKTALIGN, in mvgbe_alloc_buffers()
808 dmvgbe->p_txdesc = memalign(PKTALIGN, sizeof(struct mvgbe_txdesc) + 1); in mvgbe_alloc_buffers()
A Dlpc32xx_eth.c195 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN];
198 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN];
A Dcs8900.c190 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv()
A Dsni_ave.c162 u8 tx_adj_packetbuf[PKTSIZE_ALIGN + PKTALIGN];
482 PKTALIGN); in ave_start()
A Dmt7628-eth.c592 priv->rx_buf[i] = memalign(PKTALIGN, MTK_QDMA_PAGE_SIZE); in mt7628_eth_probe()
A Dfec_mxc.c76 #if ((PKTALIGN < ARCH_DMA_MINALIGN) || \
77 (PKTALIGN % ARCH_DMA_MINALIGN != 0))
A Dmvneta.c1619 (ulong)packet + ALIGN(length, PKTALIGN)); in mvneta_send()
A Dmvpp2.c5159 (unsigned long)packet + ALIGN(length, PKTALIGN)); in mvpp2_send()
/u-boot/drivers/net/ti/
A Ddavinci_emac.c654 (unsigned long)packet + ALIGN(length, PKTALIGN)); in davinci_emac_send()
700 invalidate_dcache_range(tmp, tmp + ALIGN(len, PKTALIGN)); in davinci_emac_recv()
A Dcpsw.c801 (unsigned long)packet + ALIGN(length, PKTALIGN)); in _cpsw_send()
/u-boot/lib/efi_loader/
A Defi_net.c871 transmit_buffer = calloc(1, PKTSIZE_ALIGN + PKTALIGN); in efi_net_register()
874 transmit_buffer = (void *)ALIGN((uintptr_t)transmit_buffer, PKTALIGN); in efi_net_register()
/u-boot/include/
A Dnet.h45 #define PKTALIGN ARCH_DMA_MINALIGN macro
/u-boot/drivers/net/phy/
A Dncsi.c528 pkt = calloc(1, PKTSIZE_ALIGN + PKTALIGN); in ncsi_send_command()

Completed in 53 milliseconds