Lines Matching refs:sg_len
146 unsigned int sg_len; member
424 dma_unmap_sg(dev, data->sg, host->sg_len, dma_data_dir); in mmc_omap_release_dma()
448 host->sg_len = 0; in mmc_omap_xfer_done()
505 host->sg_len = 0; in mmc_omap_abort_xfer()
670 BUG_ON(host->sg_idx == host->sg_len); in mmc_omap_xfer_data()
949 unsigned sg_len; in mmc_omap_prepare_data() local
970 sg_len = (data->blocks == 1) ? 1 : data->sg_len; in mmc_omap_prepare_data()
973 for_each_sg(data->sg, sg, sg_len, i) { in mmc_omap_prepare_data()
1034 host->sg_len = dma_map_sg(c->device->dev, data->sg, sg_len, in mmc_omap_prepare_data()
1036 if (host->sg_len == 0) in mmc_omap_prepare_data()
1039 tx = dmaengine_prep_slave_sg(c, data->sg, host->sg_len, in mmc_omap_prepare_data()
1060 host->sg_len = sg_len; in mmc_omap_prepare_data()