Searched refs:PKTALIGN (Results 1 – 16 of 16) sorted by relevance
/external/u-boot/net/ |
D | arp.c | 39 static uchar arp_tx_packet_buf[PKTSIZE_ALIGN + PKTALIGN]; 48 arp_tx_packet = &arp_tx_packet_buf[0] + (PKTALIGN - 1); in arp_init() 49 arp_tx_packet -= (ulong)arp_tx_packet % PKTALIGN; in arp_init()
|
D | net.c | 191 static uchar net_pkt_buf[(PKTBUFSRX+1) * PKTSIZE_ALIGN + PKTALIGN]; 383 net_tx_packet = &net_pkt_buf[0] + (PKTALIGN - 1); in net_init() 384 net_tx_packet -= (ulong)net_tx_packet % PKTALIGN; in net_init() 880 static uchar pkt_buff[IP_PKTSIZE] __aligned(PKTALIGN); in __net_defragment()
|
/external/u-boot/drivers/net/ |
D | armada100_fec.h | 115 (((sizeof(struct rx_desc) / PKTALIGN) + 1) * PKTALIGN)
|
D | macb.c | 278 PKTALIGN)); in macb_invalidate_ring_desc() 282 PKTALIGN)); in macb_invalidate_ring_desc() 289 ALIGN(MACB_RX_DMA_DESC_SIZE, PKTALIGN)); in macb_flush_ring_desc() 292 ALIGN(MACB_TX_DMA_DESC_SIZE, PKTALIGN)); in macb_flush_ring_desc() 298 ALIGN(MACB_RX_BUFFER_SIZE, PKTALIGN)); in macb_flush_rx_buffer() 304 ALIGN(MACB_RX_BUFFER_SIZE, PKTALIGN)); in macb_invalidate_rx_buffer() 642 ALIGN(MACB_TX_DUMMY_DMA_DESC_SIZE, PKTALIGN)); in gmac_init_multi_queues()
|
D | mvgbe.h | 99 (((sizeof(struct mvgbe_rxdesc) / PKTALIGN) + 1) * PKTALIGN)
|
D | mvgbe.c | 703 (struct mvgbe_rxdesc *)memalign(PKTALIGN, in mvgbe_initialize() 709 dmvgbe->p_rxbuf = (u8 *) memalign(PKTALIGN, in mvgbe_initialize() 721 PKTALIGN, sizeof(struct mvgbe_txdesc) + 1); in mvgbe_initialize()
|
D | armada100_fec.c | 681 darmdfec->p_rxdesc = memalign(PKTALIGN, in armada100_fec_register() 687 darmdfec->p_rxbuf = memalign(PKTALIGN, RINGSZ * PKTSIZE_ALIGN + 1); in armada100_fec_register() 695 darmdfec->p_txdesc = memalign(PKTALIGN, sizeof(struct tx_desc) + 1); in armada100_fec_register()
|
D | lpc32xx_eth.c | 193 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN]; 196 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN];
|
D | davinci_emac.c | 650 (unsigned long)packet + ALIGN(length, PKTALIGN)); in davinci_eth_send_packet() 695 invalidate_dcache_range(tmp, tmp + ALIGN(len, PKTALIGN)); in davinci_eth_rcv_packet()
|
D | cs8900.c | 188 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv()
|
D | sni_ave.c | 153 u8 tx_adj_packetbuf[PKTSIZE_ALIGN + PKTALIGN]; 473 PKTALIGN); in ave_start()
|
D | fec_mxc.c | 67 #if ((PKTALIGN < ARCH_DMA_MINALIGN) || \ 68 (PKTALIGN % ARCH_DMA_MINALIGN != 0))
|
D | mvneta.c | 1610 (ulong)packet + ALIGN(length, PKTALIGN)); in mvneta_send()
|
D | cpsw.c | 945 (unsigned long)packet + ALIGN(length, PKTALIGN)); in _cpsw_send()
|
D | mvpp2.c | 5280 (unsigned long)packet + ALIGN(length, PKTALIGN)); in mvpp2_send()
|
/external/u-boot/include/ |
D | net.h | 35 #define PKTALIGN ARCH_DMA_MINALIGN macro
|