Lines Matching full:base
111 hnd->base = ump_mapped_pointer_get((ump_handle)hnd->ump_mem_handle); in gralloc_register_buffer()
113 if (0 != hnd->base) in gralloc_register_buffer()
182 hnd->base = mappedAddress + hnd->offset; in gralloc_register_buffer()
216 void *base = (void *)hnd->base; in unmap_buffer() local
219 if (munmap(base, size) < 0) in unmap_buffer()
221 AERR("Could not munmap base:%p size:%lu '%s'", base, (unsigned long)size, strerror(errno)); in unmap_buffer()
234 hnd->base = 0; in unmap_buffer()
319 *vaddr = (void *)hnd->base; in gralloc_lock()
361 ycbcr->y = (void *)hnd->base; in gralloc_lock_ycbcr()
362 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
363 ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
374 ycbcr->y = (void *)hnd->base; in gralloc_lock_ycbcr()
376 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2)); in gralloc_lock_ycbcr()
377 …ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2) + cstrid… in gralloc_lock_ycbcr()
387 ycbcr->y = (void *)hnd->base; in gralloc_lock_ycbcr()
388 ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
389 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
425 …now((ump_handle)hnd->ump_mem_handle, UMP_MSYNC_CLEAN_AND_INVALIDATE, (void *)hnd->base, hnd->size); in gralloc_unlock()
512 base.common.tag = HARDWARE_MODULE_TAG; in private_module_t()
514 base.common.version_major = GRALLOC_MODULE_API_VERSION_0_3; in private_module_t()
516 base.common.version_major = GRALLOC_MODULE_API_VERSION_0_2; in private_module_t()
518 base.common.version_minor = 0; in private_module_t()
519 base.common.id = GRALLOC_HARDWARE_MODULE_ID; in private_module_t()
520 base.common.name = "Graphics Memory Allocator Module"; in private_module_t()
521 base.common.author = "ARM Ltd."; in private_module_t()
522 base.common.methods = &gralloc_module_methods; in private_module_t()
523 base.common.dso = NULL; in private_module_t()
524 INIT_ZERO(base.common.reserved); in private_module_t()
526 base.registerBuffer = gralloc_register_buffer; in private_module_t()
527 base.unregisterBuffer = gralloc_unregister_buffer; in private_module_t()
528 base.lock = gralloc_lock; in private_module_t()
529 base.unlock = gralloc_unlock; in private_module_t()
530 base.perform = NULL; in private_module_t()
531 base.lock_ycbcr = gralloc_lock_ycbcr; in private_module_t()
532 base.getTransportSize = NULL; in private_module_t()
533 base.validateBufferSize = NULL; in private_module_t()
535 base.lockAsync = gralloc_lock_async; in private_module_t()
536 base.unlockAsync = gralloc_unlock_async; in private_module_t()
537 base.lockAsync_ycbcr = gralloc_lock_async_ycbcr; in private_module_t()
539 INIT_ZERO(base.reserved_proc); in private_module_t()