Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/
H A Ds1d13xxxfb.c922 if (!s1dfb->disp_save) in s1d13xxxfb_suspend()
923 s1dfb->disp_save = kmalloc(info->fix.smem_len, GFP_KERNEL); in s1d13xxxfb_suspend()
925 if (!s1dfb->disp_save) { in s1d13xxxfb_suspend()
930 memcpy_fromio(s1dfb->disp_save, info->screen_base, info->fix.smem_len); in s1d13xxxfb_suspend()
932 s1dfb->disp_save = NULL; in s1d13xxxfb_suspend()
977 if (s1dfb->disp_save) { in s1d13xxxfb_resume()
978 memcpy_toio(info->screen_base, s1dfb->disp_save, in s1d13xxxfb_resume()
980 kfree(s1dfb->disp_save); /* XXX kmalloc()'d when? */ in s1d13xxxfb_resume()
/openbmc/linux/include/video/
H A Ds1d13xxxfb.h159 void *disp_save; /* pm saves entire screen here */ member