Searched refs:pclk_freq (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 59 int mclk_freq, pclk_freq, nvclk_freq; in nv04_calc_arb() local 63 pclk_freq = arb->pclk_khz; in nv04_calc_arb() 82 us_p = nvclks * 1000 * 1000 / pclk_freq; in nv04_calc_arb() 84 crtc_drain_rate = pclk_freq * bpp / 8; in nv04_calc_arb() 93 p1 = m1 * pclk_freq / mclk_freq; in nv04_calc_arb() 112 int pclk_freq, nvclk_freq, mclk_freq; in nv10_calc_arb() local 119 pclk_freq = arb->pclk_khz; in nv10_calc_arb() 124 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ in nv10_calc_arb() 154 + pclks * 1000 * 1000 / pclk_freq; /* pclk latency */ in nv10_calc_arb()
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-ftgpio010.c | 164 unsigned long pclk_freq; in ftgpio_gpio_set_config() local 182 pclk_freq = clk_get_rate(g->clk); in ftgpio_gpio_set_config() 183 deb_div = DIV_ROUND_CLOSEST(pclk_freq, arg); in ftgpio_gpio_set_config() 190 deb_div, (pclk_freq/deb_div)); in ftgpio_gpio_set_config()
|
/Linux-v5.10/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 247 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv4CalcArbitration() local 252 pclk_freq = arb->pclk_khz; in nv4CalcArbitration() 293 us_p = nvclks * 1000 * 1000 / pclk_freq; in nv4CalcArbitration() 295 video_drain_rate = pclk_freq * 2; in nv4CalcArbitration() 296 crtc_drain_rate = pclk_freq * bpp / 8; in nv4CalcArbitration() 332 crtc_drain_rate = pclk_freq * bpp / 8; in nv4CalcArbitration() 342 p1 = m1 * pclk_freq / mclk_freq; in nv4CalcArbitration() 421 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv10CalcArbitration() local 431 pclk_freq = arb->pclk_khz; /* freq in KHz */ in nv10CalcArbitration() 501 us_p = pclks * 1000 * 1000 / pclk_freq; in nv10CalcArbitration() [all …]
|
/Linux-v5.10/drivers/video/fbdev/riva/ |
D | riva_hw.c | 662 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv4CalcArbitration() local 668 pclk_freq = arb->pclk_khz; in nv4CalcArbitration() 712 us_p = nvclks*1000*1000 / pclk_freq; in nv4CalcArbitration() 715 video_drain_rate = pclk_freq * 2; in nv4CalcArbitration() 716 crtc_drain_rate = pclk_freq * bpp/8; in nv4CalcArbitration() 747 crtc_drain_rate = pclk_freq * bpp/8; in nv4CalcArbitration() 756 p1 = m1 * pclk_freq / mclk_freq; in nv4CalcArbitration() 849 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv10CalcArbitration() local 859 pclk_freq = arb->pclk_khz; /* freq in KHz */ in nv10CalcArbitration() 934 us_p = pclks*1000*1000 / pclk_freq;/* nvclk latency in us */ in nv10CalcArbitration() [all …]
|