Lines Matching refs:run_queue
121 struct speed_queue_s *run_queue; member
147 motor->run_queue = &cur_ext_dev->speed_que; in set_motor_running_status()
148 motor->run_queue->speed_p[cur_ext_dev->length_up - 1].count = in set_motor_running_status()
151 motor->run_queue = &cur_ext_dev->one_speed_que; in set_motor_running_status()
152 motor->run_queue->speed_p[0].count = step_cnt; in set_motor_running_status()
154 motor->move_cnt = motor->run_queue->count; in set_motor_running_status()
158 for (i = 0; i < motor->run_queue->count; i++) { in set_motor_running_status()
159 move_time += (u64)motor->run_queue->speed_p[i].count * in set_motor_running_status()
160 (u64)motor->run_queue->speed_p[i].phase_interval_ns; in set_motor_running_status()
163 motor->run_queue->speed_p[i].count, in set_motor_running_status()
164 motor->run_queue->speed_p[i].phase_interval_ns); in set_motor_running_status()
593 idx = motor->run_queue->count - motor->move_cnt; in motor_timer_func()
597 motor->run_queue->speed_p[idx].phase_interval_ns * 4; in motor_timer_func()
599 motor->run_queue->speed_p[idx].phase_interval_ns * 2; in motor_timer_func()
619 idx = motor->run_queue->count - motor->move_cnt; in motor_timer_func()
623 motor->run_queue->speed_p[idx].phase_interval_ns * 4; in motor_timer_func()
625 motor->run_queue->speed_p[idx].phase_interval_ns * 2; in motor_timer_func()
645 time_cnt = ((u64)motor->run_queue->speed_p[idx].phase_interval_ns * in motor_timer_func()
646 motor->run_queue->speed_p[idx].count); in motor_timer_func()