Lines Matching refs:bytes_left
190 u32 bytes_left; member
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()
240 host->bytes_left -= n; in davinci_fifo_data_trans()
371 if (!host->do_dma && host->bytes_left <= poll_threshold) { in mmc_davinci_start_command()
563 host->bytes_left = data->blocks * data->blksz; in mmc_davinci_prepare_data()
573 if (host->use_dma && (host->bytes_left & (rw_threshold - 1)) == 0 in mmc_davinci_prepare_data()
576 host->bytes_left = 0; in mmc_davinci_prepare_data()
891 if (host->bytes_left && (status & (MMCST0_DXRDY | MMCST0_DRRDY))) { in mmc_davinci_irq()
908 } while (host->bytes_left && in mmc_davinci_irq()
923 if ((host->do_dma == 0) && (host->bytes_left > 0)) { in mmc_davinci_irq()
927 davinci_fifo_data_trans(host, host->bytes_left); in mmc_davinci_irq()