Lines Matching refs:v_total
113 unsigned int v_total) in calc_duration_in_us_from_v_total() argument
116 (unsigned int)(div64_u64(((unsigned long long)(v_total) in calc_duration_in_us_from_v_total()
127 unsigned int v_total; in mod_freesync_calc_v_total_from_refresh() local
134 v_total = div64_u64(div64_u64(((unsigned long long)( in mod_freesync_calc_v_total_from_refresh()
139 if (v_total < stream->timing.v_total) { in mod_freesync_calc_v_total_from_refresh()
140 ASSERT(v_total < stream->timing.v_total); in mod_freesync_calc_v_total_from_refresh()
141 v_total = stream->timing.v_total; in mod_freesync_calc_v_total_from_refresh()
144 return v_total; in mod_freesync_calc_v_total_from_refresh()
152 unsigned int v_total = 0; in calc_v_total_from_duration() local
164 v_total = div_u64((unsigned long long)duration_in_us in calc_v_total_from_duration()
168 v_total = div64_u64(div64_u64(((unsigned long long)( in calc_v_total_from_duration()
174 if (v_total < stream->timing.v_total) { in calc_v_total_from_duration()
175 ASSERT(v_total < stream->timing.v_total); in calc_v_total_from_duration()
176 v_total = stream->timing.v_total; in calc_v_total_from_duration()
179 return v_total; in calc_v_total_from_duration()
187 unsigned int v_total = 0; in update_v_total_for_static_ramp() local
244 v_total = div64_u64(div64_u64(((unsigned long long)( in update_v_total_for_static_ramp()
249 if (v_total < stream->timing.v_total) in update_v_total_for_static_ramp()
250 v_total = stream->timing.v_total; in update_v_total_for_static_ramp()
252 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp()
253 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp()
1067 in_out_vrr->adjust.v_total_min = stream->timing.v_total; in mod_freesync_build_vrr_params()
1068 in_out_vrr->adjust.v_total_max = stream->timing.v_total; in mod_freesync_build_vrr_params()
1119 in_out_vrr->adjust.v_total_min = stream->timing.v_total; in mod_freesync_build_vrr_params()
1120 in_out_vrr->adjust.v_total_max = stream->timing.v_total; in mod_freesync_build_vrr_params()
1122 in_out_vrr->adjust.v_total_min = stream->timing.v_total; in mod_freesync_build_vrr_params()
1123 in_out_vrr->adjust.v_total_max = stream->timing.v_total; in mod_freesync_build_vrr_params()
1125 in_out_vrr->adjust.v_total_min = stream->timing.v_total; in mod_freesync_build_vrr_params()
1126 in_out_vrr->adjust.v_total_max = stream->timing.v_total; in mod_freesync_build_vrr_params()
1155 in_out_vrr->adjust.v_total_min = stream->timing.v_total; in mod_freesync_build_vrr_params()
1156 in_out_vrr->adjust.v_total_max = stream->timing.v_total; in mod_freesync_build_vrr_params()
1340 unsigned int total = stream->timing.h_total * stream->timing.v_total; in mod_freesync_calc_nominal_field_rate()