Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c99 #define NBR_OF_RX_DESC (RX_BUF_SIZE / \ macro
112 static etrax_dma_descr RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned(4)));
218 for(i = 0; i < (NBR_OF_RX_DESC - 1); i++) { in etrax_ethernet_lpslave_init()
238 myLastRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in etrax_ethernet_lpslave_init()
239 myPrevRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in etrax_ethernet_lpslave_init()
/linux-2.4.37.9/arch/cris/drivers/
Dethernet.c350 #define NBR_OF_RX_DESC 64 macro
360 #define RX_QUEUE_THRESHOLD NBR_OF_RX_DESC/2
375 static etrax_eth_descr RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned(32)));
518 for (i = 0; i < NBR_OF_RX_DESC; i++) { in etrax_ethernet_init()
533 RxDescList[NBR_OF_RX_DESC - 1].descr.ctrl = d_eol; in etrax_ethernet_init()
534 RxDescList[NBR_OF_RX_DESC - 1].descr.next = virt_to_phys(&RxDescList[0]); in etrax_ethernet_init()
554 myLastRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in etrax_ethernet_init()
555 myPrevRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in etrax_ethernet_init()
Dusb-host.c219 #define NBR_OF_RX_DESC 512 macro
221 #define RX_BUF_SIZE (NBR_OF_RX_DESC * RX_DESC_BUF_SIZE)
253 static volatile USB_IN_Desc_t RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned (4)));
647 for (i = 0; i < (NBR_OF_RX_DESC - 1); i++) { in init_rx_buffers()
669 myLastRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in init_rx_buffers()
670 myPrevRxDesc = &RxDescList[NBR_OF_RX_DESC - 1]; in init_rx_buffers()