Home
last modified time | relevance | path

Searched refs:dma_ops (Results 1 – 25 of 92) sorted by relevance

1234

/Linux-v5.4/drivers/ide/
Dide-dma.c98 dma_stat = hwif->dma_ops->dma_end(drive); in ide_dma_intr()
184 drive->hwif->dma_ops->dma_host_set(drive, 0); in ide_dma_off_quietly()
214 drive->hwif->dma_ops->dma_host_set(drive, 1); in ide_dma_on()
449 const struct ide_dma_ops *dma_ops = hwif->dma_ops; in ide_dma_timeout_retry() local
460 (void)dma_ops->dma_end(drive); in ide_dma_timeout_retry()
466 if (dma_ops->dma_clear) in ide_dma_timeout_retry()
467 dma_ops->dma_clear(drive); in ide_dma_timeout_retry()
469 if (dma_ops->dma_test_irq(drive) == 0) { in ide_dma_timeout_retry()
473 (void)dma_ops->dma_end(drive); in ide_dma_timeout_retry()
533 const struct ide_dma_ops *dma_ops = drive->hwif->dma_ops; in ide_dma_prepare() local
[all …]
Dide-dma-sff.c87 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_host_set()
215 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_setup()
241 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_sff_timer_expiry()
302 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_end()
320 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_test_irq()
Dide-iops.c358 if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
359 hwif->dma_ops->dma_host_set(drive, 0); in ide_config_drive_speed()
413 hwif->dma_ops->dma_host_set(drive, 1); in ide_config_drive_speed()
414 else if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
Dsc1200.c218 hwif->dma_ops->dma_host_set(drive, 1); in sc1200_set_pio_mode()
297 .dma_ops = &sc1200_dma_ops,
/Linux-v5.4/drivers/spi/
Dspi-dw.c344 ret = dws->dma_ops->dma_setup(dws, transfer); in dw_spi_transfer_one()
364 ret = dws->dma_ops->dma_transfer(dws, transfer); in dw_spi_transfer_one()
381 dws->dma_ops->dma_stop(dws); in dw_spi_handle_err()
503 if (dws->dma_ops && dws->dma_ops->dma_init) { in dw_spi_add_host()
504 ret = dws->dma_ops->dma_init(dws); in dw_spi_add_host()
509 master->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
523 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_add_host()
524 dws->dma_ops->dma_exit(dws); in dw_spi_add_host()
537 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_remove_host()
538 dws->dma_ops->dma_exit(dws); in dw_spi_remove_host()
/Linux-v5.4/arch/ia64/include/asm/
Ddma-mapping.h9 extern const struct dma_map_ops *dma_ops;
13 return dma_ops; in get_arch_dma_ops()
/Linux-v5.4/arch/x86/include/asm/
Ddma-mapping.h19 extern const struct dma_map_ops *dma_ops;
23 return dma_ops; in get_arch_dma_ops()
Ddevice.h17 const struct dma_map_ops *dma_ops; member
/Linux-v5.4/arch/sparc/include/asm/
Ddma-mapping.h7 extern const struct dma_map_ops *dma_ops;
21 return dma_ops; in get_arch_dma_ops()
/Linux-v5.4/arch/arm/include/asm/mach/
Ddma.h14 struct dma_ops { struct
40 const struct dma_ops *d_ops; argument
/Linux-v5.4/arch/x86/xen/
Dpci-swiotlb-xen.c63 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init()
83 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init_late()
/Linux-v5.4/arch/ia64/kernel/
Ddma-mapping.c8 const struct dma_map_ops *dma_ops; variable
9 EXPORT_SYMBOL(dma_ops);
/Linux-v5.4/drivers/media/pci/tw686x/
Dtw686x-video.c60 vb->field = dev->dma_ops->field; in tw686x_buf_done()
524 dev->dma_ops->buf_refill(vc, pb); in tw686x_start_streaming()
631 f->fmt.pix.field = dev->dma_ops->field; in tw686x_g_fmt_vid_cap()
666 f->fmt.pix.field = dev->dma_ops->field; in tw686x_try_fmt_vid_cap()
684 if (dev->dma_ops->alloc && realloc) { in tw686x_set_format()
686 dev->dma_ops->free(vc, pb); in tw686x_set_format()
689 err = dev->dma_ops->alloc(vc, pb); in tw686x_set_format()
692 dev->dma_ops->free(vc, 0); in tw686x_set_format()
1142 dev->dma_ops->buf_refill(vc, pb); in tw686x_video_irq()
1156 if (dev->dma_ops->free) in tw686x_video_free()
[all …]
/Linux-v5.4/arch/arm64/mm/
Ddma-mapping.c36 dev->dma_ops = NULL; in arch_teardown_dma_ops()
57 dev->dma_ops = &xen_swiotlb_dma_ops; in arch_setup_dma_ops()
/Linux-v5.4/drivers/misc/mic/bus/
Dmic_bus.c135 mbus_register_device(struct device *pdev, int id, const struct dma_map_ops *dma_ops, in mbus_register_device() argument
150 mbdev->dev.dma_ops = dma_ops; in mbus_register_device()
Dvop_bus.c134 const struct dma_map_ops *dma_ops, in vop_register_device() argument
148 vdev->dev.dma_ops = dma_ops; in vop_register_device()
Dscif_bus.c133 scif_register_device(struct device *pdev, int id, const struct dma_map_ops *dma_ops, in scif_register_device() argument
149 sdev->dev.dma_ops = dma_ops; in scif_register_device()
/Linux-v5.4/arch/sh/include/asm/
Ddma.h53 struct dma_ops { struct
93 struct dma_ops *ops;
/Linux-v5.4/arch/x86/kernel/
Dpci-dma.c21 const struct dma_map_ops *dma_ops; variable
22 EXPORT_SYMBOL(dma_ops);
/Linux-v5.4/drivers/mmc/host/
Dtmio_mmc_core.c56 if (host->dma_ops) in tmio_mmc_start_dma()
57 host->dma_ops->start(host, data); in tmio_mmc_start_dma()
62 if (host->dma_ops) in tmio_mmc_enable_dma()
63 host->dma_ops->enable(host, enable); in tmio_mmc_enable_dma()
69 if (host->dma_ops) { in tmio_mmc_request_dma()
70 host->dma_ops->request(host, pdata); in tmio_mmc_request_dma()
79 if (host->dma_ops) in tmio_mmc_release_dma()
80 host->dma_ops->release(host); in tmio_mmc_release_dma()
85 if (host->dma_ops) in tmio_mmc_abort_dma()
86 host->dma_ops->abort(host); in tmio_mmc_abort_dma()
[all …]
Ddw_mmc.c423 host->dma_ops->stop(host); in dw_mci_stop_dma()
424 host->dma_ops->cleanup(host); in dw_mci_stop_dma()
484 host->dma_ops->cleanup(host); in dw_mci_dmac_complete_dma()
1088 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
1121 if (host->dma_ops->start(host, sg_len)) { in dw_mci_submit_data_dma()
1122 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
2727 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
2736 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
2937 host->dma_ops = &dw_mci_idmac_ops; in dw_mci_init_dma()
2946 host->dma_ops = &dw_mci_edmac_ops; in dw_mci_init_dma()
[all …]
Drenesas_sdhi.h60 const struct tmio_mmc_dma_ops *dma_ops);
/Linux-v5.4/arch/arm/mach-footbridge/
Ddma.c38 static struct dma_ops fb_dma_ops = {
/Linux-v5.4/arch/arm/mach-rpc/
Ddma.c247 static struct dma_ops iomd_dma_ops = {
313 static struct dma_ops floppy_dma_ops = {
327 static struct dma_ops sound_dma_ops = {
/Linux-v5.4/include/linux/
Dmic_bus.h82 mbus_register_device(struct device *pdev, int id, const struct dma_map_ops *dma_ops,

1234