Lines Matching defs:win
672 struct omapfb_update_window *win,
696 if (win->x >= xres || win->y >= yres ||
697 win->out_x > xres || win->out_y > yres)
704 if (win->x + win->width > xres)
705 win->width = xres - win->x;
706 if (win->y + win->height > yres)
707 win->height = yres - win->y;
708 if (win->out_x + win->out_width > xres)
709 win->out_width = xres - win->out_x;
710 if (win->out_y + win->out_height > yres)
711 win->out_height = yres - win->out_y;
712 if (!win->width || !win->height || !win->out_width || !win->out_height)
715 return fbdev->ctrl->update_window(fbi, win, callback, callback_data);
720 struct omapfb_update_window *win)
726 ret = omapfb_update_window_async(fbi, win, NULL, NULL);
736 struct omapfb_update_window win;
743 win.x = 0;
744 win.y = 0;
745 win.width = fbi->var.xres;
746 win.height = fbi->var.yres;
747 win.out_x = 0;
748 win.out_y = 0;
749 win.out_width = fbi->var.xres;
750 win.out_height = fbi->var.yres;
751 win.format = 0;
754 r = fbdev->ctrl->update_window(fbi, &win, NULL, NULL);
1029 struct omapfb_update_window win;
1031 memset(&win, 0, sizeof(win));
1032 win.width = 2;
1033 win.height = 2;
1034 win.out_width = 2;
1035 win.out_height = 2;
1036 fbdev->ctrl->update_window(fbdev->fb_info[0], &win, NULL, NULL);