Home
last modified time | relevance | path

Searched refs:sg_miter (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/mmc/host/
Dtoshsd.c160 struct sg_mapping_iter *sg_miter = &host->sg_miter; in toshsd_thread_irq() local
175 if (!sg_miter_next(sg_miter)) in toshsd_thread_irq()
178 buf = sg_miter->addr; in toshsd_thread_irq()
183 count = sg_miter->length; in toshsd_thread_irq()
196 sg_miter->consumed = count; in toshsd_thread_irq()
197 sg_miter_stop(sg_miter); in toshsd_thread_irq()
488 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in toshsd_start_data()
Ddw_mmc.c1167 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in dw_mci_submit_data()
1752 sg_miter_stop(&host->sg_miter); in dw_mci_reset()
2595 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_read_data_pio() local
2605 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2608 host->sg = sg_miter->piter.sg; in dw_mci_read_data_pio()
2609 buf = sg_miter->addr; in dw_mci_read_data_pio()
2610 remain = sg_miter->length; in dw_mci_read_data_pio()
2625 sg_miter->consumed = offset; in dw_mci_read_data_pio()
2633 if (!sg_miter_next(sg_miter)) in dw_mci_read_data_pio()
2635 sg_miter->consumed = 0; in dw_mci_read_data_pio()
[all …]
Dalcor.c55 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
204 if (!sg_miter_next(&host->sg_miter)) in alcor_trf_block_pio()
208 len = min(host->sg_miter.length, blksize); in alcor_trf_block_pio()
213 host->sg_miter.consumed = len; in alcor_trf_block_pio()
216 buf = host->sg_miter.addr; in alcor_trf_block_pio()
223 sg_miter_stop(&host->sg_miter); in alcor_trf_block_pio()
235 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in alcor_prepare_sg_miter()
Dbcm2835.c157 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
346 if (!sg_miter_next(&host->sg_miter)) { in bcm2835_transfer_block_pio()
351 len = min(host->sg_miter.length, blksize); in bcm2835_transfer_block_pio()
358 host->sg_miter.consumed = len; in bcm2835_transfer_block_pio()
360 buf = (u32 *)host->sg_miter.addr; in bcm2835_transfer_block_pio()
423 sg_miter_stop(&host->sg_miter); in bcm2835_transfer_block_pio()
566 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in bcm2835_prepare_data()
Dtoshsd.h169 struct sg_mapping_iter sg_miter; /* for PIO */ member
Dmmci.c644 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in mmci_init_sg()
1540 struct sg_mapping_iter *sg_miter = &host->sg_miter; in mmci_pio_irq() local
1563 if (!sg_miter_next(sg_miter)) in mmci_pio_irq()
1566 buffer = sg_miter->addr; in mmci_pio_irq()
1567 remain = sg_miter->length; in mmci_pio_irq()
1575 sg_miter->consumed = len; in mmci_pio_irq()
1586 sg_miter_stop(sg_miter); in mmci_pio_irq()
Dsdhci.c547 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()
[all …]
Dmmci.h431 struct sg_mapping_iter sg_miter; member
Ddw_mmc.h168 struct sg_mapping_iter sg_miter; member
Dsdhci.h548 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
/linux-6.1.9/drivers/usb/musb/
Dmusb_host.c808 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_ep_program()
811 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program()
815 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
818 buf = qh->sg_miter.addr + urb->sg->offset + in musb_ep_program()
821 qh->sg_miter.length); in musb_ep_program()
823 qh->sg_miter.consumed = load_count; in musb_ep_program()
824 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
1435 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_tx()
1437 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1441 length = min_t(u32, length, qh->sg_miter.length); in musb_host_tx()
[all …]
Dmusb_host.h41 struct sg_mapping_iter sg_miter; /* for highmem in PIO mode */ member