/linux-6.6.21/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 405 dev_dbg(dev, " pixclk: %lu KHz\n", PICOS2KHZ(var->pixclock)); in atmel_lcdfb_check_var() 409 if (PICOS2KHZ(var->pixclock) > clk_value_khz) { in atmel_lcdfb_check_var() 410 dev_err(dev, "%lu KHz pixel clock is too fast\n", PICOS2KHZ(var->pixclock)); in atmel_lcdfb_check_var() 585 value = DIV_ROUND_UP(clk_value_khz, PICOS2KHZ(info->var.pixclock)); in atmel_lcdfb_set_par() 599 PICOS2KHZ(info->var.pixclock)); in atmel_lcdfb_set_par()
|
D | sstfb.c | 362 if (sst_calc_pll(PICOS2KHZ(var->pixclock), &freq, &par->pll)) { in sstfb_check_var() 364 PICOS2KHZ(var->pixclock)); in sstfb_check_var() 494 sst_calc_pll(PICOS2KHZ(info->var.pixclock), &freq, &par->pll); in sstfb_set_par() 521 info->var.xres, info->var.yres, PICOS2KHZ(info->var.pixclock)); in sstfb_set_par()
|
D | pm3fb.c | 828 unsigned long pixclock = PICOS2KHZ(info->var.pixclock); in pm3fb_write_mode() 1001 if (PICOS2KHZ(var->pixclock) > PM3_MAX_PIXCLOCK) { in pm3fb_check_var() 1003 PICOS2KHZ(var->pixclock)); in pm3fb_check_var()
|
D | clps711x-fb.c | 131 pps = clk_get_rate(cfb->clk) / (PICOS2KHZ(info->var.pixclock) * 1000); in clps711x_fb_set_par()
|
D | tdfxfb.c | 499 if (PICOS2KHZ(var->pixclock) > par->max_pixclock) { in tdfxfb_check_var() 501 PICOS2KHZ(var->pixclock)); in tdfxfb_check_var() 565 freq = PICOS2KHZ(info->var.pixclock); in tdfxfb_set_par()
|
D | pm2fb.c | 626 if (PICOS2KHZ(var->pixclock) > PM2_MAX_PIXCLOCK) { in pm2fb_check_var() 628 PICOS2KHZ(var->pixclock)); in pm2fb_check_var() 718 pixclock = PICOS2KHZ(info->var.pixclock); in pm2fb_set_par()
|
D | ep93xx-fb.c | 274 clk_set_rate(fbi->clk, 1000 * PICOS2KHZ(info->var.pixclock)); in ep93xxfb_set_par()
|
D | cirrusfb.c | 482 freq = PICOS2KHZ(var->pixclock ? : 1); in cirrusfb_check_pixclock() 492 while ((freq = PICOS2KHZ(var->pixclock)) > maxclock) in cirrusfb_check_pixclock() 837 freq = PICOS2KHZ(var->pixclock); in cirrusfb_set_par_foo()
|
D | neofb.c | 589 if (!var->pixclock || PICOS2KHZ(var->pixclock) > par->maxClock) in neofb_check_var() 947 neoCalcVCLK(info, par, PICOS2KHZ(info->var.pixclock)); in neofb_set_par()
|
D | tridentfb.c | 1102 if (PICOS2KHZ(var->pixclock) > ramdac) in tridentfb_check_var() 1300 vclk = PICOS2KHZ(info->var.pixclock); in tridentfb_set_par()
|
D | amba-clcd.c | 724 / PICOS2KHZ(fb->panel->mode.pixclock); in clcdfb_of_init_display()
|
D | da8xx-fb.c | 730 pixclock = PICOS2KHZ(pixclock) * 1000; in da8xx_fb_calc_clk_divider()
|
D | au1200fb.c | 1070 pixclock = max((u32)(PICOS2KHZ(var->pixclock) * 1000), fbi->monspecs.dclkmin); in au1200fb_fb_check_var()
|
D | s3fb.c | 594 rv = svga_compute_pll(&s3_pll, PICOS2KHZ(var->pixclock), &m, &n, &r, in s3fb_check_var()
|
D | smscufx.c | 621 clk_pixel = PICOS2KHZ(pixclock) * 1000; in ufx_config_pix_clk()
|
D | uvesafb.c | 1259 crtc->pixel_clock = PICOS2KHZ(info->var.pixclock) * 1000; in uvesafb_set_par()
|
/linux-6.6.21/drivers/video/fbdev/core/ |
D | fbmon.c | 545 && PICOS2KHZ(mode->pixclock) * 1000 > specs->dclkmax) { in get_std_timing() 733 pixclock = PICOS2KHZ(modes[i].pixclock) * 1000; in fb_get_monitor_limits() 1281 timings->dclk = PICOS2KHZ(val) * 1000; in fb_get_mode() 1461 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_validate_mode()
|
D | modedb.c | 878 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_var_to_videomode()
|
/linux-6.6.21/include/uapi/linux/ |
D | fb.h | 239 #define PICOS2KHZ(a) (1000000000UL/(a)) macro
|
/linux-6.6.21/drivers/video/fbdev/via/ |
D | dvi.c | 169 if (maxPixelClock && PICOS2KHZ(var->pixclock) / 1000 > maxPixelClock) { in viafb_dvi_set_mode()
|
D | lcd.c | 549 clock = PICOS2KHZ(panel_crt_table->pixclock) * 1000; in viafb_lcd_set_mode()
|
D | hw.c | 1492 viafb_set_vclock(PICOS2KHZ(var->pixclock) * 1000, iga); in viafb_fill_crtc_timing()
|
D | viafbdev.c | 182 return PICOS2KHZ(var->pixclock) * 1000 / (htotal * vtotal); in get_var_refresh()
|
/linux-6.6.21/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 601 clock = PICOS2KHZ(var->pixclock); in vmlfb_check_var_locked() 803 clock = PICOS2KHZ(var->pixclock); in vmlfb_set_par_locked()
|
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 2059 timings->pixelclock = PICOS2KHZ(var->pixclock) * 1000; in omapfb_mode_to_timings() 2211 t->pixelclock = PICOS2KHZ(m->pixclock) * 1000; in fb_videomode_to_omap_timings()
|