Home
last modified time | relevance | path

Searched refs:dma_table (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/sound/
H A Dinitval.h77 static int snd_legacy_find_free_dma(const int *dma_table) in snd_legacy_find_free_dma() argument
79 while (*dma_table != -1) { in snd_legacy_find_free_dma()
80 if (!request_dma(*dma_table, "ALSA Test DMA")) { in snd_legacy_find_free_dma()
81 free_dma(*dma_table); in snd_legacy_find_free_dma()
82 return *dma_table; in snd_legacy_find_free_dma()
84 dma_table++; in snd_legacy_find_free_dma()
/openbmc/linux/drivers/iommu/
H A Ds390-iommu.c22 unsigned long *dma_table; member
53 s390_domain->dma_table = dma_alloc_cpu_table(GFP_KERNEL); in s390_domain_alloc()
54 if (!s390_domain->dma_table) { in s390_domain_alloc()
72 dma_cleanup_tables(s390_domain->dma_table); in s390_iommu_rcu_free_domain()
101 zdev->dma_table = NULL; in __s390_iommu_detach_device()
122 else if (zdev->dma_table) in s390_iommu_attach_device()
126 virt_to_phys(s390_domain->dma_table), &status); in s390_iommu_attach_device()
133 zdev->dma_table = s390_domain->dma_table; in s390_iommu_attach_device()
135 zdev->dma_table = s390_domain->dma_table; in s390_iommu_attach_device()
283 entry = dma_walk_cpu_trans(s390_domain->dma_table, in s390_iommu_validate_trans()
[all …]
/openbmc/linux/arch/s390/pci/
H A Dpci_dma.c170 if (!zdev->dma_table) in __dma_update_trans()
174 entry = dma_walk_cpu_trans(zdev->dma_table, dma_addr, in __dma_update_trans()
191 entry = dma_walk_cpu_trans(zdev->dma_table, dma_addr, in __dma_update_trans()
593 zdev->dma_table = dma_alloc_cpu_table(GFP_KERNEL); in zpci_dma_init_device()
594 if (!zdev->dma_table) { in zpci_dma_init_device()
632 virt_to_phys(zdev->dma_table), &status)) { in zpci_dma_init_device()
644 dma_free_cpu_table(zdev->dma_table); in zpci_dma_init_device()
645 zdev->dma_table = NULL; in zpci_dma_init_device()
670 dma_cleanup_tables(zdev->dma_table); in zpci_dma_exit_device()
671 zdev->dma_table = NULL; in zpci_dma_exit_device()
H A Dpci.c756 if (zdev->dma_table) in zpci_hot_reset_device()
758 virt_to_phys(zdev->dma_table), &status); in zpci_hot_reset_device()
868 if (zdev->dma_table) { in zpci_deconfigure_device()
921 if (zdev->dma_table) in zpci_release_device()
H A Dpci_sysfs.c85 if (zdev->dma_table) { in recover_store()
H A Dpci_event.c310 if (zdev->dma_table) in zpci_event_hard_deconfigured()
/openbmc/linux/drivers/ata/
H A Dpata_sil680.c161 static const u16 dma_table[3] = { 0x2208, 0x10C2, 0x10C1 }; in sil680_set_dmamode() local
188 multi = dma_table[adev->dma_mode - XFER_MW_DMA_0]; in sil680_set_dmamode()
/openbmc/linux/arch/s390/include/asm/
H A Dpci.h159 unsigned long *dma_table; member
/openbmc/linux/arch/s390/kvm/
H A Dpci.c490 virt_to_phys(zdev->dma_table), &status); in kvm_s390_pci_register_kvm()
559 virt_to_phys(zdev->dma_table), &status); in kvm_s390_pci_unregister_kvm()