Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c112 static etrax_dma_descr RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned(4))); variable
219 RxDescList[i].ctrl = 0; in etrax_ethernet_lpslave_init()
220 RxDescList[i].sw_len = RX_DESC_BUF_SIZE; in etrax_ethernet_lpslave_init()
221 RxDescList[i].next = virt_to_phys(&RxDescList[i + 1]); in etrax_ethernet_lpslave_init()
222 RxDescList[i].buf = virt_to_phys(RxBuf + anOffset); in etrax_ethernet_lpslave_init()
223 RxDescList[i].status = 0; in etrax_ethernet_lpslave_init()
224 RxDescList[i].hw_len = 0; in etrax_ethernet_lpslave_init()
228 RxDescList[i].ctrl = d_eol; in etrax_ethernet_lpslave_init()
229 RxDescList[i].sw_len = RX_DESC_BUF_SIZE; in etrax_ethernet_lpslave_init()
230 RxDescList[i].next = virt_to_phys(&RxDescList[0]); in etrax_ethernet_lpslave_init()
[all …]
/linux-2.4.37.9/arch/cris/drivers/
Dethernet.c375 static etrax_eth_descr RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned(32))); variable
522 RxDescList[i].skb = dev_alloc_skb(MAX_MEDIA_DATA_SIZE + 2 * L1_CACHE_BYTES); in etrax_ethernet_init()
523 RxDescList[i].descr.ctrl = 0; in etrax_ethernet_init()
524 RxDescList[i].descr.sw_len = MAX_MEDIA_DATA_SIZE; in etrax_ethernet_init()
525 RxDescList[i].descr.next = virt_to_phys(&RxDescList[i + 1]); in etrax_ethernet_init()
526 RxDescList[i].descr.buf = L1_CACHE_ALIGN(virt_to_phys(RxDescList[i].skb->data)); in etrax_ethernet_init()
527 RxDescList[i].descr.status = 0; in etrax_ethernet_init()
528 RxDescList[i].descr.hw_len = 0; in etrax_ethernet_init()
530 prepare_rx_descriptor(&RxDescList[i].descr); in etrax_ethernet_init()
533 RxDescList[NBR_OF_RX_DESC - 1].descr.ctrl = d_eol; in etrax_ethernet_init()
[all …]
Dusb-host.c253 static volatile USB_IN_Desc_t RxDescList[NBR_OF_RX_DESC] __attribute__ ((aligned (4))); variable
648 RxDescList[i].sw_len = RX_DESC_BUF_SIZE; in init_rx_buffers()
649 RxDescList[i].command = 0; in init_rx_buffers()
650 RxDescList[i].next = virt_to_phys(&RxDescList[i + 1]); in init_rx_buffers()
651 RxDescList[i].buf = virt_to_phys(RxBuf + (i * RX_DESC_BUF_SIZE)); in init_rx_buffers()
652 RxDescList[i].hw_len = 0; in init_rx_buffers()
653 RxDescList[i].status = 0; in init_rx_buffers()
657 prepare_rx_descriptor((struct etrax_dma_descr*)&RxDescList[i]); in init_rx_buffers()
661 RxDescList[i].sw_len = RX_DESC_BUF_SIZE; in init_rx_buffers()
662 RxDescList[i].command = IO_STATE(USB_IN_command, eol, yes); in init_rx_buffers()
[all …]