Lines Matching refs:curPU

78     picoos_uint8 curPU;  member
102 ctrl->curPU = 0; in ctrlInitialize()
153 status = ctrl->procStatus[ctrl->curPU] = ctrl->procUnit[ctrl->curPU]->step( in ctrlStep()
154 ctrl->procUnit[ctrl->curPU], mode, &puBytesOutput); in ctrlStep()
160 btype = picodata_cbGetFrontItemType(ctrl->procUnit[ctrl->curPU]->cbOut); in ctrlStep()
164 if (ctrl->curPU < ctrl->numProcUnits-1) { in ctrlStep()
166 ctrl->procStatus[ctrl->curPU + 1] = PICODATA_PU_BUSY; in ctrlStep()
181 if ( (ctrl->curPU+1 < ctrl->numProcUnits) && (PICODATA_PU_BUSY in ctrlStep()
182 == ctrl->procStatus[ctrl->curPU+1])) { in ctrlStep()
183 ctrl->curPU++; in ctrlStep()
190 if ( (ctrl->curPU+1 < ctrl->numProcUnits) && (PICODATA_PU_BUSY in ctrlStep()
191 == ctrl->procStatus[ctrl->curPU+1])) { in ctrlStep()
193 ctrl->curPU++; in ctrlStep()
194 } else if (0 == ctrl->curPU) { /* all pu's are idle */ in ctrlStep()
199 ctrl->curPU, ctrl->procStatus[ctrl->curPU])); in ctrlStep()
200 while ((ctrl->curPU > 0) && (PICODATA_PU_IDLE in ctrlStep()
201 == ctrl->procStatus[ctrl->curPU])) { in ctrlStep()
202 ctrl->curPU--; in ctrlStep()
204 ctrl->procStatus[ctrl->curPU] = PICODATA_PU_BUSY; in ctrlStep()
207 ctrl->curPU, ctrl->procStatus[ctrl->curPU])); in ctrlStep()
209 return ctrl->procStatus[ctrl->curPU]; in ctrlStep()
214 if (ctrl->curPU+1 < ctrl->numProcUnits) { /* let pu below empty buffer */ in ctrlStep()
215 ctrl->curPU++; in ctrlStep()
216 ctrl->procStatus[ctrl->curPU] = PICODATA_PU_BUSY; in ctrlStep()
220 return ctrl->procStatus[ctrl->curPU]; in ctrlStep()
466 ctrl->curPU = 0; in picoctrl_newControl()
811 return (picodata_step_result_t) ctrl->curPU; in picoctrl_getLastScheduledPU()