Searched refs:buffer_bytes_left (Results 1 – 2 of 2) sorted by relevance
189 u32 buffer_bytes_left; member219 host->buffer_bytes_left = sg_dma_len(host->sg); in mmc_davinci_sg_to_buf()221 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf()222 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf()231 if (host->buffer_bytes_left == 0) { in davinci_fifo_data_trans()237 if (n > host->buffer_bytes_left) in davinci_fifo_data_trans()238 n = host->buffer_bytes_left; in davinci_fifo_data_trans()239 host->buffer_bytes_left -= n; in davinci_fifo_data_trans()
149 u32 buffer_bytes_left; member648 host->buffer_bytes_left = sg->length; in mmc_omap_sg_to_buf()650 if (host->buffer_bytes_left > host->total_bytes_left) in mmc_omap_sg_to_buf()651 host->buffer_bytes_left = host->total_bytes_left; in mmc_omap_sg_to_buf()668 if (host->buffer_bytes_left == 0) { in mmc_omap_xfer_data()674 if (n > host->buffer_bytes_left) in mmc_omap_xfer_data()675 n = host->buffer_bytes_left; in mmc_omap_xfer_data()680 host->buffer_bytes_left -= n; in mmc_omap_xfer_data()