Lines Matching refs:a4xx_gpu
139 struct a4xx_gpu *a4xx_gpu = to_a4xx_gpu(adreno_gpu); in a4xx_hw_init() local
191 (unsigned int)(a4xx_gpu->ocmem_base >> 14)); in a4xx_hw_init()
315 struct a4xx_gpu *a4xx_gpu = to_a4xx_gpu(adreno_gpu); in a4xx_destroy() local
322 if (a4xx_gpu->ocmem_base) in a4xx_destroy()
323 ocmem_free(OCMEM_GRAPHICS, a4xx_gpu->ocmem_hdl); in a4xx_destroy()
326 kfree(a4xx_gpu); in a4xx_destroy()
547 struct a4xx_gpu *a4xx_gpu = NULL; in a4xx_gpu_init() local
560 a4xx_gpu = kzalloc(sizeof(*a4xx_gpu), GFP_KERNEL); in a4xx_gpu_init()
561 if (!a4xx_gpu) { in a4xx_gpu_init()
566 adreno_gpu = &a4xx_gpu->base; in a4xx_gpu_init()
586 a4xx_gpu->ocmem_hdl = ocmem_hdl; in a4xx_gpu_init()
587 a4xx_gpu->ocmem_base = ocmem_hdl->addr; in a4xx_gpu_init()
590 a4xx_gpu->ocmem_base); in a4xx_gpu_init()
610 if (a4xx_gpu) in a4xx_gpu_init()
611 a4xx_destroy(&a4xx_gpu->base.base); in a4xx_gpu_init()