Searched refs:pclk_freq (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | arb.c | 61 int mclk_freq, pclk_freq, nvclk_freq; nv04_calc_arb() local 65 pclk_freq = arb->pclk_khz; nv04_calc_arb() 86 us_p = nvclks * 1000 * 1000 / pclk_freq; nv04_calc_arb() 88 crtc_drain_rate = pclk_freq * bpp / 8; nv04_calc_arb() 97 p1 = m1 * pclk_freq / mclk_freq; nv04_calc_arb() 116 int pclk_freq, nvclk_freq, mclk_freq; nv10_calc_arb() local 123 pclk_freq = arb->pclk_khz; nv10_calc_arb() 128 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ nv10_calc_arb() 158 + pclks * 1000 * 1000 / pclk_freq; /* pclk latency */ nv10_calc_arb()
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
H A D | nv_hw.c | 247 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; nv4CalcArbitration() local 252 pclk_freq = arb->pclk_khz; nv4CalcArbitration() 293 us_p = nvclks * 1000 * 1000 / pclk_freq; nv4CalcArbitration() 295 video_drain_rate = pclk_freq * 2; nv4CalcArbitration() 296 crtc_drain_rate = pclk_freq * bpp / 8; nv4CalcArbitration() 332 crtc_drain_rate = pclk_freq * bpp / 8; nv4CalcArbitration() 342 p1 = m1 * pclk_freq / mclk_freq; nv4CalcArbitration() 421 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; nv10CalcArbitration() local 431 pclk_freq = arb->pclk_khz; /* freq in KHz */ nv10CalcArbitration() 501 us_p = pclks * 1000 * 1000 / pclk_freq; nv10CalcArbitration() 508 crtc_drain_rate = pclk_freq * bpp / 8; /* MB/s */ nv10CalcArbitration() 536 crtc_drain_rate = pclk_freq * bpp / 8; nv10CalcArbitration() 576 p1clk = m2us * pclk_freq / (1000 * 1000); nv10CalcArbitration()
|
/linux-4.1.27/drivers/video/fbdev/riva/ |
H A D | riva_hw.c | 662 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; nv4CalcArbitration() local 668 pclk_freq = arb->pclk_khz; nv4CalcArbitration() 712 us_p = nvclks*1000*1000 / pclk_freq; nv4CalcArbitration() 715 video_drain_rate = pclk_freq * 2; nv4CalcArbitration() 716 crtc_drain_rate = pclk_freq * bpp/8; nv4CalcArbitration() 747 crtc_drain_rate = pclk_freq * bpp/8; nv4CalcArbitration() 756 p1 = m1 * pclk_freq / mclk_freq; nv4CalcArbitration() 849 int mclk_freq, pclk_freq, nvclk_freq, mp_enable; nv10CalcArbitration() local 859 pclk_freq = arb->pclk_khz; /* freq in KHz */ nv10CalcArbitration() 934 us_p = pclks*1000*1000 / pclk_freq;/* nvclk latency in us */ nv10CalcArbitration() 941 vus_p = 0*1000*1000 / pclk_freq;/* pclk latency in us */ nv10CalcArbitration() 945 video_drain_rate = pclk_freq * 4; /* MB/s */ nv10CalcArbitration() 946 crtc_drain_rate = pclk_freq * bpp/8; /* MB/s */ nv10CalcArbitration() 969 crtc_drain_rate = pclk_freq * bpp/8; /* bpp * pclk/8 */ nv10CalcArbitration() 1024 p1clk = m2us * pclk_freq/(1000*1000); nv10CalcArbitration()
|
Completed in 80 milliseconds