Lines Matching defs:xfer
300 omap2_mcspi_txrx_dma(struct spi_device *spi, struct spi_transfer *xfer)
317 count = xfer->len;
324 rx = xfer->rx_buf;
325 tx = xfer->tx_buf;
350 xfer->tx_dma, 0, 0);
369 xfer->rx_dma, 0, 0);
384 dma_unmap_single(NULL, xfer->tx_dma, count, DMA_TO_DEVICE);
389 dma_unmap_single(NULL, xfer->rx_dma, count, DMA_FROM_DEVICE);
400 ((u8 *)xfer->rx_buf)[elements++] = w;
402 ((u16 *)xfer->rx_buf)[elements++] = w;
404 ((u32 *)xfer->rx_buf)[elements++] = w;
422 ((u8 *)xfer->rx_buf)[elements] = w;
424 ((u16 *)xfer->rx_buf)[elements] = w;
426 ((u32 *)xfer->rx_buf)[elements] = w;
452 omap2_mcspi_txrx_pio(struct spi_device *spi, struct spi_transfer *xfer)
465 count = xfer->len;
481 rx = xfer->rx_buf;
482 tx = xfer->tx_buf;
535 rx = xfer->rx_buf;
536 tx = xfer->tx_buf;
588 rx = xfer->rx_buf;
589 tx = xfer->tx_buf;
640 if (xfer->rx_buf == NULL) {
957 /* ignore the "leave it on after last xfer" hint */