Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/ide/
H A 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 …]
H A 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()
H A 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()
H A Dsc1200.c218 hwif->dma_ops->dma_host_set(drive, 1); in sc1200_set_pio_mode()
297 .dma_ops = &sc1200_dma_ops,
H A Dsl82c105.c309 .dma_ops = &sl82c105_dma_ops,
330 d.dma_ops = NULL; in sl82c105_init_one()
H A Dsetup-pci.c134 dma_stat = hwif->dma_ops->dma_sff_read_status(hwif); in ide_pci_check_simplex()
368 if (hwif->dma_ops == NULL) in ide_hwif_setup_dma()
369 hwif->dma_ops = &sff_dma_ops; in ide_hwif_setup_dma()
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-dw-core.c438 ret = dws->dma_ops->dma_setup(dws, transfer); in dw_spi_transfer_one()
446 return dws->dma_ops->dma_transfer(dws, transfer); in dw_spi_transfer_one()
461 dws->dma_ops->dma_stop(dws); in dw_spi_handle_err()
890 if (dws->dma_ops && dws->dma_ops->dma_init) { in dw_spi_add_host()
891 ret = dws->dma_ops->dma_init(dev, dws); in dw_spi_add_host()
895 master->can_dma = dws->dma_ops->can_dma; in dw_spi_add_host()
910 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_add_host()
911 dws->dma_ops->dma_exit(dws); in dw_spi_add_host()
926 if (dws->dma_ops && dws->dma_ops->dma_exit) in dw_spi_remove_host()
927 dws->dma_ops->dma_exit(dws); in dw_spi_remove_host()
/OK3568_Linux_fs/kernel/drivers/media/pci/tw686x/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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 && host->dma_ops->end) in tmio_mmc_end_dma()
63 host->dma_ops->end(host); in tmio_mmc_end_dma()
68 if (host->dma_ops) in tmio_mmc_enable_dma()
69 host->dma_ops->enable(host, enable); in tmio_mmc_enable_dma()
75 if (host->dma_ops) { in tmio_mmc_request_dma()
76 host->dma_ops->request(host, pdata); in tmio_mmc_request_dma()
85 if (host->dma_ops) in tmio_mmc_release_dma()
86 host->dma_ops->release(host); in tmio_mmc_release_dma()
[all …]
H A Ddw_mmc.c450 host->dma_ops->stop(host); in dw_mci_stop_dma()
451 host->dma_ops->cleanup(host); in dw_mci_stop_dma()
517 host->dma_ops->cleanup(host); in dw_mci_dmac_complete_dma()
1135 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
1168 if (host->dma_ops->start(host, sg_len)) { in dw_mci_submit_data_dma()
1169 host->dma_ops->stop(host); in dw_mci_submit_data_dma()
2840 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
2849 host->dma_ops->complete((void *)host); in dw_mci_interrupt()
3051 host->dma_ops = &dw_mci_idmac_ops; in dw_mci_init_dma()
3060 host->dma_ops = &dw_mci_edmac_ops; in dw_mci_init_dma()
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Ddma-mapping.c8 const struct dma_map_ops *dma_ops; variable
9 EXPORT_SYMBOL(dma_ops);
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Ddma-mapping.h9 extern const struct dma_map_ops *dma_ops;
13 return dma_ops; in get_arch_dma_ops()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Ddma-mapping.h17 extern const struct dma_map_ops *dma_ops;
21 return dma_ops; in get_arch_dma_ops()
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Ddma-mapping.h5 extern const struct dma_map_ops *dma_ops;
10 return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL; in get_arch_dma_ops()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-map-ops.h85 if (dev->dma_ops) in get_dma_ops()
86 return dev->dma_ops; in get_dma_ops()
91 const struct dma_map_ops *dma_ops) in set_dma_ops() argument
93 dev->dma_ops = dma_ops; in set_dma_ops()
101 const struct dma_map_ops *dma_ops) in set_dma_ops() argument
/OK3568_Linux_fs/kernel/arch/arm/include/asm/mach/
H A Ddma.h14 struct dma_ops { struct
40 const struct dma_ops *d_ops; argument
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/platform/arm/
H A Darm.c323 mali_gpu_device.dev.archdata.dma_ops = &dummy_dma_ops; in mali_platform_device_register()
325 mali_gpu_device.dev.archdata.dma_ops = dma_ops; in mali_platform_device_register()
522 device->dev.archdata.dma_ops = dma_ops; in mali_platform_device_init()
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping.c38 dev->dma_ops = NULL; in arch_teardown_dma_ops()
65 dev->dma_ops = &xen_swiotlb_dma_ops; in arch_setup_dma_ops()
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Ddma.h52 struct dma_ops { struct
92 struct dma_ops *ops;
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dpci-dma.c20 const struct dma_map_ops *dma_ops; variable
21 EXPORT_SYMBOL(dma_ops);
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dof_device_common.c70 op->dev.dma_ops = bus->dev.dma_ops; in of_propagate_archdata()
/OK3568_Linux_fs/kernel/arch/arm/mach-rpc/
H A 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 = {
/OK3568_Linux_fs/kernel/arch/arm/mach-footbridge/
H A Ddma.c38 static struct dma_ops fb_dma_ops = {
/OK3568_Linux_fs/u-boot/include/
H A Ddma.h36 struct dma_ops { struct

1234