Lines Matching refs:addr
261 int enable_write, void **addr) in gbm_map() argument
283 *addr = gbm_bo_map(bo, 0, 0, x + w, y + h, flags, &stride, &bo_data->map_data); in gbm_map()
284 ALOGV("mapped bo %p (%d, %d)-(%d, %d) at %p", bo, x, y, w, h, *addr); in gbm_map()
285 if (*addr == NULL) in gbm_map()
396 void **addr) in gralloc_gbm_bo_lock() argument
444 int err = gbm_map(handle, x, y, w, h, write, addr); in gralloc_gbm_bo_lock()
494 void *addr; in gralloc_gbm_bo_lock_ycbcr() local
499 err = gralloc_gbm_bo_lock(handle, usage, x, y, w, h, &addr); in gralloc_gbm_bo_lock_ycbcr()
508 ycbcr->y = addr; in gralloc_gbm_bo_lock_ycbcr()
509 ycbcr->cr = (unsigned char *)addr + ystride * hnd->height; in gralloc_gbm_bo_lock_ycbcr()
510 ycbcr->cb = (unsigned char *)addr + ystride * hnd->height + 1; in gralloc_gbm_bo_lock_ycbcr()
518 ycbcr->y = addr; in gralloc_gbm_bo_lock_ycbcr()
519 ycbcr->cr = (unsigned char *)addr + ystride * hnd->height; in gralloc_gbm_bo_lock_ycbcr()
520 ycbcr->cb = (unsigned char *)addr + ystride * hnd->height + cstride * hnd->height / 2; in gralloc_gbm_bo_lock_ycbcr()