Home
last modified time | relevance | path

Searched refs:phyaddr (Results 1 – 25 of 31) sorted by relevance

12

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_ext_k.c37 mmb_addr_t phyaddr; in hi_drv_mmz_alloc_and_map() local
48 phyaddr = new_mmb(name, size, align, NULL); in hi_drv_mmz_alloc_and_map()
49 if (phyaddr == MMB_ADDR_INVALID) { in hi_drv_mmz_alloc_and_map()
54 mmz_buf->pu8_start_vir_addr = remap_mmb(phyaddr, 0); in hi_drv_mmz_alloc_and_map()
56 delete_mmb(phyaddr, 0); in hi_drv_mmz_alloc_and_map()
61 mmz_buf->start_phy_addr = (HI_U32)phyaddr; in hi_drv_mmz_alloc_and_map()
76 mmb_addr_t phyaddr; in hi_drv_mmz_unmap_and_release() local
82 phyaddr = mmz_buf->start_phy_addr; in hi_drv_mmz_unmap_and_release()
84 if (phyaddr != MMB_ADDR_INVALID) { in hi_drv_mmz_unmap_and_release()
88 delete_mmb(phyaddr, 0); in hi_drv_mmz_unmap_and_release()
[all …]
Ddrv_tzsmmu.c37 u32 secmem_alloc(mmb_addr_t phyaddr, unsigned int iommu) in secmem_alloc() argument
45 teebuf.table = get_meminfo(phyaddr, iommu, &size, &base_addr); in secmem_alloc()
60 set_sec_mmb_flag(phyaddr, iommu); in secmem_alloc()
61 sec_mmb_get(phyaddr, iommu, mem_addr.sec_addr); in secmem_alloc()
63 return iommu ? mem_addr.sec_addr : phyaddr; in secmem_alloc()
127 u32 secmem_map_to_secsmmu(HI_U32 phyaddr, int iommu) in secmem_map_to_secsmmu() argument
137 mem_addr.sec_addr = get_sec_smmu_by_nosmmu(phyaddr); in secmem_map_to_secsmmu()
139 mem_addr.sec_addr = get_sec_smmu_by_phys(phyaddr); in secmem_map_to_secsmmu()
147 teebuf.table = get_meminfo(phyaddr, iommu, &size, &base_addr); in secmem_map_to_secsmmu()
161 offset = phyaddr - mem_addr.addr; in secmem_map_to_secsmmu()
[all …]
Ddrv_mmz_userdev.c66 unsigned int phyaddr; in mmz_flush_dcache_mmb() local
80 phyaddr = mi->phys_addr; in mmz_flush_dcache_mmb()
83 phyaddr = mi->smmu_addr; in mmz_flush_dcache_mmb()
87 mmb = hil_mmb_getby_phys(phyaddr, iommu); in mmz_flush_dcache_mmb()
103 hi_mmz_warn("mmb smmu:0x%x have not mapped yet!\n", (unsigned int)phyaddr); in mmz_flush_dcache_mmb()
105 hi_mmz_warn("mmb phy:0x%x have not mapped yet!\n", (unsigned int)phyaddr); in mmz_flush_dcache_mmb()
126 flush_outer_cache_range(phyaddr, mmb->length, iommu); in mmz_flush_dcache_mmb()
209 unsigned int phyaddr; in ioctl_mmb_free() local
213 phyaddr = mi->phys_addr; in ioctl_mmb_free()
216 phyaddr = mi->smmu_addr; in ioctl_mmb_free()
[all …]
Ddrv_mmz_intf.c150 void flush_cache_kern(mmb_addr_t phyaddr, const void *viraddr, mmb_addr_t len, unsigned int iommu) in flush_cache_kern() argument
154 flush_outer_cache_range(phyaddr, len, iommu); in flush_cache_kern()
158 mmb = hil_mmb_getby_phys(phyaddr, iommu); in flush_cache_kern()
183 mmb_addr_t phyaddr = MMB_ADDR_INVALID; in get_phyaddr_byvirt() local
196 phyaddr = mmb->phys_addr + ((uintptr_t)mapped_addr - (uintptr_t)mmb->kdata->kvirt); in get_phyaddr_byvirt()
202 return phyaddr; in get_phyaddr_byvirt()
Ddrv_tzsmmu.h26 u32 secmem_alloc(mmb_addr_t phyaddr, unsigned int iommu);
29 u32 secmem_map_to_secsmmu(HI_U32 phyaddr, int iommu);
Ddrv_mmz.h42 void flush_cache_kern(mmb_addr_t phyaddr, const void *viraddr, mmb_addr_t len, unsigned int iommu);
57 int dma_buf_export_fd(unsigned int phyaddr, unsigned int iommu);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/include/
Dtde_define.h105 #define tde_free_mmb(phyaddr) \ argument
107 if (phyaddr != MMB_ADDR_INVALID) { \
108 cmpi_mmz_free(phyaddr, HI_NULL); \
112 #define tde_get_phyaddr_mmb(bufname, size, phyaddr) \ argument
114 phyaddr = cmpi_mmz_malloc(HI_NULL, bufname, size); \
115 if (phyaddr == 0) { \
117 phyaddr = 0; \
123 #define tde_flush_cached_mmb(virtaddr, phyaddr, len) \ argument
125 osal_flush_dcache_area(virtaddr, phyaddr, len); \
Dwmalloc.h58 hi_void *wgetvrt(hi_u64 phyaddr);
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
Ddrm_allocator.cpp93 DISPLAY_LOGD("phyaddr %{public}" PRIx64 "", args.phyaddr); in GetPhysicalAddr()
94 return args.phyaddr; in GetPhysicalAddr()
Dhisilicon_drm.h26 __u64 phyaddr; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/
Dhi_math_adapt.h303 __inline static hi_u32 get_low_addr(hi_u64 phyaddr) in get_low_addr() argument
305 return (hi_u32)phyaddr; in get_low_addr()
308 __inline static hi_u32 get_high_addr(hi_u64 phyaddr) in get_high_addr() argument
310 return (hi_u32)(phyaddr >> 32); in get_high_addr()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gmac/
Dsunxi-mdio.c169 static int sunxi_mdio_read(struct mii_bus *bus, int phyaddr, int phyreg) in sunxi_mdio_read() argument
176 value |= (((phyaddr << SUNXI_MDIO_PHY_ADDR_OFFSET) & (SUNXI_MDIO_PHY_ADDR)) | in sunxi_mdio_read()
198 static int sunxi_mdio_write(struct mii_bus *bus, int phyaddr, int phyreg, unsigned short data) in sunxi_mdio_write() argument
205 value |= (((phyaddr << SUNXI_MDIO_PHY_ADDR_OFFSET) & (SUNXI_MDIO_PHY_ADDR)) | in sunxi_mdio_write()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/
Dhi_math_adapt.h300 __inline static hi_u32 get_low_addr(hi_u64 phyaddr) in get_low_addr() argument
302 return (hi_u32)phyaddr; in get_low_addr()
305 __inline static hi_u32 get_high_addr(hi_u64 phyaddr) in get_high_addr() argument
307 return (hi_u32)(phyaddr >> 32); in get_high_addr()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/
Dhi_math_adapt.h300 __inline static hi_u32 get_low_addr(hi_u64 phyaddr) in get_low_addr() argument
302 return (hi_u32)phyaddr; in get_low_addr()
305 __inline static hi_u32 get_high_addr(hi_u64 phyaddr) in get_high_addr() argument
307 return (hi_u32)(phyaddr >> 32); in get_high_addr()
/device/soc/nxp/hardware/display/src/display_gralloc/
Ddrm_allocator.cpp106 DISPLAY_LOGD("phyaddr %{public}" PRIx64 "", args.phyaddr); in GetPhysicalAddr()
107 return args.phyaddr; in GetPhysicalAddr()
Dhisilicon_drm.h29 __u64 phyaddr; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dframe_check.c625 ulong phyaddr, unsigned int size) in crc32_vmap_le() argument
633 unsigned int offset = phyaddr & (~PAGE_MASK); in crc32_vmap_le()
636 flush_dcache_page(phys_to_page(phyaddr)); in crc32_vmap_le()
639 vaddr = kmap_atomic(phys_to_page(phyaddr)); in crc32_vmap_le()
641 phyaddr += tmp_size; in crc32_vmap_le()
645 vaddr = kmap_atomic(phys_to_page(phyaddr)); in crc32_vmap_le()
652 __func__, (unsigned int)phyaddr); in crc32_vmap_le()
664 vaddr = codec_mm_vmap(phyaddr, VMAP_STRIDE_SIZE); in crc32_vmap_le()
666 phyaddr += VMAP_STRIDE_SIZE; in crc32_vmap_le()
669 vaddr = codec_mm_vmap(phyaddr, size); in crc32_vmap_le()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/
Dwmalloc.c342 hi_void *wgetvrt(hi_u64 phyaddr) in wgetvrt() argument
344 if ((phyaddr < g_mem_poolphy_addr) || (phyaddr >= (g_mem_poolphy_addr + TDE_MEMPOOL_SIZE))) { in wgetvrt()
348 return (hi_void *)((hi_u8 *)g_mem_pool_vrt_addr + (phyaddr - g_mem_poolphy_addr)); in wgetvrt()
/device/soc/rockchip/rk3566/hardware/display/src/display_gralloc/
Dhisilicon_drm.h28 __u64 phyaddr; member
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
Dhisilicon_drm.h28 __u64 phyaddr; member
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
Dhisilicon_drm.h28 __u64 phyaddr; member
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
Dhisilicon_drm.h28 __u64 phyaddr; member
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
Dhisilicon_drm.h28 __u64 phyaddr; member
/device/board/isoftstone/zhiyuan/kernel/driver/include/drm/
Dsunxi_drm.h51 __u64 phyaddr; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_hdmi.h77 unsigned short phyaddr; member

12