Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/512x/
Dmpc512x_shared.c186 static struct fsl_diu_shared_fb __attribute__ ((__aligned__(8))) diu_shared_fb; variable
197 unsigned long addr = diu_shared_fb.fb_phys & PAGE_MASK; in mpc512x_release_bootmem()
198 unsigned long size = diu_shared_fb.fb_len; in mpc512x_release_bootmem()
201 if (diu_shared_fb.in_use) { in mpc512x_release_bootmem()
208 diu_shared_fb.in_use = false; in mpc512x_release_bootmem()
255 memcpy(&diu_shared_fb.ad0, vaddr, sizeof(struct diu_ad)); in mpc512x_init_diu()
257 dst = (unsigned long)&diu_shared_fb.ad0; in mpc512x_init_diu()
263 diu_shared_fb.fb_phys = in_le32(vaddr + 4); in mpc512x_init_diu()
264 diu_shared_fb.fb_len = ((res & 0xfff0000) >> 16) * (res & 0xfff) * bpp; in mpc512x_init_diu()
265 diu_shared_fb.in_use = true; in mpc512x_init_diu()
[all …]