Searched refs:ivtv_window (Results 1 – 1 of 1) sorted by relevance
237 static int ivtvfb_set_display_window(struct ivtv *itv, struct v4l2_rect *ivtv_window) in ivtvfb_set_display_window() argument242 if ((ivtv_window->height > osd_height_limit) || (ivtv_window->width > IVTV_OSD_MAX_WIDTH)) in ivtvfb_set_display_window()246 if (ivtv_window->top + ivtv_window->height > osd_height_limit) { in ivtvfb_set_display_window()248 ivtv_window->top, ivtv_window->height); in ivtvfb_set_display_window()249 ivtv_window->top = osd_height_limit - ivtv_window->height; in ivtvfb_set_display_window()252 if (ivtv_window->left + ivtv_window->width > IVTV_OSD_MAX_WIDTH) { in ivtvfb_set_display_window()254 ivtv_window->left, ivtv_window->width); in ivtvfb_set_display_window()255 ivtv_window->left = IVTV_OSD_MAX_WIDTH - ivtv_window->width; in ivtvfb_set_display_window()259 write_reg((ivtv_window->top << 16) | ivtv_window->left, 0x02a04); in ivtvfb_set_display_window()262 …write_reg(((ivtv_window->top+ivtv_window->height) << 16) | (ivtv_window->left+ivtv_window->width),… in ivtvfb_set_display_window()[all …]