Home
last modified time | relevance | path

Searched refs:h_inc (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-hw.c32 u16 h_inc; /* Horizontal increment in 6.10 format */ member
333 static int bdisp_hw_get_hv_inc(struct bdisp_ctx *ctx, u16 *h_inc, u16 *v_inc) in bdisp_hw_get_hv_inc() argument
342 if (bdisp_hw_get_inc(src_w, dst_w, h_inc) || in bdisp_hw_get_hv_inc()
393 if (bdisp_hw_get_hv_inc(ctx, &c->h_inc, &c->v_inc)) { in bdisp_hw_get_op_cfg()
402 if ((c->h_inc != (1 << 10)) || (c->v_inc != (1 << 10))) in bdisp_hw_get_op_cfg()
469 u16 h_inc, v_inc, yh_inc, yv_inc; in bdisp_hw_build_node() local
645 h_inc = cfg->h_inc; in bdisp_hw_build_node()
649 h_inc *= 2; in bdisp_hw_build_node()
653 h_inc /= 2; in bdisp_hw_build_node()
656 node->rsf = v_inc << 16 | h_inc; in bdisp_hw_build_node()
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_legacy_tv.c431 u16 p1, p2, h_inc; in radeon_legacy_tv_init_restarts() local
517 h_inc = (u16)((int)(const_ptr->hor_resolution * 4096 * NTSC_TV_CLOCK_T) / in radeon_legacy_tv_init_restarts()
520 h_inc = (u16)((int)(const_ptr->hor_resolution * 4096 * PAL_TV_CLOCK_T) / in radeon_legacy_tv_init_restarts()
524 ((u32)h_inc << RADEON_H_INC_SHIFT); in radeon_legacy_tv_init_restarts()
526 DRM_DEBUG_KMS("compute_restart: h_size = %d h_inc = %d\n", tv_dac->h_size, h_inc); in radeon_legacy_tv_init_restarts()
/linux-4.4.14/drivers/video/fbdev/
Dauo_k190x.c297 int h_inc; in auok190xfb_dpy_deferred_io() local
322 h_inc = DIV_ROUND_UP(PAGE_SIZE , line_length); in auok190xfb_dpy_deferred_io()
325 threshold = par->consecutive_threshold / h_inc; in auok190xfb_dpy_deferred_io()
334 h = h_inc; in auok190xfb_dpy_deferred_io()
337 h += h_inc * (cur->index - prev_index); in auok190xfb_dpy_deferred_io()
344 h = h_inc; in auok190xfb_dpy_deferred_io()
Dbroadsheetfb.c939 int h_inc; in broadsheetfb_dpy_deferred_io() local
944 h_inc = DIV_ROUND_UP(PAGE_SIZE , xres); in broadsheetfb_dpy_deferred_io()
951 h = h_inc; in broadsheetfb_dpy_deferred_io()
954 h += h_inc; in broadsheetfb_dpy_deferred_io()
960 h = h_inc; in broadsheetfb_dpy_deferred_io()