Lines Matching refs:win

680 				struct omapfb_update_window *win,  in omapfb_update_window_async()  argument
704 if (win->x >= xres || win->y >= yres || in omapfb_update_window_async()
705 win->out_x > xres || win->out_y > yres) in omapfb_update_window_async()
712 if (win->x + win->width > xres) in omapfb_update_window_async()
713 win->width = xres - win->x; in omapfb_update_window_async()
714 if (win->y + win->height > yres) in omapfb_update_window_async()
715 win->height = yres - win->y; in omapfb_update_window_async()
716 if (win->out_x + win->out_width > xres) in omapfb_update_window_async()
717 win->out_width = xres - win->out_x; in omapfb_update_window_async()
718 if (win->out_y + win->out_height > yres) in omapfb_update_window_async()
719 win->out_height = yres - win->out_y; in omapfb_update_window_async()
720 if (!win->width || !win->height || !win->out_width || !win->out_height) in omapfb_update_window_async()
723 return fbdev->ctrl->update_window(fbi, win, callback, callback_data); in omapfb_update_window_async()
727 struct omapfb_update_window *win) in omapfb_update_win() argument
733 ret = omapfb_update_window_async(fbi, win, NULL, NULL); in omapfb_update_win()
743 struct omapfb_update_window win; in omapfb_update_full_screen() local
750 win.x = 0; in omapfb_update_full_screen()
751 win.y = 0; in omapfb_update_full_screen()
752 win.width = fbi->var.xres; in omapfb_update_full_screen()
753 win.height = fbi->var.yres; in omapfb_update_full_screen()
754 win.out_x = 0; in omapfb_update_full_screen()
755 win.out_y = 0; in omapfb_update_full_screen()
756 win.out_width = fbi->var.xres; in omapfb_update_full_screen()
757 win.out_height = fbi->var.yres; in omapfb_update_full_screen()
758 win.format = 0; in omapfb_update_full_screen()
761 r = fbdev->ctrl->update_window(fbi, &win, NULL, NULL); in omapfb_update_full_screen()
1036 struct omapfb_update_window win; in omapfb_write_first_pixel() local
1038 memset(&win, 0, sizeof(win)); in omapfb_write_first_pixel()
1039 win.width = 2; in omapfb_write_first_pixel()
1040 win.height = 2; in omapfb_write_first_pixel()
1041 win.out_width = 2; in omapfb_write_first_pixel()
1042 win.out_height = 2; in omapfb_write_first_pixel()
1043 fbdev->ctrl->update_window(fbdev->fb_info[0], &win, NULL, NULL); in omapfb_write_first_pixel()