Lines Matching refs:sg_miter
547 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_read_block_pio()
549 len = min(host->sg_miter.length, blksize); in sdhci_read_block_pio()
552 host->sg_miter.consumed = len; in sdhci_read_block_pio()
554 buf = host->sg_miter.addr; in sdhci_read_block_pio()
571 sg_miter_stop(&host->sg_miter); in sdhci_read_block_pio()
592 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_write_block_pio()
594 len = min(host->sg_miter.length, blksize); in sdhci_write_block_pio()
597 host->sg_miter.consumed = len; in sdhci_write_block_pio()
599 buf = host->sg_miter.addr; in sdhci_write_block_pio()
616 sg_miter_stop(&host->sg_miter); in sdhci_write_block_pio()
1213 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in sdhci_prepare_data()