Home
last modified time | relevance | path

Searched refs:mmb_info (Results 1 - 8 of 8) sorted by relevance

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Ddrv_mmz_ioctl.h25 struct mmb_info { struct
67 #define IOC_MMB_ALLOC _IOWR('m', 10, struct mmb_info)
68 #define IOC_MMB_FREE _IOW('m', 12, struct mmb_info)
69 #define IOC_MMB_GET _IOW('m', 13, struct mmb_info)
70 #define IOC_MMB_PUT _IOW('m', 15, struct mmb_info)
72 #define IOC_MMB_USER_REMAP _IOWR('m', 20, struct mmb_info)
73 #define IOC_MMB_USER_REMAP_CACHED _IOWR('m', 21, struct mmb_info)
74 #define IOC_MMB_USER_UNMAP _IOWR('m', 22, struct mmb_info)
75 #define IOC_MMB_USER_GETPHYADDR _IOWR('m', 23, struct mmb_info)
77 #define IOC_MMB_USER_CMA_MAPTO_SMMU _IOWR('m', 25, struct mmb_info)
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
H A Dosal_mmz.h155 struct mmb_info { struct
197 #define IOC_MMB_ALLOC _IOWR('m', 10, struct mmb_info)
198 #define IOC_MMB_ATTR _IOR('m', 11, struct mmb_info)
199 #define IOC_MMB_FREE _IOW('m', 12, struct mmb_info)
200 #define IOC_MMB_ALLOC_V2 _IOWR('m', 13, struct mmb_info)
202 #define IOC_MMB_USER_REMAP _IOWR('m', 20, struct mmb_info)
203 #define IOC_MMB_USER_REMAP_CACHED _IOWR('m', 21, struct mmb_info)
204 #define IOC_MMB_USER_UNMAP _IOWR('m', 22, struct mmb_info)
206 #define IOC_MMB_VIRT_GET_PHYS _IOWR('m', 23, struct mmb_info)
208 #define IOC_MMB_SYS_FLUSH_CACHE _IOW('m', 24, struct mmb_info)
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dosal_mmz.h152 struct mmb_info { struct
194 #define IOC_MMB_ALLOC _IOWR('m', 10, struct mmb_info)
195 #define IOC_MMB_ATTR _IOR('m', 11, struct mmb_info)
196 #define IOC_MMB_FREE _IOW('m', 12, struct mmb_info)
197 #define IOC_MMB_ALLOC_V2 _IOWR('m', 13, struct mmb_info)
199 #define IOC_MMB_USER_REMAP _IOWR('m', 20, struct mmb_info)
200 #define IOC_MMB_USER_REMAP_CACHED _IOWR('m', 21, struct mmb_info)
201 #define IOC_MMB_USER_UNMAP _IOWR('m', 22, struct mmb_info)
203 #define IOC_MMB_VIRT_GET_PHYS _IOWR('m', 23, struct mmb_info)
205 #define IOC_MMB_SYS_FLUSH_CACHE _IOW('m', 24, struct mmb_info)
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/
H A Dmmz_userdev.c90 static int mmz_flush_dcache_mmb(struct mmb_info *pmi) in mmz_flush_dcache_mmb()
164 struct mmb_info *pmi) in ioctl_mmb_alloc()
167 struct mmb_info *new_mmbinfo = NULL; in ioctl_mmb_alloc()
188 error_mmz("alloc mmb_info failed!\n"); in ioctl_mmb_alloc()
206 static int ioctl_mmb_alloc_v2(struct file *file, struct mmb_info *pmi) in ioctl_mmb_alloc_v2()
209 struct mmb_info *new_mmbinfo = NULL; in ioctl_mmb_alloc_v2()
230 error_mmz("alloc mmb_info failed!\n"); in ioctl_mmb_alloc_v2()
248 static struct mmb_info *get_mmbinfo(unsigned long addr, in get_mmbinfo()
251 struct mmb_info *p = NULL; in get_mmbinfo()
265 static struct mmb_info *get_mmbinfo_saf
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dosal_mmz.h153 struct mmb_info { struct
195 #define IOC_MMB_ALLOC _IOWR('m', 10, struct mmb_info)
196 #define IOC_MMB_ATTR _IOR('m', 11, struct mmb_info)
197 #define IOC_MMB_FREE _IOW('m', 12, struct mmb_info)
198 #define IOC_MMB_ALLOC_V2 _IOWR('m', 13, struct mmb_info)
200 #define IOC_MMB_USER_REMAP _IOWR('m', 20, struct mmb_info)
201 #define IOC_MMB_USER_REMAP_CACHED _IOWR('m', 21, struct mmb_info)
202 #define IOC_MMB_USER_UNMAP _IOWR('m', 22, struct mmb_info)
204 #define IOC_MMB_VIRT_GET_PHYS _IOWR('m', 23, struct mmb_info)
212 #define IOC_MMB_TEST_CACHE _IOW('t', 11, struct mmb_info)
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_mmz_compat.h55 struct mmb_info;
58 extern int mmz_flush_dcache_mmb(const struct mmb_info *pmi);
60 extern int mmz_userdev_ioctl_m(struct inode *inode, struct file *file, unsigned int cmd, struct mmb_info *pmi);
H A Ddrv_mmz_compat.c28 static int get_meminfo_from_user(const struct compat_mmb_info *compat_mmb, struct mmb_info *mmi) in get_meminfo_from_user()
61 static int put_meminfo_to_user(struct compat_mmb_info *compat_mmb, const struct mmb_info *mmi) in put_meminfo_to_user()
92 static long compat_mmz_userdev_normal(struct file *filp, unsigned int cmd, struct mmb_info *mmi) in compat_mmz_userdev_normal()
129 struct mmb_info mmi; in compat_mmz_userdev_ioctl_m()
183 struct mmb_info mmi; in compat_mmz_userdev_ioctl_c()
H A Ddrv_mmz_userdev.c61 int mmz_flush_dcache_mmb(const struct mmb_info *mi) in mmz_flush_dcache_mmb()
172 static int ioctl_mmb_alloc(const struct file *file, unsigned int iocmd, struct mmb_info *mi) in ioctl_mmb_alloc()
203 static int ioctl_mmb_user_unmap(const struct file *file, unsigned int iocmd, struct mmb_info *mi);
205 static int ioctl_mmb_free(const struct file *file, unsigned int iocmd, const struct mmb_info *mi) in ioctl_mmb_free()
234 static int ioctl_mmb_get(const struct file *file, unsigned int iocmd, const struct mmb_info *mi) in ioctl_mmb_get()
253 static int ioctl_mmb_put(const struct file *file, unsigned int iocmd, const struct mmb_info *mi) in ioctl_mmb_put()
272 static int ioctl_mmb_query_ref(const struct file *file, unsigned int iocmd, struct mmb_info *mi) in ioctl_mmb_query_ref()
295 static int ioctl_mmb_query_source(const struct file *file, unsigned int iocmd, struct mmb_info *mi) in ioctl_mmb_query_source()
324 static int ioctl_dma_buf_export_fd(const struct file *file, unsigned int iocmd, struct mmb_info *mi) in ioctl_dma_buf_export_fd()
348 static int ioctl_mmb_get_pgtable_addr(const struct file *file, unsigned int iocmd, struct mmb_info *m
[all...]

Completed in 7 milliseconds