Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/dwc2/
Dparams.c412 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_set_default_params() local
442 p->host_dma = dma_capable; in dwc2_set_default_params()
455 p->g_dma = dma_capable; in dwc2_set_default_params()
706 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_check_params() local
736 CHECK_BOOL(host_dma, dma_capable); in dwc2_check_params()
757 CHECK_BOOL(g_dma, dma_capable); in dwc2_check_params()
/linux-6.1.9/drivers/memstick/host/
Dr592.h146 int dma_capable; member
Dr592.c269 dev->dma_capable = r592_enable_dma && in r592_check_dma()
280 if (!dev->dma_capable || !dev->req->long_data) in r592_transfer_fifo_dma()
/linux-6.1.9/drivers/xen/
Dswiotlb-xen.c208 if (dma_capable(dev, dev_addr, size, true) && in xen_swiotlb_map_page()
229 if (unlikely(!dma_capable(dev, dev_addr, size, true))) { in xen_swiotlb_map_page()
/linux-6.1.9/include/linux/
Ddma-direct.h99 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable() function
/linux-6.1.9/kernel/dma/
Ddirect.h97 if (unlikely(!dma_capable(dev, dma_addr, size, true))) { in dma_direct_map_page()
Ddirect.c525 if (unlikely(!dma_capable(dev, dma_addr, size, false))) { in dma_direct_map_resource()
Dswiotlb.c882 if (unlikely(!dma_capable(dev, dma_addr, size, true))) { in swiotlb_map()
/linux-6.1.9/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()
/linux-6.1.9/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.1.9/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()