Home
last modified time | relevance | path

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

/drivers/gpu/ipu-v3/
Dipu-cpmem.c95 struct ipu_cpmem *cpmem = ch->ipu->cpmem_priv; in ipu_get_cpmem() local
97 return cpmem->base + ch->num; in ipu_get_cpmem()
954 struct ipu_cpmem *cpmem; in ipu_cpmem_init() local
956 cpmem = devm_kzalloc(dev, sizeof(*cpmem), GFP_KERNEL); in ipu_cpmem_init()
957 if (!cpmem) in ipu_cpmem_init()
960 ipu->cpmem_priv = cpmem; in ipu_cpmem_init()
962 spin_lock_init(&cpmem->lock); in ipu_cpmem_init()
963 cpmem->base = devm_ioremap(dev, base, SZ_128K); in ipu_cpmem_init()
964 if (!cpmem->base) in ipu_cpmem_init()
968 base, cpmem->base); in ipu_cpmem_init()
[all …]
DMakefile4 imx-ipu-v3-objs := ipu-common.o ipu-cpmem.o ipu-csi.o ipu-dc.o ipu-di.o \