Lines Matching refs:sg_miter
1027 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in dw_mci_submit_data()
2241 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_read_data_pio() local
2251 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2254 host->sg = sg_miter->piter.sg; in dw_mci_read_data_pio()
2255 buf = sg_miter->addr; in dw_mci_read_data_pio()
2256 remain = sg_miter->length; in dw_mci_read_data_pio()
2271 sg_miter->consumed = offset; in dw_mci_read_data_pio()
2279 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2281 sg_miter->consumed = 0; in dw_mci_read_data_pio()
2283 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2287 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2295 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_write_data_pio() local
2306 if (!sg_miter_next(sg_miter)) in dw_mci_write_data_pio()
2309 host->sg = sg_miter->piter.sg; in dw_mci_write_data_pio()
2310 buf = sg_miter->addr; in dw_mci_write_data_pio()
2311 remain = sg_miter->length; in dw_mci_write_data_pio()
2327 sg_miter->consumed = offset; in dw_mci_write_data_pio()
2333 if (!sg_miter_next(sg_miter)) in dw_mci_write_data_pio()
2335 sg_miter->consumed = 0; in dw_mci_write_data_pio()
2337 sg_miter_stop(sg_miter); in dw_mci_write_data_pio()
2341 sg_miter_stop(sg_miter); in dw_mci_write_data_pio()
2787 sg_miter_stop(&host->sg_miter); in dw_mci_reset()