Lines Matching refs:miter
174 struct sg_mapping_iter miter; member
519 struct sg_mapping_iter *miter = &host->miter; in jz4740_mmc_write_data() local
525 while (sg_miter_next(miter)) { in jz4740_mmc_write_data()
526 buf = miter->addr; in jz4740_mmc_write_data()
527 i = miter->length / 4; in jz4740_mmc_write_data()
557 data->bytes_xfered += miter->length; in jz4740_mmc_write_data()
559 sg_miter_stop(miter); in jz4740_mmc_write_data()
564 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_write_data()
565 data->bytes_xfered += miter->consumed; in jz4740_mmc_write_data()
566 sg_miter_stop(miter); in jz4740_mmc_write_data()
574 struct sg_mapping_iter *miter = &host->miter; in jz4740_mmc_read_data() local
582 while (sg_miter_next(miter)) { in jz4740_mmc_read_data()
583 buf = miter->addr; in jz4740_mmc_read_data()
584 i = miter->length; in jz4740_mmc_read_data()
619 data->bytes_xfered += miter->length; in jz4740_mmc_read_data()
621 sg_miter_stop(miter); in jz4740_mmc_read_data()
635 miter->consumed = (void *)buf - miter->addr; in jz4740_mmc_read_data()
636 data->bytes_xfered += miter->consumed; in jz4740_mmc_read_data()
637 sg_miter_stop(miter); in jz4740_mmc_read_data()
752 sg_miter_start(&host->miter, data->sg, data->sg_len, direction); in jz_mmc_prepare_data_transfer()