a2xx_gpu
if (!a2xx_gpu->protection_disabled) {
struct a2xx_gpu *a2xx_gpu = to_a2xx_gpu(adreno_gpu);
if (ptr[1] == 0 && !a2xx_gpu->protection_disabled) {
a2xx_gpu->protection_disabled = true;
struct a2xx_gpu *a2xx_gpu = to_a2xx_gpu(adreno_gpu);
kfree(a2xx_gpu);
struct a2xx_gpu *a2xx_gpu = NULL;
a2xx_gpu = kzalloc_obj(*a2xx_gpu);
if (!a2xx_gpu) {
adreno_gpu = &a2xx_gpu->base;
if (a2xx_gpu)
a2xx_destroy(&a2xx_gpu->base.base);
struct a2xx_gpu *a2xx_gpu = to_a2xx_gpu(adreno_gpu);
if (a2xx_gpu->protection_disabled)
#define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)