Lines Matching refs:sg_rx
136 struct scatterlist sg_rx; member
1092 dma_unmap_sg(port->dev, &atmel_port->sg_rx, 1, in atmel_release_rx_dma()
1127 &atmel_port->sg_rx, in atmel_rx_from_dma()
1138 ring->head = sg_dma_len(&atmel_port->sg_rx) - state.residue; in atmel_rx_from_dma()
1139 BUG_ON(ring->head > sg_dma_len(&atmel_port->sg_rx)); in atmel_rx_from_dma()
1153 count = sg_dma_len(&atmel_port->sg_rx) - ring->tail; in atmel_rx_from_dma()
1166 if (ring->head >= sg_dma_len(&atmel_port->sg_rx)) in atmel_rx_from_dma()
1174 &atmel_port->sg_rx, in atmel_rx_from_dma()
1205 sg_init_table(&atmel_port->sg_rx, 1); in atmel_prepare_rx_dma()
1208 sg_set_page(&atmel_port->sg_rx, in atmel_prepare_rx_dma()
1213 &atmel_port->sg_rx, in atmel_prepare_rx_dma()
1222 sg_dma_len(&atmel_port->sg_rx), in atmel_prepare_rx_dma()
1224 &sg_dma_address(&atmel_port->sg_rx)); in atmel_prepare_rx_dma()
1245 sg_dma_address(&atmel_port->sg_rx), in atmel_prepare_rx_dma()
1246 sg_dma_len(&atmel_port->sg_rx), in atmel_prepare_rx_dma()
1247 sg_dma_len(&atmel_port->sg_rx)/2, in atmel_prepare_rx_dma()