Lines Matching refs:sg_miter
1161 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in dw_mci_submit_data()
1719 sg_miter_stop(&host->sg_miter); in dw_mci_reset()
2488 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_read_data_pio() local
2498 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2501 host->sg = sg_miter->piter.sg; in dw_mci_read_data_pio()
2502 buf = sg_miter->addr; in dw_mci_read_data_pio()
2503 remain = sg_miter->length; in dw_mci_read_data_pio()
2518 sg_miter->consumed = offset; in dw_mci_read_data_pio()
2526 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2528 sg_miter->consumed = 0; in dw_mci_read_data_pio()
2530 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2534 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2542 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_write_data_pio() local
2553 if (!sg_miter_next(sg_miter)) in dw_mci_write_data_pio()
2556 host->sg = sg_miter->piter.sg; in dw_mci_write_data_pio()
2557 buf = sg_miter->addr; in dw_mci_write_data_pio()
2558 remain = sg_miter->length; in dw_mci_write_data_pio()
2574 sg_miter->consumed = offset; in dw_mci_write_data_pio()
2580 if (!sg_miter_next(sg_miter)) in dw_mci_write_data_pio()
2582 sg_miter->consumed = 0; in dw_mci_write_data_pio()
2584 sg_miter_stop(sg_miter); in dw_mci_write_data_pio()
2588 sg_miter_stop(sg_miter); in dw_mci_write_data_pio()