Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/v4l2-core/
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()
241 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
242 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
243 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
244 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
245 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
246 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
247 …es = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
[all …]
/linux-6.6.21/drivers/video/fbdev/core/
Dsvgalib.c507 u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node) in svga_set_timings() argument
513 value = (value * hmul) / hdiv; in svga_set_timings()
518 value = (value * hmul) / hdiv; in svga_set_timings()
523 value = (value * hmul) / hdiv; in svga_set_timings()
528 value = (value * hmul) / hdiv; in svga_set_timings()
533 value = (value * hmul) / hdiv; in svga_set_timings()
538 value = (value * hmul) / hdiv; in svga_set_timings()
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/
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-6.6.21/drivers/video/fbdev/
Darkfb.c613 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
696 hdiv = 1; in arkfb_set_par()
738 hdiv = 2; in arkfb_set_par()
762 hdiv = 2; in arkfb_set_par()
777 value = (hdiv * info->var.pixclock) / hmul; in arkfb_set_par()
783 svga_set_timings(par->state.vgabase, &ark_timing_regs, &(info->var), hmul, hdiv, in arkfb_set_par()
790 value = ((value * hmul / hdiv) / 8) - 5; in arkfb_set_par()
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c21 u32 hdiv; member
28 .hdiv = 2,
33 .hdiv = 2,
329 sink_c.width = sink_y.width / sink_yuv_info->hdiv; in rkisp1_rsz_config()
338 src_c.width = src_y.width / src_yuv_info->hdiv; in rkisp1_rsz_config()
Drkisp1-capture.c1117 plane->bytesperline = DIV_ROUND_UP(stride, info->hdiv) * in rkisp1_fill_pixfmt()
/linux-6.6.21/drivers/spi/
Dspi-aspeed-smc.c85 int (*calibrate)(struct aspeed_spi_chip *chip, u32 hdiv,
890 static int aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_calibrate() argument
897 u32 shift = (hdiv - 1) << 2; in aspeed_spi_calibrate()
1051 static int aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_ast2600_calibrate() argument
1056 u32 shift = (hdiv - 2) << 3; in aspeed_spi_ast2600_calibrate()
/linux-6.6.21/include/linux/
Dsvga.h120 …struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv…
/linux-6.6.21/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1814 unsigned hdiv = tpg->hdownsampling[p]; in tpg_precalculate_line() local
1817 memcpy(pos, pix[p], twopixsize / hdiv); in tpg_precalculate_line()
1882 unsigned hdiv = tpg->hdownsampling[p]; \
1893 (x / hdiv) * sizeof(PIXTYPE)); \
1899 if (hdiv == 2 && tpg->hflip) { \
1904 } else if (hdiv == 2) { \
1929 pos += (tpg->hflip ? -8 : 8) / (int)hdiv; \
/linux-6.6.21/include/media/
Dv4l2-common.h496 u8 hdiv; member
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-csi/
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-6.6.21/drivers/media/platform/nvidia/tegra-vde/
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-6.6.21/drivers/media/usb/uvc/
Duvc_driver.c287 unsigned int div = info->hdiv * info->vdiv; in uvc_parse_format()