Lines Matching refs:mq_index
38 static void handle_vq(struct c2_dev *c2dev, u32 mq_index);
45 unsigned int mq_index; in c2_rnic_interrupt() local
48 mq_index = readl(c2dev->regs + PCI_BAR0_HOST_HINT); in c2_rnic_interrupt()
49 if (mq_index & 0x80000000) { in c2_rnic_interrupt()
54 handle_mq(c2dev, mq_index); in c2_rnic_interrupt()
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index) in handle_mq() argument
64 if (c2dev->qptr_array[mq_index] == NULL) { in handle_mq()
66 mq_index); in handle_mq()
70 switch (mq_index) { in handle_mq()
83 handle_vq(c2dev, mq_index); in handle_mq()
94 c2_ae_event(c2dev, mq_index); in handle_mq()
105 c2_cq_event(c2dev, mq_index); in handle_mq()
115 static void handle_vq(struct c2_dev *c2dev, u32 mq_index) in handle_vq() argument
125 reply_vq = (struct c2_mq *) c2dev->qptr_array[mq_index]; in handle_vq()