Lines Matching refs:eq_tbl
520 ocrdma_destroy_eq(dev, &dev->eq_tbl[i]); in ocrdma_destroy_eqs()
614 dev->eq_tbl[0].cq_cnt++; in ocrdma_create_mq()
615 status = ocrdma_mbx_mq_cq_create(dev, &dev->mq.cq, &dev->eq_tbl[0].q); in ocrdma_create_mq()
1750 cq_cnt = dev->eq_tbl[0].cq_cnt; in ocrdma_bind_eq()
1751 eq_id = dev->eq_tbl[0].q.id; in ocrdma_bind_eq()
1756 if (dev->eq_tbl[i].cq_cnt < cq_cnt) { in ocrdma_bind_eq()
1757 cq_cnt = dev->eq_tbl[i].cq_cnt; in ocrdma_bind_eq()
1758 eq_id = dev->eq_tbl[i].q.id; in ocrdma_bind_eq()
1762 dev->eq_tbl[selected_eq].cq_cnt += 1; in ocrdma_bind_eq()
1775 dev->eq_tbl[i].cq_cnt -= 1; in ocrdma_unbind_eq()
3085 dev->eq_tbl = kcalloc(num_eq, sizeof(struct ocrdma_eq), GFP_KERNEL); in ocrdma_create_eqs()
3086 if (!dev->eq_tbl) in ocrdma_create_eqs()
3090 status = ocrdma_create_eq(dev, &dev->eq_tbl[i], in ocrdma_create_eqs()
3096 sprintf(dev->eq_tbl[i].irq_name, "ocrdma%d-%d", in ocrdma_create_eqs()
3098 irq = ocrdma_get_irq(dev, &dev->eq_tbl[i]); in ocrdma_create_eqs()
3100 dev->eq_tbl[i].irq_name, in ocrdma_create_eqs()
3101 &dev->eq_tbl[i]); in ocrdma_create_eqs()
3165 eq = &dev->eq_tbl[i]; in ocrdma_eqd_set_task()
3183 ocrdma_modify_eqd(dev, &dev->eq_tbl[0], num); in ocrdma_eqd_set_task()