Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A Dparams.c467 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_set_default_params() local
497 p->host_dma = dma_capable; in dwc2_set_default_params()
510 p->g_dma = dma_capable; in dwc2_set_default_params()
760 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH); in dwc2_check_params() local
790 CHECK_BOOL(host_dma, dma_capable); in dwc2_check_params()
811 CHECK_BOOL(g_dma, dma_capable); in dwc2_check_params()
/openbmc/linux/drivers/memstick/host/
H A Dr592.h146 int dma_capable; member
H A 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()
/openbmc/linux/include/linux/
H A Ddma-direct.h99 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable() function
/openbmc/linux/drivers/xen/
H A Dswiotlb-xen.c214 if (dma_capable(dev, dev_addr, size, true) && in xen_swiotlb_map_page()
235 if (unlikely(!dma_capable(dev, dev_addr, size, true))) { in xen_swiotlb_map_page()
/openbmc/linux/kernel/dma/
H A Ddirect.h97 if (unlikely(!dma_capable(dev, dma_addr, size, true)) || in dma_direct_map_page()
H A Ddirect.c525 if (unlikely(!dma_capable(dev, dma_addr, size, false))) { in dma_direct_map_resource()
H A Dswiotlb.c1508 if (unlikely(!dma_capable(dev, dma_addr, size, true))) { in swiotlb_map()
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/drivers/scsi/qla4xxx/
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()