Searched refs:PKTALIGN (Results 1 – 19 of 19) sorted by relevance
/u-boot/net/ |
A D | arp.c | 42 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 D | net.c | 179 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 D | armada100_fec.h | 115 (((sizeof(struct rx_desc) / PKTALIGN) + 1) * PKTALIGN)
|
A D | macb.c | 297 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 D | mvgbe.h | 101 (((sizeof(struct mvgbe_rxdesc) / PKTALIGN) + 1) * PKTALIGN)
|
A D | armada100_fec.c | 683 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 D | mvgbe.c | 794 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 D | lpc32xx_eth.c | 195 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN]; 198 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN];
|
A D | cs8900.c | 190 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv()
|
A D | sni_ave.c | 162 u8 tx_adj_packetbuf[PKTSIZE_ALIGN + PKTALIGN]; 482 PKTALIGN); in ave_start()
|
A D | mt7628-eth.c | 592 priv->rx_buf[i] = memalign(PKTALIGN, MTK_QDMA_PAGE_SIZE); in mt7628_eth_probe()
|
A D | fec_mxc.c | 76 #if ((PKTALIGN < ARCH_DMA_MINALIGN) || \ 77 (PKTALIGN % ARCH_DMA_MINALIGN != 0))
|
A D | mvneta.c | 1619 (ulong)packet + ALIGN(length, PKTALIGN)); in mvneta_send()
|
A D | mvpp2.c | 5159 (unsigned long)packet + ALIGN(length, PKTALIGN)); in mvpp2_send()
|
/u-boot/drivers/net/ti/ |
A D | davinci_emac.c | 654 (unsigned long)packet + ALIGN(length, PKTALIGN)); in davinci_emac_send() 700 invalidate_dcache_range(tmp, tmp + ALIGN(len, PKTALIGN)); in davinci_emac_recv()
|
A D | cpsw.c | 801 (unsigned long)packet + ALIGN(length, PKTALIGN)); in _cpsw_send()
|
/u-boot/lib/efi_loader/ |
A D | efi_net.c | 871 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 D | net.h | 45 #define PKTALIGN ARCH_DMA_MINALIGN macro
|
/u-boot/drivers/net/phy/ |
A D | ncsi.c | 528 pkt = calloc(1, PKTSIZE_ALIGN + PKTALIGN); in ncsi_send_command()
|
Completed in 53 milliseconds