Lines Matching defs:divisor
1089 DRI2BufferPtr back, CARD64 *target_msc, CARD64 divisor,
1140 if (divisor == 0 &&
1158 * If divisor is zero, or current_msc is smaller than target_msc
1162 if (divisor == 0 || current_msc < *target_msc) {
1190 "divisor 0 get vblank counter failed: %s\n",
1205 * and we need to queue an event that will satisfy the divisor/remainder
1213 request_msc = current_msc - (current_msc % divisor) +
1220 * seq % divisor == remainder, so we need to wait for the next time
1228 request_msc += divisor;
1315 CARD64 divisor, CARD64 remainder)
1352 * If divisor is zero, or current_msc is smaller than target_msc,
1356 if (divisor == 0 || current_msc < target_msc) {
1395 * so we queue an event that will satisfy the divisor/remainder equation.
1400 request_msc = current_msc - (current_msc % divisor) +
1405 * seq % divisor == remainder, so we need to wait for the next time
1408 if ((current_msc % divisor) >= remainder)
1409 request_msc += divisor;