summaryrefslogtreecommitdiff
path: root/kernel-headers/linux/msm_ion.h
blob: 64f24206e30eb8d682cc4ddaeed1ee7d6b7043ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ***   To edit the content of this header, modify the corresponding
 ***   source file (e.g. under external/kernel-headers/original/) then
 ***   run bionic/libc/kernel/tools/update_all.py
 ***
 ***   Any manual change here will be lost the next time this script will
 ***   be run. You've been warned!
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _LINUX_MSM_ION_H
#define _LINUX_MSM_ION_H
#include <uapi/linux/msm_ion.h>
#define ION_IOMMU_UNMAP_DELAYED 1
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define ION_UNSECURE_DELAYED 1
struct ion_cp_heap_pdata {
 enum ion_permission_type permission_type;
 unsigned int align;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 ion_phys_addr_t secure_base;
 size_t secure_size;
 int is_cma;
 enum ion_fixed_position fixed_position;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 int iommu_map_all;
 int iommu_2x_map_domain;
 int (*request_region)(void *);
 int (*release_region)(void *);
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 void *(*setup_region)(void);
 enum ion_memory_types memory_type;
 int allow_nonsecure_alloc;
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
struct ion_co_heap_pdata {
 int adjacent_mem_id;
 unsigned int align;
 enum ion_fixed_position fixed_position;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 int (*request_region)(void *);
 int (*release_region)(void *);
 void *(*setup_region)(void);
 enum ion_memory_types memory_type;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#endif