Searched refs:buffer_bytes_left (Results 1 – 2 of 2) sorted by relevance
199 u32 buffer_bytes_left; member238 host->buffer_bytes_left = sg_dma_len(host->sg); in mmc_davinci_sg_to_buf()240 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf()241 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf()250 if (host->buffer_bytes_left == 0) { in davinci_fifo_data_trans()256 if (n > host->buffer_bytes_left) in davinci_fifo_data_trans()257 n = host->buffer_bytes_left; in davinci_fifo_data_trans()258 host->buffer_bytes_left -= n; in davinci_fifo_data_trans()
151 u32 buffer_bytes_left; member654 host->buffer_bytes_left = sg->length; in mmc_omap_sg_to_buf()656 if (host->buffer_bytes_left > host->total_bytes_left) in mmc_omap_sg_to_buf()657 host->buffer_bytes_left = host->total_bytes_left; in mmc_omap_sg_to_buf()674 if (host->buffer_bytes_left == 0) { in mmc_omap_xfer_data()680 if (n > host->buffer_bytes_left) in mmc_omap_xfer_data()681 n = host->buffer_bytes_left; in mmc_omap_xfer_data()682 host->buffer_bytes_left -= n; in mmc_omap_xfer_data()