Lines Matching refs:miter
137 struct sg_mapping_iter miter; member
240 struct sg_mapping_iter *miter = &host->miter; in jz4740_mmc_write_data() local
246 while (sg_miter_next(miter)) { in jz4740_mmc_write_data()
247 buf = miter->addr; in jz4740_mmc_write_data()
248 i = miter->length / 4; in jz4740_mmc_write_data()
278 data->bytes_xfered += miter->length; in jz4740_mmc_write_data()
280 sg_miter_stop(miter); in jz4740_mmc_write_data()
285 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_write_data()
286 data->bytes_xfered += miter->consumed; in jz4740_mmc_write_data()
287 sg_miter_stop(miter); in jz4740_mmc_write_data()
295 struct sg_mapping_iter *miter = &host->miter; in jz4740_mmc_read_data() local
303 while (sg_miter_next(miter)) { in jz4740_mmc_read_data()
304 buf = miter->addr; in jz4740_mmc_read_data()
305 i = miter->length; in jz4740_mmc_read_data()
340 data->bytes_xfered += miter->length; in jz4740_mmc_read_data()
344 flush_dcache_page(miter->page); in jz4740_mmc_read_data()
346 sg_miter_stop(miter); in jz4740_mmc_read_data()
360 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_read_data()
361 data->bytes_xfered += miter->consumed; in jz4740_mmc_read_data()
362 sg_miter_stop(miter); in jz4740_mmc_read_data()
460 sg_miter_start(&host->miter, data->sg, data->sg_len, direction); in jz_mmc_prepare_data_transfer()