Home
last modified time | relevance | path

Searched refs:cached_addr (Results 1 – 2 of 2) sorted by relevance

/external/minigbm/
Dmediatek.c22 void *cached_addr; member
97 priv->cached_addr = calloc(1, bo->total_size); in mediatek_bo_map()
100 addr = priv->cached_addr; in mediatek_bo_map()
111 free(priv->cached_addr); in mediatek_bo_unmap()
123 memcpy(priv->cached_addr, priv->gem_addr, bo->total_size); in mediatek_bo_invalidate()
133 memcpy(priv->gem_addr, priv->cached_addr, bo->total_size); in mediatek_bo_flush()
Drockchip.c22 void *cached_addr; member
261 priv->cached_addr = calloc(1, bo->total_size); in rockchip_bo_map()
264 addr = priv->cached_addr; in rockchip_bo_map()
275 free(priv->cached_addr); in rockchip_bo_unmap()
287 memcpy(priv->cached_addr, priv->gem_addr, bo->total_size); in rockchip_bo_invalidate()
297 memcpy(priv->gem_addr, priv->cached_addr, bo->total_size); in rockchip_bo_flush()