Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
A 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()
378 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt_mp() local
387 DIV_ROUND_UP(aligned_width, hdiv) * in v4l2_fill_pixfmt_mp()
392 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt_mp() local
402 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv); in v4l2_fill_pixfmt_mp()
432 unsigned int hdiv = (i == 0) ? 1 : info->hdiv; in v4l2_fill_pixfmt() local
[all …]
/linux/drivers/cpufreq/
A 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()
A 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()
A 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()
/linux/drivers/video/fbdev/core/
A 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()
/linux/drivers/video/fbdev/
A Darkfb.c617 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
700 hdiv = 1; in arkfb_set_par()
742 hdiv = 2; in arkfb_set_par()
766 hdiv = 2; in arkfb_set_par()
781 ark_set_pixclock(info, (hdiv * info->var.pixclock) / hmul); in arkfb_set_par()
782 svga_set_timings(par->state.vgabase, &ark_timing_regs, &(info->var), hmul, hdiv, in arkfb_set_par()
789 value = ((value * hmul / hdiv) / 8) - 5; in arkfb_set_par()
/linux/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-resizer.c21 u32 hdiv; member
28 .hdiv = 2,
33 .hdiv = 2,
426 sink_c.width = sink_y.width / sink_yuv_info->hdiv; in rkisp1_rsz_config()
435 src_c.width = src_y.width / src_yuv_info->hdiv; in rkisp1_rsz_config()
A Drkisp1-capture.c1096 plane->bytesperline = DIV_ROUND_UP(stride, info->hdiv) * in rkisp1_fill_pixfmt()
/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/drivers/media/common/v4l2-tpg/
A Dv4l2-tpg-core.c1808 unsigned hdiv = tpg->hdownsampling[p]; in tpg_precalculate_line() local
1811 memcpy(pos, pix[p], twopixsize / hdiv); in tpg_precalculate_line()
1876 unsigned hdiv = tpg->hdownsampling[p]; \
1887 (x / hdiv) * sizeof(PIXTYPE)); \
1893 if (hdiv == 2 && tpg->hflip) { \
1898 } else if (hdiv == 2) { \
1923 pos += (tpg->hflip ? -8 : 8) / (int)hdiv; \
/linux/include/media/
A Dv4l2-common.h493 u8 hdiv; member
/linux/drivers/media/usb/uvc/
A Duvc_driver.c565 unsigned int div = info->hdiv * info->vdiv; in uvc_parse_format()

Completed in 46 milliseconds