Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/spi/
Dspi-atmel.c511 unsigned long xfer_pos = xfer->len - as->current_remaining_bytes; in atmel_spi_next_xfer_pio() local
524 spi_writel(as, TDR, *(u16 *)(xfer->tx_buf + xfer_pos)); in atmel_spi_next_xfer_pio()
526 spi_writel(as, TDR, *(u8 *)(xfer->tx_buf + xfer_pos)); in atmel_spi_next_xfer_pio()
852 unsigned long xfer_pos = xfer->len - as->current_remaining_bytes; in atmel_spi_pump_pio_data() local
856 rxp16 = (u16 *)(((u8 *)xfer->rx_buf) + xfer_pos); in atmel_spi_pump_pio_data()
859 rxp = ((u8 *)xfer->rx_buf) + xfer_pos; in atmel_spi_pump_pio_data()