Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/core/
H A Dfb_defio.c51 struct fb_deferred_io_pageref *pageref; in fb_deferred_io_pageref_lookup() local
57 pageref = &info->pagerefs[pgoff]; in fb_deferred_io_pageref_lookup()
59 if (pageref->page) in fb_deferred_io_pageref_lookup()
62 pageref->page = page; in fb_deferred_io_pageref_lookup()
63 pageref->offset = pgoff << PAGE_SHIFT; in fb_deferred_io_pageref_lookup()
64 INIT_LIST_HEAD(&pageref->list); in fb_deferred_io_pageref_lookup()
67 if (fb_WARN_ON_ONCE(info, pageref->page != page)) in fb_deferred_io_pageref_lookup()
69 return pageref; in fb_deferred_io_pageref_lookup()
72 static void fb_deferred_io_pageref_clear(struct fb_deferred_io_pageref *pageref) in fb_deferred_io_pageref_clear() argument
74 struct page *page = pageref->page; in fb_deferred_io_pageref_clear()
[all …]
/linux/drivers/video/fbdev/
H A Dmetronomefb.c471 struct fb_deferred_io_pageref *pageref; in metronomefb_dpy_deferred_io() local
475 list_for_each_entry(pageref, pagereflist, list) { in metronomefb_dpy_deferred_io()
476 unsigned long pgoffset = pageref->offset >> PAGE_SHIFT; in metronomefb_dpy_deferred_io()
477 cksum = metronomefb_dpy_update_page(par, pageref->offset); in metronomefb_dpy_deferred_io()
H A Dbroadsheetfb.c936 struct fb_deferred_io_pageref *pageref; in broadsheetfb_dpy_deferred_io() local
945 list_for_each_entry(pageref, pagereflist, list) { in broadsheetfb_dpy_deferred_io()
948 y1 = pageref->offset / xres; in broadsheetfb_dpy_deferred_io()
950 } else if ((prev_offset + PAGE_SIZE) == pageref->offset) { in broadsheetfb_dpy_deferred_io()
957 y1 = pageref->offset / xres; in broadsheetfb_dpy_deferred_io()
960 prev_offset = pageref->offset; in broadsheetfb_dpy_deferred_io()
H A Dxen-fbfront.c187 struct fb_deferred_io_pageref *pageref; in xenfb_deferred_io() local
193 list_for_each_entry(pageref, pagereflist, list) { in xenfb_deferred_io()
194 beg = pageref->offset; in xenfb_deferred_io()
H A Dhyperv_fb.c417 struct fb_deferred_io_pageref *pageref; in synthvid_deferred_io() local
430 list_for_each_entry(pageref, pagereflist, list) { in synthvid_deferred_io()
431 start = pageref->offset; in synthvid_deferred_io()
H A Dsmscufx.c906 struct fb_deferred_io_pageref *pageref; in ufx_dpy_deferred_io() local
915 list_for_each_entry(pageref, pagereflist, list) { in ufx_dpy_deferred_io()
920 const int y = pageref->offset / (width * 2); in ufx_dpy_deferred_io()
H A Dudlfb.c728 struct fb_deferred_io_pageref *pageref; in dlfb_dpy_deferred_io() local
754 list_for_each_entry(pageref, pagereflist, list) { in dlfb_dpy_deferred_io()
756 &cmd, pageref->offset, PAGE_SIZE, in dlfb_dpy_deferred_io()
H A Dsh_mobile_lcdcfb.c442 struct fb_deferred_io_pageref *pageref; in sh_mobile_lcdc_sginit() local
447 list_for_each_entry(pageref, pagereflist, list) { in sh_mobile_lcdc_sginit()
448 sg_set_page(&ch->sglist[nr_pages++], pageref->page, PAGE_SIZE, 0); in sh_mobile_lcdc_sginit()
/linux/drivers/staging/fbtft/
H A Dfbtft-core.c325 struct fb_deferred_io_pageref *pageref; in fbtft_deferred_io() local
337 list_for_each_entry(pageref, pagereflist, list) { in fbtft_deferred_io()
338 y_low = pageref->offset / info->fix.line_length; in fbtft_deferred_io()
339 y_high = (pageref->offset + PAGE_SIZE - 1) / info->fix.line_length; in fbtft_deferred_io()
342 pageref->page->index, y_low, y_high); in fbtft_deferred_io()
/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c708 struct fb_deferred_io_pageref *pageref; in drm_fb_helper_deferred_io() local
713 list_for_each_entry(pageref, pagereflist, list) { in drm_fb_helper_deferred_io()
714 start = pageref->offset; in drm_fb_helper_deferred_io()