Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mmc/host/
A 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()
A Ddw_mmc.c2594 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_read_data_pio() local
2608 buf = sg_miter->addr; in dw_mci_read_data_pio()
2609 remain = sg_miter->length; in dw_mci_read_data_pio()
2634 sg_miter->consumed = 0; in dw_mci_read_data_pio()
2636 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2640 sg_miter_stop(sg_miter); in dw_mci_read_data_pio()
2648 struct sg_mapping_iter *sg_miter = &host->sg_miter; in dw_mci_write_data_pio() local
2663 buf = sg_miter->addr; in dw_mci_write_data_pio()
2688 sg_miter->consumed = 0; in dw_mci_write_data_pio()
2690 sg_miter_stop(sg_miter); in dw_mci_write_data_pio()
[all …]
A 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()
A Dsunplus-mmc.c630 struct sg_mapping_iter sg_miter; in spmmc_xfer_data_pio() local
637 sg_miter_start(&sg_miter, data->sg, data->sg_len, flags); in spmmc_xfer_data_pio()
640 if (!sg_miter_next(&sg_miter)) in spmmc_xfer_data_pio()
642 buf = sg_miter.addr; in spmmc_xfer_data_pio()
643 remain = sg_miter.length; in spmmc_xfer_data_pio()
659 sg_miter.consumed = consumed; in spmmc_xfer_data_pio()
663 sg_miter_stop(&sg_miter); in spmmc_xfer_data_pio()
A Dbcm2835.c157 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
343 if (!sg_miter_next(&host->sg_miter)) { in bcm2835_transfer_block_pio()
348 len = min(host->sg_miter.length, blksize); in bcm2835_transfer_block_pio()
355 host->sg_miter.consumed = len; in bcm2835_transfer_block_pio()
357 buf = (u32 *)host->sg_miter.addr; in bcm2835_transfer_block_pio()
420 sg_miter_stop(&host->sg_miter); in bcm2835_transfer_block_pio()
561 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); in bcm2835_prepare_data()
A Dtoshsd.h169 struct sg_mapping_iter sg_miter; /* for PIO */ member
A 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()
A Dsdhci.c544 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_read_block_pio()
546 len = min(host->sg_miter.length, blksize); in sdhci_read_block_pio()
549 host->sg_miter.consumed = len; in sdhci_read_block_pio()
551 buf = host->sg_miter.addr; in sdhci_read_block_pio()
568 sg_miter_stop(&host->sg_miter); in sdhci_read_block_pio()
584 BUG_ON(!sg_miter_next(&host->sg_miter)); in sdhci_write_block_pio()
586 len = min(host->sg_miter.length, blksize); in sdhci_write_block_pio()
589 host->sg_miter.consumed = len; in sdhci_write_block_pio()
591 buf = host->sg_miter.addr; in sdhci_write_block_pio()
608 sg_miter_stop(&host->sg_miter); in sdhci_write_block_pio()
[all …]
A Dmmci.h431 struct sg_mapping_iter sg_miter; member
A Ddw_mmc.h168 struct sg_mapping_iter sg_miter; member
A Dsdhci.h546 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member
/linux-6.3-rc2/drivers/usb/musb/
A Dmusb_host.c811 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program()
815 sg_miter_stop(&qh->sg_miter); 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()
1443 qh->sg_miter.consumed = length; in musb_host_tx()
1444 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1944 sg_miter_stop(&qh->sg_miter); in musb_host_rx()
[all …]
A Dmusb_host.h41 struct sg_mapping_iter sg_miter; /* for highmem in PIO mode */ member

Completed in 48 milliseconds