Lines Matching refs:rx_desc
190 struct rx_desc { struct
206 struct rx_desc { argument
358 struct rx_desc *rx_desc_area;
563 struct rx_desc *rx_desc; in rxq_process() local
568 rx_desc = &rxq->rx_desc_area[rxq->rx_curr_desc]; in rxq_process()
570 cmd_sts = rx_desc->cmd_sts; in rxq_process()
582 dma_unmap_single(mp->dev->dev.parent, rx_desc->buf_ptr, in rxq_process()
583 rx_desc->buf_size, DMA_FROM_DEVICE); in rxq_process()
589 byte_cnt = rx_desc->byte_cnt; in rxq_process()
664 struct rx_desc *rx_desc; in rxq_refill() local
686 rx_desc = rxq->rx_desc_area + rx; in rxq_refill()
689 rx_desc->buf_ptr = dma_map_single(mp->dev->dev.parent, in rxq_refill()
692 rx_desc->buf_size = size; in rxq_refill()
695 rx_desc->cmd_sts = BUFFER_OWNED_BY_DMA | RX_ENABLE_INTERRUPT; in rxq_refill()
1848 struct rx_desc *rx_desc; in rxq_init() local
1860 size = rxq->rx_ring_size * sizeof(struct rx_desc); in rxq_init()
1887 rx_desc = (struct rx_desc *)rxq->rx_desc_area; in rxq_init()
1895 rx_desc[i].next_desc_ptr = rxq->rx_desc_dma + in rxq_init()
1896 nexti * sizeof(struct rx_desc); in rxq_init()
2284 addr += rxq->rx_curr_desc * sizeof(struct rx_desc); in port_start()