Home
last modified time | relevance | path

Searched refs:mappedAddress (Results 1 – 9 of 9) sorted by relevance

/aosp12/hardware/qcom/display/msm8960/libgralloc/
H A Dmapper.cpp61 void *mappedAddress; in gralloc_map() local
66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
68 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
75 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map()
76 mappedAddress = MAP_FAILED; in gralloc_map()
78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
80 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
86 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
/aosp12/hardware/qcom/display/msm8084/libgralloc/
H A Dmapper.cpp62 void *mappedAddress; in gralloc_map() local
67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
69 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map()
77 mappedAddress = MAP_FAILED; in gralloc_map()
79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
81 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
87 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
/aosp12/hardware/qcom/display/msm8226/libgralloc/
H A Dmapper.cpp62 void *mappedAddress; in gralloc_map() local
67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
69 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
76 hnd->base = uint64_t(mappedAddress) + hnd->offset; in gralloc_map()
77 mappedAddress = MAP_FAILED; in gralloc_map()
79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
81 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
87 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dmapper.cpp62 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
65 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
69 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
90 void *mappedAddress = MAP_FAILED; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
105 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/aosp12/hardware/qcom/display/msm8909/libgralloc/
H A Dmapper.cpp62 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
65 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
69 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
90 void *mappedAddress = MAP_FAILED; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
105 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/aosp12/hardware/qcom/display/msm8994/libgralloc/
H A Dmapper.cpp64 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
67 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
69 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
71 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
76 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
92 void *mappedAddress = MAP_FAILED; in gralloc_map() local
99 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
101 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
107 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/aosp12/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp44 void* mappedAddress = mmap(0, size, in gralloc_map() local
46 if (mappedAddress == MAP_FAILED) { in gralloc_map()
50 hnd->base = uintptr_t(mappedAddress) + hnd->offset; in gralloc_map()
/aosp12/hardware/qcom/display/msm8996/libgralloc/
H A Dmapper.cpp63 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
66 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
68 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
70 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
75 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
91 void *mappedAddress = MAP_FAILED; in gralloc_map() local
98 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
100 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
106 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/aosp12/hardware/google/gchips/gralloc4/src/allocator/
H A Dmali_gralloc_ion.cpp716 unsigned char *mappedAddress = in mali_gralloc_ion_map() local
720 if (MAP_FAILED == mappedAddress) in mali_gralloc_ion_map()
736 hnd->bases[fidx] = uintptr_t(mappedAddress); in mali_gralloc_ion_map()