Home
last modified time | relevance | path

Searched refs:dma_capable (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/usb/dwc2/
Dparams.c510 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_set_default_params() local
541 p->host_dma = dma_capable; in dwc2_set_default_params()
554 p->g_dma = dma_capable; in dwc2_set_default_params()
823 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_check_params() local
855 CHECK_BOOL(host_dma, dma_capable); in dwc2_check_params()
876 CHECK_BOOL(g_dma, dma_capable); in dwc2_check_params()
/linux-6.12.1/drivers/memstick/host/
Dr592.h146 int dma_capable; member
Dr592.c267 dev->dma_capable = r592_enable_dma && in r592_check_dma()
278 if (!dev->dma_capable || !dev->req->long_data) in r592_transfer_fifo_dma()
/linux-6.12.1/drivers/xen/
Dswiotlb-xen.c215 if (dma_capable(dev, dev_addr, size, true) && in xen_swiotlb_map_page()
236 if (unlikely(!dma_capable(dev, dev_addr, size, true))) { in xen_swiotlb_map_page()
/linux-6.12.1/include/linux/
Ddma-direct.h122 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable() function
/linux-6.12.1/kernel/dma/
Ddirect.h96 if (unlikely(!dma_capable(dev, dma_addr, size, true)) || in dma_direct_map_page()
Ddirect.c510 if (unlikely(!dma_capable(dev, dma_addr, size, false))) { in dma_direct_map_resource()
Dswiotlb.c1590 if (unlikely(!dma_capable(dev, dma_addr, size, true))) { in swiotlb_map()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dvio.c709 bool dma_capable = false; in vio_cmo_bus_probe() local
718 dma_capable = true; in vio_cmo_bus_probe()
721 dma_capable = false; in vio_cmo_bus_probe()
730 if (dma_capable) { in vio_cmo_bus_probe()
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_init.c312 int dma_capable; in qla4xxx_alloc_fw_dump() local
351 dma_capable = qla4_80xx_is_minidump_dma_capable(ha, md_hdr); in qla4xxx_alloc_fw_dump()
357 (ql4xmdcapmask == 0xFF && dma_capable)) { in qla4xxx_alloc_fw_dump()
/linux-6.12.1/arch/x86/kernel/
Damd_gart_64.c185 return force_iommu || !dma_capable(dev, addr, size, true); in need_iommu()
191 return !dma_capable(dev, addr, size, true); in nonforced_iommu()