Lines Matching refs:win
52 .win = CCDC_WIN_VGA,
63 .win = CCDC_WIN_PAL,
294 ccdc_setwin(¶ms->win, params->frm_fmt, 2); in ccdc_config_ycbcr()
312 regw(((params->win.width * 2 + 31) & ~0x1f), CCDC_HSIZE_OFF); in ccdc_config_ycbcr()
414 ccdc_setwin(¶ms->win, params->frm_fmt, CCDC_PPC_RAW); in ccdc_config_raw()
448 val = ((params->win.left & CCDC_FMT_HORZ_FMTSPH_MASK) << in ccdc_config_raw()
450 (params->win.width & CCDC_FMT_HORZ_FMTLNH_MASK); in ccdc_config_raw()
454 val = (params->win.top & CCDC_FMT_VERT_FMTSLV_MASK) in ccdc_config_raw()
457 val |= (params->win.height) & CCDC_FMT_VERT_FMTLNV_MASK; in ccdc_config_raw()
459 val |= (params->win.height >> 1) & CCDC_FMT_VERT_FMTLNV_MASK; in ccdc_config_raw()
462 params->win.height); in ccdc_config_raw()
475 regw((params->win.width + CCDC_32BYTE_ALIGN_VAL) & in ccdc_config_raw()
479 regw(((params->win.width * CCDC_TWO_BYTES_PER_PIXEL) + in ccdc_config_raw()
506 val = (((params->win.height - 1) & CCDC_VP_OUT_VERT_NUM_MASK)) in ccdc_config_raw()
510 ((((params->win.height >> CCDC_INTERLACED_HEIGHT_SHIFT) - in ccdc_config_raw()
514 val |= ((((params->win.width))) & CCDC_VP_OUT_HORZ_NUM_MASK) in ccdc_config_raw()
516 val |= (params->win.left) & CCDC_VP_OUT_HORZ_ST_MASK; in ccdc_config_raw()
608 static int ccdc_set_image_window(struct v4l2_rect *win) in ccdc_set_image_window() argument
611 ccdc_cfg.bayer.win = *win; in ccdc_set_image_window()
613 ccdc_cfg.ycbcr.win = *win; in ccdc_set_image_window()
617 static void ccdc_get_image_window(struct v4l2_rect *win) in ccdc_get_image_window() argument
620 *win = ccdc_cfg.bayer.win; in ccdc_get_image_window()
622 *win = ccdc_cfg.ycbcr.win; in ccdc_get_image_window()
634 len = ccdc_cfg.bayer.win.width; in ccdc_get_line_length()
636 len = ccdc_cfg.bayer.win.width * 2; in ccdc_get_line_length()
638 len = ccdc_cfg.ycbcr.win.width * 2; in ccdc_get_line_length()