Home
last modified time | relevance | path

Searched refs:PICOS2KHZ (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/video/fbdev/
Datmel_lcdfb.c425 dev_dbg(dev, " pixclk: %lu KHz\n", PICOS2KHZ(var->pixclock)); in atmel_lcdfb_check_var()
429 if (PICOS2KHZ(var->pixclock) > clk_value_khz) { in atmel_lcdfb_check_var()
430 dev_err(dev, "%lu KHz pixel clock is too fast\n", PICOS2KHZ(var->pixclock)); in atmel_lcdfb_check_var()
605 value = DIV_ROUND_UP(clk_value_khz, PICOS2KHZ(info->var.pixclock)); in atmel_lcdfb_set_par()
619 PICOS2KHZ(info->var.pixclock)); in atmel_lcdfb_set_par()
Dsstfb.c362 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()
Dpm3fb.c828 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()
Dclps711x-fb.c131 pps = clk_get_rate(cfb->clk) / (PICOS2KHZ(info->var.pixclock) * 1000); in clps711x_fb_set_par()
Dtdfxfb.c499 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()
Dpm2fb.c626 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()
Dep93xx-fb.c274 clk_set_rate(fbi->clk, 1000 * PICOS2KHZ(info->var.pixclock)); in ep93xxfb_set_par()
Dcirrusfb.c482 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()
Dmx3fb.c845 (u32) (PICOS2KHZ(fbi->var.pixclock) * 1000UL)); in __set_par()
848 (PICOS2KHZ(fbi->var.pixclock)) * 1000UL, in __set_par()
Dneofb.c589 if (!var->pixclock || PICOS2KHZ(var->pixclock) > par->maxClock) in neofb_check_var()
947 neoCalcVCLK(info, par, PICOS2KHZ(info->var.pixclock)); in neofb_set_par()
Dtridentfb.c1102 if (PICOS2KHZ(var->pixclock) > ramdac) in tridentfb_check_var()
1300 vclk = PICOS2KHZ(info->var.pixclock); in tridentfb_set_par()
Damba-clcd.c725 / PICOS2KHZ(fb->panel->mode.pixclock); in clcdfb_of_init_display()
Dda8xx-fb.c730 pixclock = PICOS2KHZ(pixclock) * 1000; in da8xx_fb_calc_clk_divider()
Ds3fb.c594 rv = svga_compute_pll(&s3_pll, PICOS2KHZ(var->pixclock), &m, &n, &r, in s3fb_check_var()
Dau1200fb.c1067 pixclock = max((u32)(PICOS2KHZ(var->pixclock) * 1000), fbi->monspecs.dclkmin); in au1200fb_fb_check_var()
Dsmscufx.c621 clk_pixel = PICOS2KHZ(pixclock) * 1000; in ufx_config_pix_clk()
Duvesafb.c1259 crtc->pixel_clock = PICOS2KHZ(info->var.pixclock) * 1000; in uvesafb_set_par()
/linux-6.1.9/drivers/video/fbdev/core/
Dfbmon.c545 && 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()
Dmodedb.c869 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_var_to_videomode()
/linux-6.1.9/include/uapi/linux/
Dfb.h239 #define PICOS2KHZ(a) (1000000000UL/(a)) macro
/linux-6.1.9/drivers/video/fbdev/via/
Ddvi.c169 if (maxPixelClock && PICOS2KHZ(var->pixclock) / 1000 > maxPixelClock) { in viafb_dvi_set_mode()
Dlcd.c549 clock = PICOS2KHZ(panel_crt_table->pixclock) * 1000; in viafb_lcd_set_mode()
Dhw.c1492 viafb_set_vclock(PICOS2KHZ(var->pixclock) * 1000, iga); in viafb_fill_crtc_timing()
/linux-6.1.9/drivers/video/fbdev/vermilion/
Dvermilion.c601 clock = PICOS2KHZ(var->pixclock); in vmlfb_check_var_locked()
803 clock = PICOS2KHZ(var->pixclock); in vmlfb_set_par_locked()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c2060 timings->pixelclock = PICOS2KHZ(var->pixclock) * 1000; in omapfb_mode_to_timings()
2212 t->pixelclock = PICOS2KHZ(m->pixclock) * 1000; in fb_videomode_to_omap_timings()

12