Home
last modified time | relevance | path

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

/drivers/mmc/host/
Ddavinci_mmc.c202 u32 buffer_bytes_left; member
233 host->buffer_bytes_left = sg_dma_len(host->sg); in mmc_davinci_sg_to_buf()
235 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf()
236 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf()
245 if (host->buffer_bytes_left == 0) { in davinci_fifo_data_trans()
251 if (n > host->buffer_bytes_left) in davinci_fifo_data_trans()
252 n = host->buffer_bytes_left; in davinci_fifo_data_trans()
253 host->buffer_bytes_left -= n; in davinci_fifo_data_trans()
Domap.c153 u32 buffer_bytes_left; member
652 host->buffer_bytes_left = sg->length; in mmc_omap_sg_to_buf()
654 if (host->buffer_bytes_left > host->total_bytes_left) in mmc_omap_sg_to_buf()
655 host->buffer_bytes_left = host->total_bytes_left; in mmc_omap_sg_to_buf()
672 if (host->buffer_bytes_left == 0) { in mmc_omap_xfer_data()
678 if (n > host->buffer_bytes_left) in mmc_omap_xfer_data()
679 n = host->buffer_bytes_left; in mmc_omap_xfer_data()
684 host->buffer_bytes_left -= n; in mmc_omap_xfer_data()