Lines Matching refs:n_pipelines
65 uint32_t n_pipelines; member
141 t_data->n_pipelines = 0; in thread_init()
253 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in thread_pipeline_enable()
255 if (td->n_pipelines >= THREAD_PIPELINES_MAX) in thread_pipeline_enable()
259 td->p[td->n_pipelines] = p->p; in thread_pipeline_enable()
266 td->n_pipelines++; in thread_pipeline_enable()
334 for (i = 0; i < td->n_pipelines; i++) { in thread_pipeline_disable()
341 if (i < td->n_pipelines - 1) { in thread_pipeline_disable()
343 td->p[td->n_pipelines - 1]; in thread_pipeline_disable()
345 &td->pipeline_data[td->n_pipelines - 1]; in thread_pipeline_disable()
351 td->n_pipelines--; in thread_pipeline_disable()
421 struct pipeline_data *p = &t->pipeline_data[t->n_pipelines]; in thread_msg_handle_pipeline_enable()
424 if (t->n_pipelines >= THREAD_PIPELINES_MAX) { in thread_msg_handle_pipeline_enable()
429 t->p[t->n_pipelines] = req->pipeline_enable.p; in thread_msg_handle_pipeline_enable()
436 t->n_pipelines++; in thread_msg_handle_pipeline_enable()
448 uint32_t n_pipelines = t->n_pipelines; in thread_msg_handle_pipeline_disable() local
453 for (i = 0; i < n_pipelines; i++) { in thread_msg_handle_pipeline_disable()
459 if (i < n_pipelines - 1) { in thread_msg_handle_pipeline_disable()
461 t->p[n_pipelines - 1]; in thread_msg_handle_pipeline_disable()
463 &t->pipeline_data[n_pipelines - 1]; in thread_msg_handle_pipeline_disable()
469 t->n_pipelines--; in thread_msg_handle_pipeline_disable()
526 for (j = 0; j < t->n_pipelines; j++) in thread_main()