Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/spi/
Dspi-dw.c227 struct spi_transfer *trans = dws->cur_transfer; in next_transfer()
231 dws->cur_transfer = in next_transfer()
253 if (dws->cur_transfer->tx_dma) in map_dma_buffers()
254 dws->tx_dma = dws->cur_transfer->tx_dma; in map_dma_buffers()
256 if (dws->cur_transfer->rx_dma) in map_dma_buffers()
257 dws->rx_dma = dws->cur_transfer->rx_dma; in map_dma_buffers()
272 dws->cur_transfer = NULL; in giveback()
393 transfer = dws->cur_transfer; in pump_transfers()
431 dws->len = dws->cur_transfer->len; in pump_transfers()
578 dws->cur_transfer = list_entry(dws->cur_msg->transfers.next, in pump_messages()
[all …]
Dspi-pl022.c371 struct spi_transfer *cur_transfer; member
489 pl022->cur_transfer = NULL; in giveback()
742 struct spi_transfer *trans = pl022->cur_transfer; in next_transfer()
746 pl022->cur_transfer = in next_transfer()
819 msg->actual_length += pl022->cur_transfer->len; in dma_callback()
820 if (pl022->cur_transfer->cs_change) in dma_callback()
998 pages = DIV_ROUND_UP(pl022->cur_transfer->len, PAGE_SIZE); in configure_dma()
1011 pl022->cur_transfer->len, &pl022->sgt_rx); in configure_dma()
1013 pl022->cur_transfer->len, &pl022->sgt_tx); in configure_dma()
1253 msg->actual_length += pl022->cur_transfer->len; in pl022_interrupt_handler()
[all …]
Dspi-bfin-sport.c82 struct spi_transfer *cur_transfer; member
274 struct spi_transfer *trans = drv_data->cur_transfer; in bfin_sport_spi_next_transfer()
278 drv_data->cur_transfer = in bfin_sport_spi_next_transfer()
302 drv_data->cur_transfer = NULL; in bfin_sport_spi_giveback()
353 transfer = drv_data->cur_transfer; in bfin_sport_spi_pump_transfers()
520 drv_data->cur_transfer = list_entry(drv_data->cur_msg->transfers.next, in bfin_sport_spi_pump_messages()
530 drv_data->cur_transfer->len); in bfin_sport_spi_pump_messages()
705 drv_data->cur_transfer = NULL; in bfin_sport_spi_start_queue()
Dspi-bfin5xx.c82 struct spi_transfer *cur_transfer; member
334 struct spi_transfer *trans = drv_data->cur_transfer; in bfin_spi_next_transfer()
338 drv_data->cur_transfer = in bfin_spi_next_transfer()
360 drv_data->cur_transfer = NULL; in bfin_spi_giveback()
571 transfer = drv_data->cur_transfer; in bfin_spi_pump_transfers()
919 drv_data->cur_transfer = list_entry(drv_data->cur_msg->transfers.next, in bfin_spi_pump_messages()
929 drv_data->cur_transfer->len); in bfin_spi_pump_messages()
1226 drv_data->cur_transfer = NULL; in bfin_spi_start_queue()
Dspi-pxa2xx.c133 struct spi_transfer* cur_transfer; member
360 struct spi_transfer *trans = drv_data->cur_transfer; in next_transfer()
364 drv_data->cur_transfer = in next_transfer()
453 drv_data->cur_transfer = NULL; in giveback()
949 transfer = drv_data->cur_transfer; in pump_transfers()
1206 drv_data->cur_transfer = list_entry(drv_data->cur_msg->transfers.next, in pump_messages()
1474 drv_data->cur_transfer = NULL; in start_queue()
Dspi-dw.h122 struct spi_transfer *cur_transfer; member