Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
A Dv4l2-common.c238 …es = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
239 …es = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
240 …es = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
256 …es = 1, .comp_planes = 1, .bpp = { 6, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
257 …es = 1, .comp_planes = 1, .bpp = { 6, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
399 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt_mp() local
408 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt_mp()
413 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt_mp() local
423 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv) / info->bpp_div[i]; in v4l2_fill_pixfmt_mp()
453 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt() local
[all …]
/linux/drivers/video/fbdev/core/
A Dsvgalib.c514 u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node) in svga_set_timings() argument
520 value = (value * hmul) / hdiv; in svga_set_timings()
525 value = (value * hmul) / hdiv; in svga_set_timings()
530 value = (value * hmul) / hdiv; in svga_set_timings()
535 value = (value * hmul) / hdiv; in svga_set_timings()
540 value = (value * hmul) / hdiv; in svga_set_timings()
545 value = (value * hmul) / hdiv; in svga_set_timings()
/linux/drivers/staging/media/sunxi/sun6i-isp/
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()
408 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in sun6i_isp_capture_format_prepare() local
412 DIV_ROUND_UP(width_aligned, hdiv) * in sun6i_isp_capture_format_prepare()
/linux/drivers/media/platform/rockchip/rkisp1/
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()
A Drkisp1-capture.c1250 plane->bytesperline = DIV_ROUND_UP(stride, info->hdiv) * in rkisp1_fill_pixfmt()
/linux/drivers/video/fbdev/
A Darkfb.c613 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
703 hdiv = 1; in arkfb_set_par()
745 hdiv = 2; in arkfb_set_par()
769 hdiv = 2; in arkfb_set_par()
784 value = (hdiv * info->var.pixclock) / hmul; in arkfb_set_par()
790 svga_set_timings(par->state.vgabase, &ark_timing_regs, &(info->var), hmul, hdiv, in arkfb_set_par()
797 value = ((value * hmul / hdiv) / 8) - 5; in arkfb_set_par()
/linux/drivers/spi/
A Dspi-aspeed-smc.c85 int (*calibrate)(struct aspeed_spi_chip *chip, u32 hdiv,
878 static int aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_calibrate() argument
885 u32 shift = (hdiv - 1) << 2; in aspeed_spi_calibrate()
1039 static int aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_ast2600_calibrate() argument
1044 u32 shift = (hdiv - 2) << 3; in aspeed_spi_ast2600_calibrate()
/linux/include/linux/
A Dsvga.h120 …struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv…
/linux/include/media/
A Dv4l2-common.h496 u8 hdiv; member
/linux/drivers/media/common/v4l2-tpg/
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/drivers/media/platform/sunxi/sun6i-csi/
A Dsun6i_csi_capture.c365 address += info->bpp[1] * DIV_ROUND_UP(width, info->hdiv) * in sun6i_csi_capture_buffer_configure()
427 chroma_line = width * info->bpp[1] / info->hdiv; in sun6i_csi_capture_configure()
/linux/drivers/media/platform/nvidia/tegra-vde/
A Dv4l2.c448 unsigned int hdiv = (i == 0) ? 1 : 2; in tegra_fill_pixfmt_mp() local
459 plane->bytesperline = ALIGN(width, VDE_ATOM * 2) / hdiv; in tegra_fill_pixfmt_mp()
/linux/drivers/media/usb/uvc/
A Duvc_driver.c288 unsigned int div = info->hdiv * info->vdiv; in uvc_parse_format()

Completed in 52 milliseconds