Lines Matching refs:RxDescList
159 static etrax_eth_descr RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned(32))); variable
333 RxDescList[i].skb = dev_alloc_skb(MAX_MEDIA_DATA_SIZE + 2 * L1_CACHE_BYTES); in etrax_ethernet_init()
334 if (!RxDescList[i].skb) in etrax_ethernet_init()
336 RxDescList[i].descr.ctrl = 0; in etrax_ethernet_init()
337 RxDescList[i].descr.sw_len = MAX_MEDIA_DATA_SIZE; in etrax_ethernet_init()
338 RxDescList[i].descr.next = virt_to_phys(&RxDescList[i + 1]); in etrax_ethernet_init()
339 RxDescList[i].descr.buf = L1_CACHE_ALIGN(virt_to_phys(RxDescList[i].skb->data)); in etrax_ethernet_init()
340 RxDescList[i].descr.status = 0; in etrax_ethernet_init()
341 RxDescList[i].descr.hw_len = 0; in etrax_ethernet_init()
342 prepare_rx_descriptor(&RxDescList[i].descr); in etrax_ethernet_init()
345 RxDescList[NBR_OF_RX_DESC - 1].descr.ctrl = d_eol; in etrax_ethernet_init()
346 RxDescList[NBR_OF_RX_DESC - 1].descr.next = virt_to_phys(&RxDescList[0]); in etrax_ethernet_init()
365 myNextRxDesc = &RxDescList[0]; in etrax_ethernet_init()
366 myLastRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in etrax_ethernet_init()