Lines Matching +full:20 +full:w
92 const short w = var->xres_virtual; in fill_fb() local
100 DBG("fill_fb %dx%d, line_len %d bytes\n", w, h, fbi->fix.line_length); in fill_fb()
103 for (x = 0; x < w; x++) { in fill_fb()
104 if (x < 20 && y < 20) in fill_fb()
106 else if (x < 20 && (y > 20 && y < h - 20)) in fill_fb()
108 else if (y < 20 && (x > 20 && x < w - 20)) in fill_fb()
110 else if (x > w - 20 && (y > 20 && y < h - 20)) in fill_fb()
112 else if (y > h - 20 && (x > 20 && x < w - 20)) in fill_fb()
114 else if (x == 20 || x == w - 20 || in fill_fb()
115 y == 20 || y == h - 20) in fill_fb()
117 else if (x == y || w - x == h - y) in fill_fb()
119 else if (w - x == y || x == h - y) in fill_fb()
121 else if (x > 20 && y > 20 && x < w - 20 && y < h - 20) { in fill_fb()
122 int t = x * 3 / w; in fill_fb()
699 u32 w, h; in check_fb_var() local
700 display->driver->get_dimensions(display, &w, &h); in check_fb_var()
701 var->width = DIV_ROUND_CLOSEST(w, 1000); in check_fb_var()
1442 u16 w, h; in omapfb_alloc_fbmem_display() local
1444 display->driver->get_resolution(display, &w, &h); in omapfb_alloc_fbmem_display()
1447 size = max(omap_vrfb_min_phys_size(w, h, bytespp), in omapfb_alloc_fbmem_display()
1448 omap_vrfb_min_phys_size(h, w, bytespp)); in omapfb_alloc_fbmem_display()
1451 w * h * bytespp, size); in omapfb_alloc_fbmem_display()
1453 size = w * h * bytespp; in omapfb_alloc_fbmem_display()
1659 u16 w, h; in omapfb_auto_update_work() local
1676 dssdrv->get_resolution(dssdev, &w, &h); in omapfb_auto_update_work()
1677 dssdrv->update(dssdev, 0, 0, w, h); in omapfb_auto_update_work()
1681 freq = 20; in omapfb_auto_update_work()
1749 u16 w, h; in omapfb_fb_init() local
1752 display->driver->get_resolution(display, &w, &h); in omapfb_fb_init()
1757 var->yres = w; in omapfb_fb_init()
1759 var->xres = w; in omapfb_fb_init()
2321 u16 w, h; in omapfb_init_display() local
2338 dssdrv->get_resolution(dssdev, &w, &h); in omapfb_init_display()
2339 r = dssdrv->update(dssdev, 0, 0, w, h); in omapfb_init_display()
2584 u16 w, h; in omapfb_probe() local
2586 def_display->driver->get_resolution(def_display, &w, &h); in omapfb_probe()
2589 def_display->name, w, h); in omapfb_probe()