Lines Matching refs:sg_len
145 unsigned int sg_len; member
416 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->sg_len, in mmc_omap_release_dma()
441 host->sg_len = 0; in mmc_omap_xfer_done()
498 host->sg_len = 0; in mmc_omap_abort_xfer()
673 BUG_ON(host->sg_idx == host->sg_len); in mmc_omap_xfer_data()
996 if (host->sg_idx < host->sg_len) { in mmc_omap_dma_cb()
1082 unsigned sg_len; in mmc_omap_prepare_data() local
1103 sg_len = (data->blocks == 1) ? 1 : data->sg_len; in mmc_omap_prepare_data()
1108 for (i = 0; i < sg_len; i++) { in mmc_omap_prepare_data()
1126 host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, in mmc_omap_prepare_data()
1127 sg_len, dma_data_dir); in mmc_omap_prepare_data()
1141 host->sg_len = sg_len; in mmc_omap_prepare_data()