Lines Matching refs:rq
491 struct reply_queue_buffer *rq = &h->reply_queue[q];
507 if ((((u32) rq->head[rq->current_entry]) & 1) == rq->wraparound) {
508 register_value = rq->head[rq->current_entry];
509 rq->current_entry++;
515 if (rq->current_entry == h->max_commands) {
516 rq->current_entry = 0;
517 rq->wraparound ^= 1;
593 struct reply_queue_buffer *rq = &h->reply_queue[q];
597 register_value = rq->head[rq->current_entry];
599 rq->head[rq->current_entry] = IOACCEL_MODE1_REPLY_UNUSED;
600 if (++rq->current_entry == rq->size)
601 rq->current_entry = 0;
609 writel((q << 24) | rq->current_entry, h->vaddr +