Lines Matching refs:in_descr
139 struct etrax_dma_descr in_descr[NUM_IN_DESCR] __attribute__ ((aligned(32))); member
362 port->next_rx_desc = &port->in_descr[0]; in initialize_port()
363 port->prev_rx_desc = &port->in_descr[NUM_IN_DESCR-1]; in initialize_port()
1245 port->in_descr[i].sw_len = port->inbufchunk; in start_dma_in()
1246 port->in_descr[i].ctrl = d_int; in start_dma_in()
1247 port->in_descr[i].next = virt_to_phys(&port->in_descr[i+1]); in start_dma_in()
1248 port->in_descr[i].buf = buf; in start_dma_in()
1249 port->in_descr[i].hw_len = 0; in start_dma_in()
1250 port->in_descr[i].status = 0; in start_dma_in()
1251 port->in_descr[i].fifo_len = 0; in start_dma_in()
1253 prepare_rx_descriptor(&port->in_descr[i]); in start_dma_in()
1256 port->in_descr[i-1].next = virt_to_phys(&port->in_descr[0]); in start_dma_in()
1257 port->in_descr[i-1].ctrl |= d_eol; in start_dma_in()
1258 port->next_rx_desc = &port->in_descr[0]; in start_dma_in()
1259 port->prev_rx_desc = &port->in_descr[NUM_IN_DESCR - 1]; in start_dma_in()