Lines Matching refs:rx_desc
125 struct ravb_rxdesc rx_desc[RAVB_NUM_RX_DESC]; member
184 struct ravb_rxdesc *desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_recv()
210 struct ravb_rxdesc *desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_free_pkt()
218 desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_free_pkt()
283 memset(eth->rx_desc, 0x0, desc_size); in ravb_rx_desc_init()
287 eth->rx_desc[i].data.ctrl = RAVB_DESC_DT_EEMPTY | in ravb_rx_desc_init()
289 eth->rx_desc[i].data.dptr = (uintptr_t)eth->rx_desc[i].packet; in ravb_rx_desc_init()
291 eth->rx_desc[i].link.ctrl = RAVB_DESC_DT_LINKFIX; in ravb_rx_desc_init()
292 eth->rx_desc[i].link.dptr = (uintptr_t)ð->rx_desc[i + 1]; in ravb_rx_desc_init()
296 eth->rx_desc[RAVB_NUM_RX_DESC - 1].link.ctrl = RAVB_DESC_DT_LINKFIX; in ravb_rx_desc_init()
297 eth->rx_desc[RAVB_NUM_RX_DESC - 1].link.dptr = (uintptr_t)eth->rx_desc; in ravb_rx_desc_init()
298 ravb_flush_dcache((uintptr_t)eth->rx_desc, desc_size); in ravb_rx_desc_init()
302 eth->base_desc[RAVB_RX_QUEUE_OFFSET].dptr = (uintptr_t)eth->rx_desc; in ravb_rx_desc_init()