Home
last modified time | relevance | path

Searched refs:hstep (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/video/fbdev/
H A Dcontrolfb.c424 int cmode, piped_diff, hstep; in control_var_to_par() local
477 hstep = 31 >> par->cmode; in control_var_to_par()
478 par->xres = (var->xres + hstep) & ~hstep; in control_var_to_par()
479 par->vxres = (var->xres_virtual + hstep) & ~hstep; in control_var_to_par()
480 par->xoffset = (var->xoffset + hstep) & ~hstep; in control_var_to_par()
673 unsigned int xoffset, hstep; in controlfb_pan_display() local
681 hstep = 0x1f >> par->cmode; in controlfb_pan_display()
682 xoffset = (var->xoffset + hstep) & ~hstep; in controlfb_pan_display()
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_vi_scaler.c871 u32 hstep, u32 vstep, in sun8i_vi_scaler_set_coeff() argument
887 offset = sun8i_vi_scaler_coef_index(hstep) * in sun8i_vi_scaler_set_coeff()
900 offset = sun8i_vi_scaler_coef_index(hstep) * in sun8i_vi_scaler_set_coeff()
/linux/drivers/media/platform/sunxi/sun8i-di/
H A Dsun8i-di.c67 unsigned int hstep, vstep; in deinterlace_device_run() local
157 hstep = (ctx->src_fmt.width << 16) / ctx->dst_fmt.width; in deinterlace_device_run()
159 deinterlace_write(dev, DEINTERLACE_CH0_HORZ_FACT, hstep); in deinterlace_device_run()
161 deinterlace_write(dev, DEINTERLACE_CH1_HORZ_FACT, hstep); in deinterlace_device_run()