Lines Matching refs:newwheel
501 signed char newwheel;
562 newwheel = (*dev->ring_buffer)[next_tail].cmd[6];
579 ((newwheel > 0 && oldwheel > 0) ||
580 (newwheel < 0 && oldwheel < 0)) &&
609 newwheel += oldwheel;
610 if (oldwheel > 0 && !(newwheel > 0)) {
611 newwheel = 0x7f;
614 if (oldwheel < 0 && !(newwheel < 0)) {
615 newwheel = 0x80;
620 newwheel;