Searched refs:sg_miter (Results 1 – 9 of 9) sorted by relevance
/drivers/mmc/host/ |
D | toshsd.c | 163 struct sg_mapping_iter *sg_miter = &host->sg_miter; in toshsd_thread_irq() local 178 if (!sg_miter_next(sg_miter)) in toshsd_thread_irq() 181 buf = sg_miter->addr; in toshsd_thread_irq() 186 count = sg_miter->length; in toshsd_thread_irq() 199 sg_miter->consumed = count; in toshsd_thread_irq() 200 sg_miter_stop(sg_miter); in toshsd_thread_irq() 491 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in toshsd_start_data()
|
D | dw_mmc.c | 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() [all …]
|
D | mmci.c | 421 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in mmci_init_sg() 1155 struct sg_mapping_iter *sg_miter = &host->sg_miter; in mmci_pio_irq() local 1181 if (!sg_miter_next(sg_miter)) in mmci_pio_irq() 1184 buffer = sg_miter->addr; in mmci_pio_irq() 1185 remain = sg_miter->length; in mmci_pio_irq() 1193 sg_miter->consumed = len; in mmci_pio_irq() 1204 sg_miter_stop(sg_miter); in mmci_pio_irq()
|
D | sdhci.c | 317 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_read_block_pio() 319 len = min(host->sg_miter.length, blksize); in sdhci_read_block_pio() 322 host->sg_miter.consumed = len; in sdhci_read_block_pio() 324 buf = host->sg_miter.addr; in sdhci_read_block_pio() 341 sg_miter_stop(&host->sg_miter); in sdhci_read_block_pio() 362 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_write_block_pio() 364 len = min(host->sg_miter.length, blksize); in sdhci_write_block_pio() 367 host->sg_miter.consumed = len; in sdhci_write_block_pio() 369 buf = host->sg_miter.addr; in sdhci_write_block_pio() 386 sg_miter_stop(&host->sg_miter); in sdhci_write_block_pio() [all …]
|
D | toshsd.h | 173 struct sg_mapping_iter sg_miter; /* for PIO */ member
|
D | mmci.h | 230 struct sg_mapping_iter sg_miter; member
|
D | sdhci.h | 477 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
|
/drivers/usb/musb/ |
D | musb_host.c | 894 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_ep_program() 897 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program() 901 sg_miter_stop(&qh->sg_miter); in musb_ep_program() 904 buf = qh->sg_miter.addr + urb->sg->offset + in musb_ep_program() 907 qh->sg_miter.length); in musb_ep_program() 909 qh->sg_miter.consumed = load_count; in musb_ep_program() 910 sg_miter_stop(&qh->sg_miter); in musb_ep_program() 1524 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_tx() 1526 sg_miter_stop(&qh->sg_miter); in musb_host_tx() 1530 length = min_t(u32, length, qh->sg_miter.length); in musb_host_tx() [all …]
|
D | musb_host.h | 66 struct sg_mapping_iter sg_miter; /* for highmem in PIO mode */ member
|