Lines Matching defs:mq_index
38 static void handle_vq(struct c2_dev *c2dev, u32 mq_index);
45 unsigned int mq_index;
48 mq_index = readl(c2dev->regs + PCI_BAR0_HOST_HINT);
49 if (mq_index & 0x80000000) {
54 handle_mq(c2dev, mq_index);
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index)
64 if (c2dev->qptr_array[mq_index] == NULL) {
65 pr_debug(KERN_INFO "handle_mq: stray activity for mq_index=%d\n",
66 mq_index);
70 switch (mq_index) {
83 handle_vq(c2dev, mq_index);
94 c2_ae_event(c2dev, mq_index);
105 c2_cq_event(c2dev, mq_index);
115 static void handle_vq(struct c2_dev *c2dev, u32 mq_index)
125 reply_vq = (struct c2_mq *) c2dev->qptr_array[mq_index];
128 * get next msg from mq_index into adapter_msg.