Home
last modified time | relevance | path

Searched refs:int_info (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/qedr/
Dmain.c520 for (i = 0; i < dev->int_info.used_cnt; i++) { in qedr_sync_free_irqs()
521 if (dev->int_info.msix_cnt) { in qedr_sync_free_irqs()
523 vector = dev->int_info.msix[idx].vector; in qedr_sync_free_irqs()
529 dev->int_info.used_cnt = 0; in qedr_sync_free_irqs()
537 if (dev->num_cnq > dev->int_info.msix_cnt) { in qedr_req_msix_irqs()
540 dev->num_cnq, dev->int_info.msix_cnt); in qedr_req_msix_irqs()
546 rc = request_irq(dev->int_info.msix[idx].vector, in qedr_req_msix_irqs()
557 dev->int_info.used_cnt++; in qedr_req_msix_irqs()
575 rc = dev->ops->rdma_get_rdma_int(dev->cdev, &dev->int_info); in qedr_setup_irqs()
581 if (dev->int_info.msix_cnt) { in qedr_setup_irqs()
[all …]
Dqedr.h138 struct qed_int_info int_info; member
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c1757 for (i = 0; i < edev->int_info.used_cnt; i++) { in qede_sync_free_irqs()
1758 if (edev->int_info.msix_cnt) { in qede_sync_free_irqs()
1759 synchronize_irq(edev->int_info.msix[i].vector); in qede_sync_free_irqs()
1760 free_irq(edev->int_info.msix[i].vector, in qede_sync_free_irqs()
1767 edev->int_info.used_cnt = 0; in qede_sync_free_irqs()
1775 if (QEDE_QUEUE_CNT(edev) > edev->int_info.msix_cnt) { in qede_req_msix_irqs()
1778 QEDE_QUEUE_CNT(edev), edev->int_info.msix_cnt); in qede_req_msix_irqs()
1788 edev->int_info.msix[i].vector); in qede_req_msix_irqs()
1795 rc = request_irq(edev->int_info.msix[i].vector, in qede_req_msix_irqs()
1807 edev->int_info.used_cnt++; in qede_req_msix_irqs()
[all …]
Dqede.h229 struct qed_int_info int_info; member
/drivers/scsi/qedi/
Dqedi_main.c1318 if (qedi->int_info.msix_cnt) { in qedi_sync_free_irqs()
1319 for (i = 0; i < qedi->int_info.used_cnt; i++) { in qedi_sync_free_irqs()
1326 synchronize_irq(qedi->int_info.msix[idx].vector); in qedi_sync_free_irqs()
1327 irq_set_affinity_hint(qedi->int_info.msix[idx].vector, in qedi_sync_free_irqs()
1329 free_irq(qedi->int_info.msix[idx].vector, in qedi_sync_free_irqs()
1337 qedi->int_info.used_cnt = 0; in qedi_sync_free_irqs()
1356 rc = request_irq(qedi->int_info.msix[idx].vector, in qedi_request_msix_irq()
1364 qedi->int_info.used_cnt++; in qedi_request_msix_irq()
1365 rc = irq_set_affinity_hint(qedi->int_info.msix[idx].vector, in qedi_request_msix_irq()
1378 rc = qedi_ops->common->get_fp_int(qedi->cdev, &qedi->int_info); in qedi_setup_int()
[all …]
Dqedi.h267 struct qed_int_info int_info; member
/drivers/scsi/qedf/
Dqedf_main.c2245 if (qedf->int_info.msix_cnt) { in qedf_sync_free_irqs()
2246 for (i = 0; i < qedf->int_info.used_cnt; i++) { in qedf_sync_free_irqs()
2252 vector = qedf->int_info.msix[vector_idx].vector; in qedf_sync_free_irqs()
2262 qedf->int_info.used_cnt = 0; in qedf_sync_free_irqs()
2279 vector = qedf->int_info.msix[vector_idx].vector; in qedf_request_msix_irq()
2289 qedf->int_info.used_cnt++; in qedf_request_msix_irq()
2308 rc = qed_ops->common->get_fp_int(qedf->cdev, &qedf->int_info); in qedf_setup_int()
2313 "0x%x num of cpus = 0x%x\n", qedf->int_info.msix_cnt, in qedf_setup_int()
2316 if (qedf->int_info.msix_cnt) in qedf_setup_int()
2321 qedf->int_info.used_cnt = 1; in qedf_setup_int()
Dqedf.h327 struct qed_int_info int_info; member