Searched refs:buffer_bytes_left (Results 1 – 2 of 2) sorted by relevance
188 u32 buffer_bytes_left; member218 host->buffer_bytes_left = sg_dma_len(host->sg); in mmc_davinci_sg_to_buf()220 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf()221 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf()230 if (host->buffer_bytes_left == 0) { in davinci_fifo_data_trans()236 if (n > host->buffer_bytes_left) in davinci_fifo_data_trans()237 n = host->buffer_bytes_left; in davinci_fifo_data_trans()238 host->buffer_bytes_left -= n; in davinci_fifo_data_trans()
154 u32 buffer_bytes_left; member661 host->buffer_bytes_left = sg->length; in mmc_omap_sg_to_buf()663 if (host->buffer_bytes_left > host->total_bytes_left) in mmc_omap_sg_to_buf()664 host->buffer_bytes_left = host->total_bytes_left; in mmc_omap_sg_to_buf()681 if (host->buffer_bytes_left == 0) { in mmc_omap_xfer_data()687 if (n > host->buffer_bytes_left) in mmc_omap_xfer_data()688 n = host->buffer_bytes_left; in mmc_omap_xfer_data()693 host->buffer_bytes_left -= n; in mmc_omap_xfer_data()