Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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.c86 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_host_set()
214 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_setup()
240 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_sff_timer_expiry()
301 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_end()
319 u8 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_dma_test_irq()
Dide-iops.c357 if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
358 hwif->dma_ops->dma_host_set(drive, 0); in ide_config_drive_speed()
412 hwif->dma_ops->dma_host_set(drive, 1); in ide_config_drive_speed()
413 else if (hwif->dma_ops) /* check if host supports DMA */ in ide_config_drive_speed()
/Linux-v4.19/arch/ia64/kernel/
Ddma-mapping.c9 const struct dma_map_ops *dma_ops; variable
10 EXPORT_SYMBOL(dma_ops);
14 return dma_ops; in dma_get_ops()
21 dma_ops = &swiotlb_dma_ops; in swiotlb_dma_init()
/Linux-v4.19/drivers/spi/
Dspi-dw.c356 ret = dws->dma_ops->dma_setup(dws, transfer); in dw_spi_transfer_one()
376 ret = dws->dma_ops->dma_transfer(dws, transfer); in dw_spi_transfer_one()
393 dws->dma_ops->dma_stop(dws); in dw_spi_handle_err()
517 if (dws->dma_ops && dws->dma_ops->dma_init) { in dw_spi_add_host()
518 ret = dws->dma_ops->dma_init(dws); in dw_spi_add_host()
523 master->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
537 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_add_host()
538 dws->dma_ops->dma_exit(dws); in dw_spi_add_host()
551 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_remove_host()
552 dws->dma_ops->dma_exit(dws); in dw_spi_remove_host()
/Linux-v4.19/arch/hexagon/include/asm/
Ddma-mapping.h33 extern const struct dma_map_ops *dma_ops;
37 return dma_ops; in get_arch_dma_ops()
/Linux-v4.19/arch/hexagon/kernel/
Ddma.c31 const struct dma_map_ops *dma_ops; variable
32 EXPORT_SYMBOL(dma_ops);
215 if (dma_ops) in hexagon_dma_init()
218 dma_ops = &hexagon_dma_ops; in hexagon_dma_init()
/Linux-v4.19/arch/sparc/include/asm/
Ddma-mapping.h9 extern const struct dma_map_ops *dma_ops;
23 return dma_ops; in get_arch_dma_ops()
/Linux-v4.19/arch/x86/include/asm/
Ddma-mapping.h26 extern const struct dma_map_ops *dma_ops;
30 return dma_ops; in get_arch_dma_ops()
Ddevice.h17 const struct dma_map_ops *dma_ops; member
/Linux-v4.19/arch/arm/include/asm/mach/
Ddma.h17 struct dma_ops { struct
43 const struct dma_ops *d_ops; argument
/Linux-v4.19/arch/x86/xen/
Dpci-swiotlb-xen.c61 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init()
81 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init_late()
/Linux-v4.19/drivers/media/pci/tw686x/
Dtw686x-video.c64 vb->field = dev->dma_ops->field; in tw686x_buf_done()
528 dev->dma_ops->buf_refill(vc, pb); in tw686x_start_streaming()
635 f->fmt.pix.field = dev->dma_ops->field; in tw686x_g_fmt_vid_cap()
670 f->fmt.pix.field = dev->dma_ops->field; in tw686x_try_fmt_vid_cap()
688 if (dev->dma_ops->alloc && realloc) { in tw686x_set_format()
690 dev->dma_ops->free(vc, pb); in tw686x_set_format()
693 err = dev->dma_ops->alloc(vc, pb); in tw686x_set_format()
696 dev->dma_ops->free(vc, 0); in tw686x_set_format()
1149 dev->dma_ops->buf_refill(vc, pb); in tw686x_video_irq()
1163 if (dev->dma_ops->free) in tw686x_video_free()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Ddma.c36 if (sd->max_direct_dma_addr && dev->dma_ops == &powerpc_swiotlb_dma_ops) in get_pfn_limit()
331 const struct dma_map_ops *dma_ops = get_dma_ops(dev); in __dma_get_required_mask() local
333 if (unlikely(dma_ops == NULL)) in __dma_get_required_mask()
336 if (dma_ops->get_required_mask) in __dma_get_required_mask()
337 return dma_ops->get_required_mask(dev); in __dma_get_required_mask()
/Linux-v4.19/drivers/misc/mic/bus/
Dmic_bus.c146 mbus_register_device(struct device *pdev, int id, const struct dma_map_ops *dma_ops, in mbus_register_device() argument
161 mbdev->dev.dma_ops = dma_ops; in mbus_register_device()
Dvop_bus.c145 const struct dma_map_ops *dma_ops, in vop_register_device() argument
159 vdev->dev.dma_ops = dma_ops; in vop_register_device()
Dscif_bus.c141 scif_register_device(struct device *pdev, int id, const struct dma_map_ops *dma_ops, in scif_register_device() argument
157 sdev->dev.dma_ops = dma_ops; in scif_register_device()
/Linux-v4.19/arch/sh/include/asm/
Ddma.h56 struct dma_ops { struct
96 struct dma_ops *ops;
/Linux-v4.19/arch/arm/mm/
Ddma-mapping-nommu.c219 const struct dma_map_ops *dma_ops; in arch_setup_dma_ops() local
236 dma_ops = arm_nommu_get_dma_map_ops(dev->archdata.dma_coherent); in arch_setup_dma_ops()
238 set_dma_ops(dev, dma_ops); in arch_setup_dma_ops()
/Linux-v4.19/drivers/mmc/host/
Dtmio_mmc_core.c58 if (host->dma_ops) in tmio_mmc_start_dma()
59 host->dma_ops->start(host, data); in tmio_mmc_start_dma()
64 if (host->dma_ops) in tmio_mmc_enable_dma()
65 host->dma_ops->enable(host, enable); in tmio_mmc_enable_dma()
71 if (host->dma_ops) { in tmio_mmc_request_dma()
72 host->dma_ops->request(host, pdata); in tmio_mmc_request_dma()
81 if (host->dma_ops) in tmio_mmc_release_dma()
82 host->dma_ops->release(host); in tmio_mmc_release_dma()
87 if (host->dma_ops) in tmio_mmc_abort_dma()
88 host->dma_ops->abort(host); in tmio_mmc_abort_dma()
[all …]
Ddw_mmc.c449 host->dma_ops->stop(host); in dw_mci_stop_dma()
450 host->dma_ops->cleanup(host); in dw_mci_stop_dma()
510 host->dma_ops->cleanup(host); in dw_mci_dmac_complete_dma()
1114 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
1147 if (host->dma_ops->start(host, sg_len)) { in dw_mci_submit_data_dma()
1148 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
2754 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
2763 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
2964 host->dma_ops = &dw_mci_idmac_ops; in dw_mci_init_dma()
2973 host->dma_ops = &dw_mci_edmac_ops; in dw_mci_init_dma()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dpci-dma.c20 const struct dma_map_ops *dma_ops = &dma_direct_ops; variable
21 EXPORT_SYMBOL(dma_ops);
Dpci-swiotlb.c67 dma_ops = &swiotlb_dma_ops; in pci_swiotlb_init()
/Linux-v4.19/arch/ia64/include/asm/
Ddma-mapping.h15 extern const struct dma_map_ops *dma_ops;
/Linux-v4.19/arch/arm/mach-footbridge/
Ddma.c38 static struct dma_ops fb_dma_ops = {

1234