Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-common.c239 …{ .format = V4L2_PIX_FMT_BGR24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv in v4l2_format_info()
240 …{ .format = V4L2_PIX_FMT_RGB24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv in v4l2_format_info()
241 …{ .format = V4L2_PIX_FMT_HSV24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv in v4l2_format_info()
242 …{ .format = V4L2_PIX_FMT_BGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
243 …{ .format = V4L2_PIX_FMT_XBGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
244 …{ .format = V4L2_PIX_FMT_BGRX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
245 …{ .format = V4L2_PIX_FMT_RGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
246 …{ .format = V4L2_PIX_FMT_XRGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
247 …{ .format = V4L2_PIX_FMT_RGBX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
248 …{ .format = V4L2_PIX_FMT_HSV32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv in v4l2_format_info()
[all …]
/Linux-v5.4/drivers/cpufreq/
Ds3c2440-cpufreq.c56 unsigned int hdiv, pdiv; in s3c2440_cpufreq_calcdivs() local
76 for (hdiv = 1; hdiv < 9; hdiv++) { in s3c2440_cpufreq_calcdivs()
77 if (hdiv == 5 || hdiv == 7) in s3c2440_cpufreq_calcdivs()
78 hdiv++; in s3c2440_cpufreq_calcdivs()
80 hclk = (fclk / hdiv); in s3c2440_cpufreq_calcdivs()
85 s3c_freq_dbg("%s: hclk %lu, div %d\n", __func__, hclk, hdiv); in s3c2440_cpufreq_calcdivs()
87 if (hdiv > 8) in s3c2440_cpufreq_calcdivs()
100 pdiv *= hdiv; in s3c2440_cpufreq_calcdivs()
120 cfg->divs.h_divisor = hdiv; in s3c2440_cpufreq_calcdivs()
Ds3c2412-cpufreq.c42 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
72 hdiv = armdiv_clk / hclk_max; in s3c2412_cpufreq_calcdivs()
73 if (hdiv < 1) in s3c2412_cpufreq_calcdivs()
74 hdiv = 1; in s3c2412_cpufreq_calcdivs()
76 cfg->freq.hclk = hclk = armdiv_clk / hdiv; in s3c2412_cpufreq_calcdivs()
85 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
87 if (hdiv > 4) in s3c2412_cpufreq_calcdivs()
102 pdiv *= hdiv; in s3c2412_cpufreq_calcdivs()
106 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()
/Linux-v5.4/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()
/Linux-v5.4/drivers/video/fbdev/
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-v5.4/include/linux/
Dsvga.h120 …struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv…
/Linux-v5.4/include/media/
Dv4l2-common.h475 u8 hdiv; member
/Linux-v5.4/drivers/media/common/v4l2-tpg/
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; \