Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c4057 struct bufdesc *cbd_base; in fec_enet_init() local
4093 cbd_base = dmam_alloc_coherent(&fep->pdev->dev, bd_size, &bd_dma, in fec_enet_init()
4095 if (!cbd_base) { in fec_enet_init()
4111 rxq->bd.base = cbd_base; in fec_enet_init()
4112 rxq->bd.cur = cbd_base; in fec_enet_init()
4118 cbd_base = (struct bufdesc *)(((void *)cbd_base) + size); in fec_enet_init()
4119 rxq->bd.last = (struct bufdesc *)(((void *)cbd_base) - dsize); in fec_enet_init()
4127 txq->bd.base = cbd_base; in fec_enet_init()
4128 txq->bd.cur = cbd_base; in fec_enet_init()
4134 cbd_base = (struct bufdesc *)(((void *)cbd_base) + size); in fec_enet_init()
[all …]