Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-common.c238 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
239 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
240 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
241 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
242 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
243 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
244 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
245 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
246 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
247 …L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, in v4l2_format_info()
[all …]
/drivers/cpufreq/
Ds3c2440-cpufreq.c69 unsigned int hdiv, pdiv; in s3c2440_cpufreq_calcdivs() local
89 for (hdiv = 1; hdiv < 9; hdiv++) { in s3c2440_cpufreq_calcdivs()
90 if (hdiv == 5 || hdiv == 7) in s3c2440_cpufreq_calcdivs()
91 hdiv++; in s3c2440_cpufreq_calcdivs()
93 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs()
98 s3c_freq_dbg("%s: hclk %lu, div %d\n", __func__, hclk, hdiv); in s3c2440_cpufreq_calcdivs()
100 if (hdiv > 8) in s3c2440_cpufreq_calcdivs()
113 pdiv *= hdiv; in s3c2440_cpufreq_calcdivs()
133 cfg->divs.h_divisor = hdiv; in s3c2440_cpufreq_calcdivs()
Ds3c2412-cpufreq.c51 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
81 hdiv = armdiv_clk / hclk_max; in s3c2412_cpufreq_calcdivs()
82 if (hdiv < 1) in s3c2412_cpufreq_calcdivs()
83 hdiv = 1; in s3c2412_cpufreq_calcdivs()
85 cfg->freq.hclk = hclk = armdiv_clk / hdiv; in s3c2412_cpufreq_calcdivs()
94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
96 if (hdiv > 4) in s3c2412_cpufreq_calcdivs()
111 pdiv *= hdiv; in s3c2412_cpufreq_calcdivs()
115 cfg->divs.h_divisor = hdiv * armdiv; in s3c2412_cpufreq_calcdivs()
Ds3c2410-cpufreq.c46 unsigned int hdiv, pdiv; in s3c2410_cpufreq_calcdivs() local
57 hdiv = (fclk > cfg->max.hclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs()
58 hclk = fclk / hdiv; in s3c2410_cpufreq_calcdivs()
73 pdiv *= hdiv; in s3c2410_cpufreq_calcdivs()
77 cfg->divs.h_divisor = hdiv; in s3c2410_cpufreq_calcdivs()
/drivers/video/fbdev/core/
Dsvgalib.c512 u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node) in svga_set_timings() argument
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()
543 value = (value * hmul) / hdiv; in svga_set_timings()
/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()
/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.c1095 plane->bytesperline = DIV_ROUND_UP(stride, info->hdiv) * in rkisp1_fill_pixfmt()
/drivers/spi/
Dspi-aspeed-smc.c85 int (*calibrate)(struct aspeed_spi_chip *chip, u32 hdiv,
892 static int aspeed_spi_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_calibrate() argument
899 u32 shift = (hdiv - 1) << 2; in aspeed_spi_calibrate()
1053 static int aspeed_spi_ast2600_calibrate(struct aspeed_spi_chip *chip, u32 hdiv, in aspeed_spi_ast2600_calibrate() argument
1058 u32 shift = (hdiv - 2) << 3; in aspeed_spi_ast2600_calibrate()
/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; \
/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()
/drivers/media/usb/uvc/
Duvc_driver.c285 unsigned int div = info->hdiv * info->vdiv; in uvc_parse_format()