Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/platforms/512x/
Dmpc512x_shared.c168 static struct fsl_diu_shared_fb __attribute__ ((__aligned__(8))) diu_shared_fb; variable
179 unsigned long addr = diu_shared_fb.fb_phys & PAGE_MASK; in mpc512x_release_bootmem()
180 unsigned long size = diu_shared_fb.fb_len; in mpc512x_release_bootmem()
183 if (diu_shared_fb.in_use) { in mpc512x_release_bootmem()
190 diu_shared_fb.in_use = false; in mpc512x_release_bootmem()
237 memcpy(&diu_shared_fb.ad0, vaddr, sizeof(struct diu_ad)); in mpc512x_init_diu()
239 dst = (unsigned long)&diu_shared_fb.ad0; in mpc512x_init_diu()
245 diu_shared_fb.fb_phys = in_le32(vaddr + 4); in mpc512x_init_diu()
246 diu_shared_fb.fb_len = ((res & 0xfff0000) >> 16) * (res & 0xfff) * bpp; in mpc512x_init_diu()
247 diu_shared_fb.in_use = true; in mpc512x_init_diu()
[all …]