Lines Matching defs:qid
349 * @qid: Queue Number
359 static int aac_get_entry (struct aac_dev * dev, u32 qid, struct aac_entry **entry, u32 * index, unsigned long *nonotify)
371 q = &dev->queues->queue[qid];
377 if (qid == AdapNormCmdQueue)
386 if (qid == AdapNormCmdQueue) {
397 qid, atomic_read(&q->numpending));
409 * @qid: Queue number
421 int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify)
426 if (qid == AdapNormCmdQueue) {
428 while (!aac_get_entry(dev, qid, &entry, index, nonotify)) {
437 while (!aac_get_entry(dev, qid, &entry, index, nonotify)) {
826 * @qid: Queue ident
832 void aac_consumer_free(struct aac_dev * dev, struct aac_queue *q, u32 qid)
846 switch (qid) {