/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
D | i810_dvt.c | 215 static int i810fb_find_best_mode(u32 xres, u32 yres, u32 pixclock) in i810fb_find_best_mode() argument 222 if (std_modes[i].pixclock <= pixclock) in i810fb_find_best_mode() 223 diff = pixclock - std_modes[i].pixclock; in i810fb_find_best_mode() 236 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers() 248 u32 mode, pixclock; in i810fb_fill_var_timings() local 253 pixclock = 1000000000 / var->pixclock; in i810fb_fill_var_timings() 254 mode = i810fb_find_best_mode(xres, yres, pixclock); in i810fb_fill_var_timings() 259 var->pixclock = 1000000000 / std_modes[mode].pixclock; in i810fb_fill_var_timings()
|
D | i810_gtf.c | 228 u32 i, size = 0, pixclock, wm_best = 0, min, diff; in i810_get_watermark() local 262 pixclock = 1000000/var->pixclock; in i810_get_watermark() 265 if (pixclock <= wmark[i].freq) in i810_get_watermark() 266 diff = wmark[i].freq - pixclock; in i810_get_watermark() 268 diff = pixclock - wmark[i].freq; in i810_get_watermark()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
D | mpc512x_shared.c | 69 static void mpc512x_set_pixel_clock(unsigned int pixclock) in mpc512x_set_pixel_clock() argument 102 pr_debug("DIU pixclock in ps - %u\n", pixclock); in mpc512x_set_pixel_clock() 103 pixclock = (1000000000 / pixclock) * 1000; in mpc512x_set_pixel_clock() 104 pr_debug("DIU pixclock freq - %u\n", pixclock); in mpc512x_set_pixel_clock() 105 epsilon = pixclock / 20; /* pixclock * 0.05 */ in mpc512x_set_pixel_clock() 107 minpixclock = pixclock - epsilon; in mpc512x_set_pixel_clock() 108 maxpixclock = pixclock + epsilon; in mpc512x_set_pixel_clock() 136 for (offset = 0; offset <= epsilon; offset += pixclock / 64) { in mpc512x_set_pixel_clock() 137 want = pixclock - offset; in mpc512x_set_pixel_clock() 141 delta = abs(pixclock - got); in mpc512x_set_pixel_clock() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 246 unsigned int pixclock; in computeRegs() local 267 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs() 271 pixclock = 1000000000U / mt->pixclock; in computeRegs() 273 dprintk(KERN_DEBUG "Got %u ps pixclock\n", pixclock); in computeRegs() 276 do_div(piic, mt->pixclock); in computeRegs() 285 hbp = (((outd->h_b_porch + pixclock) / pixclock)) & ~1; in computeRegs() 286 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs() 287 hsl = (((outd->h_sync + pixclock) / pixclock)) & ~1; in computeRegs() 308 r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock; /* burst length */ in computeRegs() 552 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | macmodes.c | 113 "mac1", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen, 117 "mac3", 50, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 121 "mac4", 60, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 125 "mac8", 50, 768, 576, pixclock, left, right, upper, lower, hslen, vslen, 277 var->pixclock = mode->pixclock; in mac_vmode_to_var() 328 if (var->pixclock > mode->pixclock) in mac_var_to_vmode() 344 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
|
D | asiliantfb.c | 112 unsigned pixclock = *ppixclock; in asiliant_calc_dclk2() local 113 unsigned Ftarget = 1000000 * (1000000 / pixclock); in asiliant_calc_dclk2() 123 ratio = 1000000 / pixclock; in asiliant_calc_dclk2() 124 remainder = 1000000 % pixclock; in asiliant_calc_dclk2() 125 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; in asiliant_calc_dclk2() 170 *ppixclock = pixclock; in asiliant_calc_dclk2() 186 if ((p->var.xres == 640) && (p->var.yres == 480) && (p->var.pixclock == 39722)) { in asiliant_set_timing() 230 if (!var->pixclock) in asiliantfb_check_var() 233 ratio = 1000000 / var->pixclock; in asiliantfb_check_var() 234 remainder = 1000000 % var->pixclock; in asiliantfb_check_var() [all …]
|
D | da8xx-fb.c | 193 .pixclock = KHZ2PICOS(4607), 207 .pixclock = KHZ2PICOS(7833), 222 .pixclock = KHZ2PICOS(7833), 237 .pixclock = KHZ2PICOS(6400), 725 unsigned pixclock, in da8xx_fb_calc_clk_divider() argument 730 pixclock = PICOS2KHZ(pixclock) * 1000; in da8xx_fb_calc_clk_divider() 734 if (pixclock < (*lcdc_clk_rate / CLK_MAX_DIV)) { in da8xx_fb_calc_clk_divider() 736 pixclock * CLK_MAX_DIV); in da8xx_fb_calc_clk_divider() 738 } else if (pixclock > (*lcdc_clk_rate / CLK_MIN_DIV)) { in da8xx_fb_calc_clk_divider() 740 pixclock * CLK_MIN_DIV); in da8xx_fb_calc_clk_divider() [all …]
|
D | fsl-diu-fb.c | 60 .pixclock = 15385, 74 .pixclock = 79440, 88 .pixclock = 39722, 102 .pixclock = 32052, 116 .pixclock = 31747, 130 .pixclock = 25057, 144 .pixclock = 22272, 158 .pixclock = 33805, 172 .pixclock = 25000, 186 .pixclock = 31518, [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
D | fbcvt.c | 40 u32 pixclock; member 174 u32 pixclock; in fb_cvt_pixclock() local 177 pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000; in fb_cvt_pixclock() 179 pixclock = (cvt->htotal * 1000000)/cvt->hperiod; in fb_cvt_pixclock() 181 pixclock /= 250; in fb_cvt_pixclock() 182 pixclock *= 250; in fb_cvt_pixclock() 183 pixclock *= 1000; in fb_cvt_pixclock() 185 return pixclock; in fb_cvt_pixclock() 263 mode->pixclock = KHZ2PICOS(cvt->pixclock/1000); in fb_cvt_convert_to_mode() 356 cvt.pixclock = fb_cvt_pixclock(&cvt); in fb_find_mode_cvt() [all …]
|
D | fbmon.c | 395 mode->pixclock = var->pixclock; in calc_mode_timings() 545 && PICOS2KHZ(mode->pixclock) * 1000 > specs->dclkmax) { in get_std_timing() 569 mode->pixclock = PIXEL_CLOCK; in get_detailed_timing() 570 mode->pixclock /= 1000; in get_detailed_timing() 571 mode->pixclock = KHZ2PICOS(mode->pixclock); in get_detailed_timing() 720 int num_modes, hz, hscan, pixclock; in fb_get_monitor_limits() local 732 pixclock = PICOS2KHZ(modes[i].pixclock) * 1000; in fb_get_monitor_limits() 744 hscan = (pixclock + htotal / 2) / htotal; in fb_get_monitor_limits() 748 if (specs->dclkmax == 0 || specs->dclkmax < pixclock) in fb_get_monitor_limits() 749 specs->dclkmax = pixclock; in fb_get_monitor_limits() [all …]
|
D | modedb.c | 563 var->pixclock = mode->pixclock; in fb_try_mode() 854 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local 859 mode->pixclock = var->pixclock; in fb_var_to_videomode() 871 if (!var->pixclock) in fb_var_to_videomode() 874 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_var_to_videomode() 889 hfreq = pixclock/htotal; in fb_var_to_videomode() 907 var->pixclock = mode->pixclock; in fb_videomode_to_var() 931 mode1->pixclock == mode2->pixclock && in fb_mode_is_equal()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 30 unsigned long int pixclock; member 61 static const struct hdmi_msm_audio_arcs *get_arcs(unsigned long int pixclock) in get_arcs() argument 67 if (arcs->pixclock == pixclock) in get_arcs() 87 DBG("video: power_on=%d, pixclock=%lu", hdmi->power_on, hdmi->pixclock); in msm_hdmi_audio_update() 89 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update() 95 arcs = get_arcs(hdmi->pixclock); in msm_hdmi_audio_update() 98 hdmi->pixclock); in msm_hdmi_audio_update()
|
D | hdmi_phy_8960.c | 10 unsigned long int pixclock) in hdmi_phy_8960_powerup() argument 12 DBG("pixclock: %lu", pixclock); in hdmi_phy_8960_powerup()
|
D | hdmi.h | 45 unsigned long int pixclock; member 146 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock); 180 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
|
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/ |
D | video_cs5530.c | 24 long pixclock; /* ps */ member 77 min = cs5530_pll_table[0].pixclock - info->var.pixclock; in cs5530_set_dclk_frequency() 80 diff = cs5530_pll_table[i].pixclock - info->var.pixclock; in cs5530_set_dclk_frequency()
|
D | video_gx.c | 24 long pixclock; /* ps */ member 136 min = abs(pll_table[0].pixclock - info->var.pixclock); in gx_set_dclk_frequency() 138 diff = abs(pll_table[i].pixclock - info->var.pixclock); in gx_set_dclk_frequency()
|
/kernel/linux/linux-5.10/arch/arm/mach-rpc/include/mach/ |
D | acornfb.h | 10 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel) 17 if (!var->pixclock) in acornfb_valid_pixrate() 85 div = var->pixclock / 9090; /*9921*/ in acornfb_vidc20_find_rates() 133 vidc->pll_ctl = acornfb_vidc20_find_pll(var->pixclock / div); in acornfb_vidc20_find_rates()
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
D | lart.c | 35 .pixclock = 150000, .bpp = 4, 51 .pixclock = 150000, .bpp = 16, 64 .pixclock = 39721, .bpp = 16, 80 .pixclock = 63291, .bpp = 16,
|
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
D | phy-rockchip-inno-hdmi.c | 247 unsigned long pixclock; member 251 unsigned long pixclock; member 463 inno->pixclock); in inno_hdmi_phy_power_on() 530 for (; cfg->pixclock != 0; cfg++) in inno_hdmi_phy_get_pre_pll_cfg() 531 if (cfg->pixclock == rate && cfg->tmdsclock == tmdsclock) in inno_hdmi_phy_get_pre_pll_cfg() 534 if (cfg->pixclock == 0) in inno_hdmi_phy_get_pre_pll_cfg() 593 inno->pixclock = vco; in inno_hdmi_phy_rk3228_clk_recalc_rate() 595 dev_dbg(inno->dev, "%s rate %lu\n", __func__, inno->pixclock); in inno_hdmi_phy_rk3228_clk_recalc_rate() 608 for (; cfg->pixclock != 0; cfg++) in inno_hdmi_phy_rk3228_clk_round_rate() 609 if (cfg->pixclock == rate && !cfg->fracdiv) in inno_hdmi_phy_rk3228_clk_round_rate() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | lpd270.c | 292 .pixclock = 150000, 314 .pixclock = 50000, 336 .pixclock = 150000, 358 .pixclock = 25000, 380 .pixclock = 25000, 402 .pixclock = 150000,
|
D | zylonite.c | 131 .pixclock = 110000, 145 .pixclock = 50000, 165 .pixclock = 158000, 178 .pixclock = 39700,
|
/kernel/linux/linux-5.10/include/linux/amba/ |
D | clcd.h | 70 unsigned long pixclock; member 239 regs->pixclock = var->pixclock; in clcdfb_decode() 275 CHECK(pixclock) || in clcdfb_check()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_dtv_encoder.c | 16 unsigned long int pixclock; member 53 mdp4_dtv_encoder->pixclock = mode->clock * 1000; in mdp4_dtv_encoder_mode_set() 55 DBG("pixclock=%lu", mdp4_dtv_encoder->pixclock); in mdp4_dtv_encoder_mode_set() 128 unsigned long pc = mdp4_dtv_encoder->pixclock; in mdp4_dtv_encoder_enable()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
D | p1022_rdk.c | 42 void p1022rdk_set_pixel_clock(unsigned int pixclock) in p1022rdk_set_pixel_clock() argument 66 do_div(temp, pixclock); in p1022rdk_set_pixel_clock()
|
D | t1042rdb_diu.c | 76 static void t1042rdb_set_pixel_clock(unsigned int pixclock) in t1042rdb_set_pixel_clock() argument 101 do_div(temp, pixclock); in t1042rdb_set_pixel_clock()
|