Searched refs:sg_miter (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/mmc/host/
H A Dtoshsd.c163 struct sg_mapping_iter *sg_miter = &host->sg_miter; toshsd_thread_irq() local
178 if (!sg_miter_next(sg_miter)) toshsd_thread_irq()
181 buf = sg_miter->addr; toshsd_thread_irq()
186 count = sg_miter->length; toshsd_thread_irq()
199 sg_miter->consumed = count; toshsd_thread_irq()
200 sg_miter_stop(sg_miter); toshsd_thread_irq()
491 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); toshsd_start_data()
H A Ddw_mmc.c1024 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); dw_mci_submit_data()
2216 struct sg_mapping_iter *sg_miter = &host->sg_miter; dw_mci_read_data_pio() local
2226 if (!sg_miter_next(sg_miter)) dw_mci_read_data_pio()
2229 host->sg = sg_miter->piter.sg; dw_mci_read_data_pio()
2230 buf = sg_miter->addr; dw_mci_read_data_pio()
2231 remain = sg_miter->length; dw_mci_read_data_pio()
2246 sg_miter->consumed = offset; dw_mci_read_data_pio()
2254 if (!sg_miter_next(sg_miter)) dw_mci_read_data_pio()
2256 sg_miter->consumed = 0; dw_mci_read_data_pio()
2258 sg_miter_stop(sg_miter); dw_mci_read_data_pio()
2262 sg_miter_stop(sg_miter); dw_mci_read_data_pio()
2270 struct sg_mapping_iter *sg_miter = &host->sg_miter; dw_mci_write_data_pio() local
2281 if (!sg_miter_next(sg_miter)) dw_mci_write_data_pio()
2284 host->sg = sg_miter->piter.sg; dw_mci_write_data_pio()
2285 buf = sg_miter->addr; dw_mci_write_data_pio()
2286 remain = sg_miter->length; dw_mci_write_data_pio()
2302 sg_miter->consumed = offset; dw_mci_write_data_pio()
2308 if (!sg_miter_next(sg_miter)) dw_mci_write_data_pio()
2310 sg_miter->consumed = 0; dw_mci_write_data_pio()
2312 sg_miter_stop(sg_miter); dw_mci_write_data_pio()
2316 sg_miter_stop(sg_miter); dw_mci_write_data_pio()
2762 sg_miter_stop(&host->sg_miter); dw_mci_reset()
H A Dmmci.h230 struct sg_mapping_iter sg_miter; member in struct:mmci_host
H A Dtoshsd.h173 struct sg_mapping_iter sg_miter; /* for PIO */ member in struct:toshsd_host
H A Dmmci.c421 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); mmci_init_sg()
1155 struct sg_mapping_iter *sg_miter = &host->sg_miter; mmci_pio_irq() local
1181 if (!sg_miter_next(sg_miter)) mmci_pio_irq()
1184 buffer = sg_miter->addr; mmci_pio_irq()
1185 remain = sg_miter->length; mmci_pio_irq()
1193 sg_miter->consumed = len; mmci_pio_irq()
1204 sg_miter_stop(sg_miter); mmci_pio_irq()
H A Dsdhci.c317 BUG_ON(!sg_miter_next(&host->sg_miter)); sdhci_read_block_pio()
319 len = min(host->sg_miter.length, blksize); sdhci_read_block_pio()
322 host->sg_miter.consumed = len; sdhci_read_block_pio()
324 buf = host->sg_miter.addr; sdhci_read_block_pio()
341 sg_miter_stop(&host->sg_miter); sdhci_read_block_pio()
362 BUG_ON(!sg_miter_next(&host->sg_miter)); sdhci_write_block_pio()
364 len = min(host->sg_miter.length, blksize); sdhci_write_block_pio()
367 host->sg_miter.consumed = len; sdhci_write_block_pio()
369 buf = host->sg_miter.addr; sdhci_write_block_pio()
386 sg_miter_stop(&host->sg_miter); sdhci_write_block_pio()
894 sg_miter_start(&host->sg_miter, data->sg, data->sg_len, flags); sdhci_prepare_data()
H A Dsdhci.h471 struct sg_mapping_iter sg_miter; /* SG state for PIO */ member in struct:sdhci_host
/linux-4.4.14/drivers/usb/musb/
H A Dmusb_host.c894 sg_miter_start(&qh->sg_miter, urb->sg, 1, musb_ep_program()
897 if (!sg_miter_next(&qh->sg_miter)) { musb_ep_program()
901 sg_miter_stop(&qh->sg_miter); musb_ep_program()
904 buf = qh->sg_miter.addr + urb->sg->offset + musb_ep_program()
907 qh->sg_miter.length); musb_ep_program()
909 qh->sg_miter.consumed = load_count; musb_ep_program()
910 sg_miter_stop(&qh->sg_miter); musb_ep_program()
1519 if (!sg_miter_next(&qh->sg_miter)) { musb_host_tx()
1521 sg_miter_stop(&qh->sg_miter); musb_host_tx()
1525 urb->transfer_buffer = qh->sg_miter.addr; musb_host_tx()
1526 length = min_t(u32, length, qh->sg_miter.length); musb_host_tx()
1528 qh->sg_miter.consumed = length; musb_host_tx()
1529 sg_miter_stop(&qh->sg_miter); musb_host_tx()
2027 sg_miter_start(&qh->sg_miter, urb->sg, 1, musb_host_rx()
2032 if (!sg_miter_next(&qh->sg_miter)) { musb_host_rx()
2034 sg_miter_stop(&qh->sg_miter); musb_host_rx()
2039 urb->transfer_buffer = qh->sg_miter.addr; musb_host_rx()
2047 qh->sg_miter.consumed = received_len; musb_host_rx()
2048 sg_miter_stop(&qh->sg_miter); musb_host_rx()
H A Dmusb_host.h66 struct sg_mapping_iter sg_miter; /* for highmem in PIO mode */ member in struct:musb_qh
/linux-4.4.14/include/linux/mmc/
H A Ddw_mmc.h61 * @sg_miter: PIO mapping scatterlist iterator.
151 struct sg_mapping_iter sg_miter; member in struct:dw_mci
/linux-4.4.14/drivers/crypto/sunxi-ss/
H A Dsun4i-ss-cipher.c73 dev_err_ratelimited(ss->dev, "ERROR: sg_miter return null\n"); sun4i_ss_opti_poll()
206 dev_err_ratelimited(ss->dev, "ERROR: sg_miter return null\n"); sun4i_ss_cipher_poll()

Completed in 357 milliseconds