Lines Matching defs:win
678 struct omapfb_update_window *win,
702 if (win->x >= xres || win->y >= yres ||
703 win->out_x > xres || win->out_y > yres)
710 if (win->x + win->width > xres)
711 win->width = xres - win->x;
712 if (win->y + win->height > yres)
713 win->height = yres - win->y;
714 if (win->out_x + win->out_width > xres)
715 win->out_width = xres - win->out_x;
716 if (win->out_y + win->out_height > yres)
717 win->out_height = yres - win->out_y;
718 if (!win->width || !win->height || !win->out_width || !win->out_height)
721 return fbdev->ctrl->update_window(fbi, win, callback, callback_data);
725 struct omapfb_update_window *win)
731 ret = omapfb_update_window_async(fbi, win, NULL, NULL);
741 struct omapfb_update_window win;
748 win.x = 0;
749 win.y = 0;
750 win.width = fbi->var.xres;
751 win.height = fbi->var.yres;
752 win.out_x = 0;
753 win.out_y = 0;
754 win.out_width = fbi->var.xres;
755 win.out_height = fbi->var.yres;
756 win.format = 0;
759 r = fbdev->ctrl->update_window(fbi, &win, NULL, NULL);
1034 struct omapfb_update_window win;
1036 memset(&win, 0, sizeof(win));
1037 win.width = 2;
1038 win.height = 2;
1039 win.out_width = 2;
1040 win.out_height = 2;
1041 fbdev->ctrl->update_window(fbdev->fb_info[0], &win, NULL, NULL);