Home
last modified time | relevance | path

Searched refs:hdiv (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/media/platform/amlogic/c3/isp/
H A Dc3-isp-capture.c30 .hdiv = 1,
40 .hdiv = 2,
50 .hdiv = 2,
60 .hdiv = 1,
70 .hdiv = 1,
82 .hdiv = 1,
92 .hdiv = 1,
102 .hdiv = 1,
112 .hdiv = 1,
205 chrom_h = DIV_ROUND_UP(pix_mp->width, info->hdiv); in c3_isp_cap_wrmifx3_format()
352 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; c3_cap_try_fmt() local
[all...]
H A Dc3-isp-common.h75 * @hdiv: horizontal chroma subsampling factor of hardware
86 u8 hdiv; member
/linux/drivers/video/fbdev/core/
H A Dsvgalib.c508 u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node) in svga_set_timings() argument
514 value = (value * hmul) / hdiv; in svga_set_timings()
519 value = (value * hmul) / hdiv; in svga_set_timings()
524 value = (value * hmul) / hdiv; in svga_set_timings()
529 value = (value * hmul) / hdiv; in svga_set_timings()
534 value = (value * hmul) / hdiv; in svga_set_timings()
539 value = (value * hmul) / hdiv; in svga_set_timings()
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_capture.c100 DIV_ROUND_UP(width_aligned, info->hdiv) * in sun6i_isp_capture_buffer_configure()
136 stride_chroma = width * info->bpp[1] / info->hdiv; in sun6i_isp_capture_configure()
406 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in sun6i_isp_capture_format_prepare() local
410 DIV_ROUND_UP(width_aligned, hdiv) * in sun6i_isp_capture_format_prepare()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-resizer.c21 u32 hdiv; member
28 .hdiv = 2,
33 .hdiv = 2,
292 sink_c.width = sink_y->width / sink_yuv_info->hdiv; in rkisp1_rsz_config()
297 src_c.width = src_y.width / src_yuv_info->hdiv; in rkisp1_rsz_config()
H A Drkisp1-capture.c1246 plane->bytesperline = DIV_ROUND_UP(stride, info->hdiv) * in rkisp1_fill_pixfmt()
/linux/drivers/video/fbdev/
H A Darkfb.c614 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
704 hdiv = 1; in arkfb_set_par()
746 hdiv = 2; in arkfb_set_par()
770 hdiv = 2; in arkfb_set_par()
785 value = (hdiv * info->var.pixclock) / hmul; in arkfb_set_par()
791 svga_set_timings(par->state.vgabase, &ark_timing_regs, &(info->var), hmul, hdiv, in arkfb_set_par()
798 value = ((value * hmul / hdiv) / 8) - 5; in arkfb_set_par()
/linux/drivers/spi/
H A Dspi-aspeed-smc.c85 int (*calibrate)(struct aspeed_spi_chip *chip, u32 hdiv,
873 static int aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_calibrate() argument
880 u32 shift = (hdiv - 1) << 2; in aspeed_spi_calibrate()
1034 static int aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_ast2600_calibrate() argument
1039 u32 shift = (hdiv - 2) << 3; in aspeed_spi_ast2600_calibrate()
/linux/include/linux/
H A Dsvga.h120 void svga_set_timings(void __iomem *regbase, const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node);
/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1849 unsigned hdiv = tpg->hdownsampling[p]; in tpg_precalculate_line() local
1852 memcpy(pos, pix[p], twopixsize / hdiv); in tpg_precalculate_line()
1917 unsigned hdiv = tpg->hdownsampling[p]; \
1928 (x / hdiv) * sizeof(PIXTYPE)); \
1934 if (hdiv == 2 && tpg->hflip) { \
1939 } else if (hdiv == 2) { \
1964 pos += (tpg->hflip ? -8 : 8) / (int)hdiv; \
/linux/include/media/
H A Dv4l2-common.h518 * @hdiv: Horizontal chroma subsampling factor
530 u8 hdiv; member
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c446 unsigned int hdiv = (i == 0) ? 1 : 2; in tegra_fill_pixfmt_mp() local
457 plane->bytesperline = ALIGN(width, VDE_ATOM * 2) / hdiv; in tegra_fill_pixfmt_mp()
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-enc.c150 chroma_size = luma_size / (info->hdiv * info->vdiv); in start_encode()
1152 if (info->hdiv == 2 && info->vdiv == 1) in wave5_set_enc_openparam()
/linux/drivers/media/platform/synopsys/hdmirx/
H A Dsnps_hdmirx.c1233 width = pixm->width / finfo->hdiv; in hdmirx_set_fmt()