Searched refs:pclk_freq (Results 1 – 4 of 4) sorted by relevance
/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()
|
/drivers/gpio/ |
D | gpio-ftgpio010.c | 163 unsigned long pclk_freq; in ftgpio_gpio_set_config() local 181 pclk_freq = clk_get_rate(g->clk); in ftgpio_gpio_set_config() 182 deb_div = DIV_ROUND_CLOSEST(pclk_freq, arg); in ftgpio_gpio_set_config() 189 deb_div, (pclk_freq/deb_div)); in ftgpio_gpio_set_config()
|
/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 …]
|
/drivers/video/fbdev/riva/ |
D | riva_hw.c | 661 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv4CalcArbitration() local 666 pclk_freq = arb->pclk_khz; in nv4CalcArbitration() 708 us_p = nvclks*1000*1000 / pclk_freq; in nv4CalcArbitration() 711 video_drain_rate = pclk_freq * 2; in nv4CalcArbitration() 712 crtc_drain_rate = pclk_freq * bpp/8; in nv4CalcArbitration() 743 crtc_drain_rate = pclk_freq * bpp/8; in nv4CalcArbitration() 752 p1 = m1 * pclk_freq / mclk_freq; in nv4CalcArbitration() 843 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; in nv10CalcArbitration() local 853 pclk_freq = arb->pclk_khz; /* freq in KHz */ in nv10CalcArbitration() 923 us_p = pclks*1000*1000 / pclk_freq;/* nvclk latency in us */ in nv10CalcArbitration() [all …]
|