Home
last modified time | relevance | path

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

/external/u-boot/net/
Darp.c39 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()
Dnet.c191 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/
Darmada100_fec.h115 (((sizeof(struct rx_desc) / PKTALIGN) + 1) * PKTALIGN)
Dmacb.c278 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()
Dmvgbe.h99 (((sizeof(struct mvgbe_rxdesc) / PKTALIGN) + 1) * PKTALIGN)
Dmvgbe.c703 (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()
Darmada100_fec.c681 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()
Dlpc32xx_eth.c193 ATTRS(PKTALIGN) u8 tx_buf[TX_BUF_COUNT*PKTSIZE_ALIGN];
196 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN];
Ddavinci_emac.c650 (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()
Dcs8900.c188 if (rxlen > PKTSIZE_ALIGN + PKTALIGN) in cs8900_recv()
Dsni_ave.c153 u8 tx_adj_packetbuf[PKTSIZE_ALIGN + PKTALIGN];
473 PKTALIGN); in ave_start()
Dfec_mxc.c67 #if ((PKTALIGN < ARCH_DMA_MINALIGN) || \
68 (PKTALIGN % ARCH_DMA_MINALIGN != 0))
Dmvneta.c1610 (ulong)packet + ALIGN(length, PKTALIGN)); in mvneta_send()
Dcpsw.c945 (unsigned long)packet + ALIGN(length, PKTALIGN)); in _cpsw_send()
Dmvpp2.c5280 (unsigned long)packet + ALIGN(length, PKTALIGN)); in mvpp2_send()
/external/u-boot/include/
Dnet.h35 #define PKTALIGN ARCH_DMA_MINALIGN macro