Searched refs:mappedAddress (Results 1 – 3 of 3) sorted by relevance
/device/linaro/hikey/gralloc/ |
D | gralloc_module.cpp | 140 unsigned char *mappedAddress; in gralloc_register_buffer() local 173 …mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in gralloc_register_buffer() 175 if (MAP_FAILED == mappedAddress) in gralloc_register_buffer() 182 hnd->base = mappedAddress + hnd->offset; in gralloc_register_buffer()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_ion.cpp | 719 unsigned char *mappedAddress; in mali_gralloc_ion_map() local 735 …mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in mali_gralloc_ion_map() 737 if (MAP_FAILED == mappedAddress) in mali_gralloc_ion_map() 744 hnd->base = (void *)(uintptr_t(mappedAddress) + hnd->offset); in mali_gralloc_ion_map()
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_ion.cpp | 720 unsigned char *mappedAddress; in mali_gralloc_ion_map() local 736 …mappedAddress = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_f… in mali_gralloc_ion_map() 738 if (MAP_FAILED == mappedAddress) in mali_gralloc_ion_map() 745 hnd->base = (void *)(uintptr_t(mappedAddress) + hnd->offset); in mali_gralloc_ion_map()
|