Lines Matching refs:tq
165 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_take()
279 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_tasklet()
335 if (hp_sdc.tq[curridx] != NULL) goto start; in hp_sdc_put()
348 if (hp_sdc.tq[curridx] != NULL) break; /* Found one. */ in hp_sdc_put()
366 curr = hp_sdc.tq[curridx]; in hp_sdc_put()
370 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
382 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
518 hp_sdc.tq[curridx] = NULL; in hp_sdc_put()
552 if (hp_sdc.tq[i] == this) goto fail; in hp_sdc_enqueue_transaction()
559 if (hp_sdc.tq[i] == NULL) { in hp_sdc_enqueue_transaction()
560 hp_sdc.tq[i] = this; in hp_sdc_enqueue_transaction()
584 if (hp_sdc.tq[i] == this) hp_sdc.tq[i] = NULL; in hp_sdc_dequeue_transaction()
806 for (i = 0; i < HP_SDC_QUEUE_LEN; i++) hp_sdc.tq[i] = NULL; in hp_sdc_init()