Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dravb.c115 struct ravb_desc base_desc[RAVB_NUM_BASE_DESC]; member
234 memset(eth->base_desc, 0x0, desc_size); in ravb_base_desc_init()
237 eth->base_desc[i].ctrl = RAVB_DESC_DT_EOS; in ravb_base_desc_init()
239 ravb_flush_dcache((uintptr_t)eth->base_desc, desc_size); in ravb_base_desc_init()
242 writel((uintptr_t)eth->base_desc, eth->iobase + RAVB_REG_DBAT); in ravb_base_desc_init()
263 eth->base_desc[RAVB_TX_QUEUE_OFFSET].ctrl = RAVB_DESC_DT_LINKFIX; in ravb_tx_desc_init()
264 eth->base_desc[RAVB_TX_QUEUE_OFFSET].dptr = (uintptr_t)eth->tx_desc; in ravb_tx_desc_init()
265 ravb_flush_dcache((uintptr_t)&eth->base_desc[RAVB_TX_QUEUE_OFFSET], in ravb_tx_desc_init()
293 eth->base_desc[RAVB_RX_QUEUE_OFFSET].ctrl = RAVB_DESC_DT_LINKFIX; in ravb_rx_desc_init()
294 eth->base_desc[RAVB_RX_QUEUE_OFFSET].dptr = (uintptr_t)eth->rx_desc; in ravb_rx_desc_init()
[all …]