• Home
  • Raw
  • Download

Lines Matching refs:qe

82 		struct sched_queue_entry *qe;  in t4_sched_bind_unbind_op()  local
84 qe = (struct sched_queue_entry *)arg; in t4_sched_bind_unbind_op()
92 fw_class = bind ? qe->param.class : FW_SCHED_CLS_NONE; in t4_sched_bind_unbind_op()
93 fw_param = (fw_mnem | FW_PARAMS_PARAM_YZ_V(qe->cntxt_id)); in t4_sched_bind_unbind_op()
122 struct sched_queue_entry *qe; in t4_sched_queue_lookup() local
128 list_for_each_entry(qe, &e->queue_list, list) { in t4_sched_queue_lookup()
129 if (qe->cntxt_id == qid) { in t4_sched_queue_lookup()
149 struct sched_queue_entry *qe = NULL; in t4_sched_queue_unbind() local
167 list_for_each_entry(qe, &e->queue_list, list) { in t4_sched_queue_unbind()
172 err = t4_sched_bind_unbind_op(pi, (void *)qe, SCHED_QUEUE, in t4_sched_queue_unbind()
179 list_del(&qe->list); in t4_sched_queue_unbind()
180 t4_free_mem(qe); in t4_sched_queue_unbind()
196 struct sched_queue_entry *qe = NULL; in t4_sched_queue_bind() local
204 qe = t4_alloc_mem(sizeof(struct sched_queue_entry)); in t4_sched_queue_bind()
205 if (!qe) in t4_sched_queue_bind()
214 t4_free_mem(qe); in t4_sched_queue_bind()
219 memset(qe, 0, sizeof(*qe)); in t4_sched_queue_bind()
220 qe->cntxt_id = qid; in t4_sched_queue_bind()
221 memcpy(&qe->param, p, sizeof(qe->param)); in t4_sched_queue_bind()
223 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
225 err = t4_sched_bind_unbind_op(pi, (void *)qe, SCHED_QUEUE, true); in t4_sched_queue_bind()
227 t4_free_mem(qe); in t4_sched_queue_bind()
232 list_add_tail(&qe->list, &e->queue_list); in t4_sched_queue_bind()
248 struct sched_queue_entry *qe; in t4_sched_class_unbind_all() local
250 list_for_each_entry(qe, &e->queue_list, list) in t4_sched_class_unbind_all()
251 t4_sched_queue_unbind(pi, &qe->param); in t4_sched_class_unbind_all()
269 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg; in t4_sched_class_bind_unbind_op() local
272 err = t4_sched_queue_bind(pi, qe); in t4_sched_class_bind_unbind_op()
274 err = t4_sched_queue_unbind(pi, qe); in t4_sched_class_bind_unbind_op()
311 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg; in cxgb4_sched_class_bind() local
313 class_id = qe->class; in cxgb4_sched_class_bind()
358 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg; in cxgb4_sched_class_unbind() local
360 class_id = qe->class; in cxgb4_sched_class_unbind()