/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/device/ |
H A D | mali_kbase_device.c | 170 err = dma_set_mask(kbdev->dev, DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_misc_init() 175 err = dma_set_coherent_mask(kbdev->dev, DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_misc_init()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/ |
H A D | drv_osal_sys_linux.c | 58 ret = dma_set_coherent_mask(dev, DMA_BIT_MASK(SYS_64BITS)); in cipher_dma_set_mask() 63 ret = dma_set_coherent_mask(dev, DMA_BIT_MASK(SYS_32BITS)); in cipher_dma_set_mask()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/device/ |
H A D | mali_kbase_device.c | 269 DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_misc_init() 274 DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_misc_init()
|
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp-i2s-audio.c | 223 pdevinfo.dma_mask = DMA_BIT_MASK(0x20);
in snd_dw_hdmi_qp_probe()
|
H A D | dw-hdmi-qp.c | 2403 pdevinfo.dma_mask = DMA_BIT_MASK(0x20);
in _dw_hdmi_probe()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp-i2s-audio.c | 230 pdevinfo.dma_mask = DMA_BIT_MASK(32); in snd_dw_hdmi_qp_probe()
|
H A D | dw-hdmi-qp.c | 2294 pdevinfo.dma_mask = DMA_BIT_MASK(32); in __dw_hdmi_probe()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_device.c | 202 err = dma_set_mask(kbdev->dev, DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits));
in kbase_device_init() 207 err = dma_set_coherent_mask(kbdev->dev, DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits));
in kbase_device_init()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | dma-mapping.h | 93 #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL << (n)) - 1)) macro 399 return DMA_BIT_MASK(32); in dma_get_mask()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_device.c | 201 DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_init() 206 DMA_BIT_MASK(kbdev->gpu_props.mmu.pa_bits)); in kbase_device_init()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | rk.c | 575 pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask, pdev->dev.coherent_dma_mask = DMA_BIT_MASK(DMA_BIT_MASK_VALUE); in mali_platform_device_add_config()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | rk.c | 622 pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); in mali_platform_device_add_config()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/ |
H A D | arm.c | 303 .dev.coherent_dma_mask = DMA_BIT_MASK(32),
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/ |
H A D | system_heap.c | 596 dma_coerce_mask_and_coherent(dma_heap_get_dev(sys_uncached_heap), DMA_BIT_MASK(0x40)); in system_heap_create()
|
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
H A D | dma-iommu.c | 497 if (dma_limit > DMA_BIT_MASK(DMA_IOMMU_BIT_MASK_VALUE) && dev_is_pci(dev)) { in iommu_dma_alloc_iova() 498 iova = alloc_iova_fast(iovad, iova_len, DMA_BIT_MASK(DMA_IOMMU_BIT_MASK_VALUE) >> shift, false); in iommu_dma_alloc_iova()
|
H A D | rockchip-iommu.c | 1502 rk_domain->domain.geometry.aperture_end = DMA_BIT_MASK(RK_DMA_BIT_MASK);
in rk_iommu_domain_alloc() 1597 dma_set_max_seg_size(dev, DMA_BIT_MASK(RK_DMA_BIT_MASK));
in rk_iommu_probe_device()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_pcie_linux.c | 273 if (pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) || in dhdpcie_smmu_init() 274 pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) { in dhdpcie_smmu_init()
|
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/ |
H A D | r8168.h | 551 #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) macro
|
H A D | r8168_n.c | 1055 cmd = (u64)paddr & DMA_BIT_MASK(32); in proc_get_tally_counter() 1457 cmd = (u64)paddr & DMA_BIT_MASK(32); in proc_get_tally_counter() 5775 cmd = (u64)paddr & DMA_BIT_MASK(32); in rtl8168_get_ethtool_stats() 7116 RTL_W32(tp, CounterAddrLow, (u64)tp->tally_paddr & (DMA_BIT_MASK(32))); in rtl8168_tally_counter_addr_fill() 7130 RTL_W32(tp, CounterAddrLow, ((u64)tp->tally_paddr & (DMA_BIT_MASK(32))) | CounterReset); in rtl8168_tally_counter_clear() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 4358 .dma_mask = DMA_BIT_MASK(0x20), in dw_hdmi_register_hdcp() 4678 pdevinfo.dma_mask = DMA_BIT_MASK(0x20); in dw_hdmi_probe() 4693 pdevinfo.dma_mask = DMA_BIT_MASK(0x20); in dw_hdmi_probe()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_drv.c | 1820 ret = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(0x40)); in rockchip_drm_platform_probe()
|