Lines Matching refs:clwm
663 int vpm_us, us_video, vlwm, video_fill_us, cpm_us, us_crt,clwm; in nv4CalcArbitration() local
675 clwm = 0; in nv4CalcArbitration()
738 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv4CalcArbitration()
739 clwm++; in nv4CalcArbitration()
748 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv4CalcArbitration()
749 clwm++; in nv4CalcArbitration()
751 m1 = clwm + cbs - 512; in nv4CalcArbitration()
763 if ((clwm > 511) || (vlwm > 255)) in nv4CalcArbitration()
773 if (clwm > 519) in nv4CalcArbitration()
781 if (clwm < 384) clwm = 384; in nv4CalcArbitration()
783 data = (int)(clwm); in nv4CalcArbitration()
846 int vpm_us, us_video, cpm_us, us_crt,clwm; in nv10CalcArbitration() local
861 clwm = 0; in nv10CalcArbitration()
949 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv10CalcArbitration()
950 clwm++; /* fixed point <= float_point - 1. Fixes that */ in nv10CalcArbitration()
960 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv10CalcArbitration()
961 clwm++; /* fixed point <= float_point - 1. Fixes that */ in nv10CalcArbitration()
982 clwm = 0xfff; /*Large number to fail */ in nv10CalcArbitration()
985 clwm = 1024; in nv10CalcArbitration()
997 clwm_rnd_down = ((int)clwm/8)*8; in nv10CalcArbitration()
998 if (clwm_rnd_down < clwm) in nv10CalcArbitration()
999 clwm += 8; in nv10CalcArbitration()
1001 m1 = clwm + cbs - 1024; /* Amount of overfill */ in nv10CalcArbitration()
1021 if (clwm > 1023){ /* Have some margin */ in nv10CalcArbitration()
1031 if(clwm < (1024-cbs+8)) clwm = 1024-cbs+8; in nv10CalcArbitration()
1032 data = (int)(clwm); in nv10CalcArbitration()