Lines Matching refs:a3xx_gpu
65 struct a3xx_gpu *a3xx_gpu = to_a3xx_gpu(adreno_gpu); in a3xx_hw_init() local
198 if (a3xx_gpu->ocmem_hdl) { in a3xx_hw_init()
200 (unsigned int)(a3xx_gpu->ocmem_base >> 14)); in a3xx_hw_init()
315 struct a3xx_gpu *a3xx_gpu = to_a3xx_gpu(adreno_gpu); in a3xx_destroy() local
322 if (a3xx_gpu->ocmem_base) in a3xx_destroy()
323 ocmem_free(OCMEM_GRAPHICS, a3xx_gpu->ocmem_hdl); in a3xx_destroy()
326 kfree(a3xx_gpu); in a3xx_destroy()
463 struct a3xx_gpu *a3xx_gpu = NULL; in a3xx_gpu_init() local
476 a3xx_gpu = kzalloc(sizeof(*a3xx_gpu), GFP_KERNEL); in a3xx_gpu_init()
477 if (!a3xx_gpu) { in a3xx_gpu_init()
482 adreno_gpu = &a3xx_gpu->base; in a3xx_gpu_init()
502 a3xx_gpu->ocmem_hdl = ocmem_hdl; in a3xx_gpu_init()
503 a3xx_gpu->ocmem_base = ocmem_hdl->addr; in a3xx_gpu_init()
506 a3xx_gpu->ocmem_base); in a3xx_gpu_init()
526 if (a3xx_gpu) in a3xx_gpu_init()
527 a3xx_destroy(&a3xx_gpu->base.base); in a3xx_gpu_init()