Home
last modified time | relevance | path

Searched refs:msix_info (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dmsix.c41 entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries), in msix_initialize()
48 dd->msix_info.msix_entries = entries; in msix_initialize()
49 spin_lock_init(&dd->msix_info.msix_lock); in msix_initialize()
50 bitmap_zero(dd->msix_info.in_use_msix, total); in msix_initialize()
51 dd->msix_info.max_requested = total; in msix_initialize()
84 spin_lock(&dd->msix_info.msix_lock); in msix_request_irq()
85 nr = find_first_zero_bit(dd->msix_info.in_use_msix, in msix_request_irq()
86 dd->msix_info.max_requested); in msix_request_irq()
87 if (nr < dd->msix_info.max_requested) in msix_request_irq()
88 __set_bit(nr, dd->msix_info.in_use_msix); in msix_request_irq()
[all …]
Daffinity.c771 for (i = 0; i < dd->msix_info.max_requested; i++) { in hfi1_update_sdma_affinity()
774 other_msix = &dd->msix_info.msix_entries[i]; in hfi1_update_sdma_affinity()
Dhfi.h1232 struct hfi1_msix_info msix_info; member
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c351 int namelen = sizeof(adapter->msix_info[0].desc) - 1; in name_msix_vecs()
357 snprintf(adapter->msix_info[MSIX_FW].desc, namelen, in name_msix_vecs()
359 adapter->msix_info[MSIX_FW].desc[namelen] = 0; in name_msix_vecs()
370 snprintf(adapter->msix_info[msi].desc, namelen, in name_msix_vecs()
372 adapter->msix_info[msi].desc[namelen] = 0; in name_msix_vecs()
388 err = request_irq(adapter->msix_info[MSIX_FW].vec, t4vf_sge_intr_msix, in request_msix_queue_irqs()
389 0, adapter->msix_info[MSIX_FW].desc, &s->fw_evtq); in request_msix_queue_irqs()
398 err = request_irq(adapter->msix_info[msi].vec, in request_msix_queue_irqs()
400 adapter->msix_info[msi].desc, in request_msix_queue_irqs()
410 free_irq(adapter->msix_info[--msi].vec, &s->ethrxq[rxq].rspq); in request_msix_queue_irqs()
[all …]
Dadapter.h383 } msix_info[MSIX_ENTRIES]; member
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.c139 snprintf(adap->msix_info[msi_idx].desc, in alloc_uld_rxqs()
140 sizeof(adap->msix_info[msi_idx].desc), in alloc_uld_rxqs()
144 q->msix = &adap->msix_info[msi_idx]; in alloc_uld_rxqs()
327 struct msix_info *minfo; in request_msix_queue_irqs_uld()
359 struct msix_info *minfo; in free_msix_queue_irqs_uld()
Dcxgb4_main.c721 struct msix_info *minfo; in request_msix_queue_irqs()
727 err = request_irq(adap->msix_info[s->fwevtq_msix_idx].vec, in request_msix_queue_irqs()
729 adap->msix_info[s->fwevtq_msix_idx].desc, in request_msix_queue_irqs()
754 free_irq(adap->msix_info[s->fwevtq_msix_idx].vec, &s->fw_evtq); in request_msix_queue_irqs()
761 struct msix_info *minfo; in free_msix_queue_irqs()
764 free_irq(adap->msix_info[s->fwevtq_msix_idx].vec, &s->fw_evtq); in free_msix_queue_irqs()
946 free_irq(adap->msix_info[s->nd_msix_idx].vec, in disable_interrupts()
996 snprintf(adap->msix_info[msix].desc, in setup_non_data_intr()
997 sizeof(adap->msix_info[msix].desc), in setup_non_data_intr()
1018 snprintf(adap->msix_info[msix].desc, in setup_fw_sge_queues()
[all …]
Dcxgb4.h815 struct msix_info *msix;
829 struct msix_info *msix;
1050 struct msix_info { struct
1129 struct msix_info *msix_info; member
Dcxgb4_tc_mqprio.c194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c383 int i, j, msi_idx = 1, n = sizeof(adap->msix_info[0].desc) - 1; in name_msix_vecs()
385 snprintf(adap->msix_info[0].desc, n, "%s", adap->name); in name_msix_vecs()
386 adap->msix_info[0].desc[n] = 0; in name_msix_vecs()
393 snprintf(adap->msix_info[msi_idx].desc, n, in name_msix_vecs()
395 adap->msix_info[msi_idx].desc[n] = 0; in name_msix_vecs()
408 err = request_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs()
412 adap->msix_info[qidx + 1].desc, in request_msix_data_irqs()
416 free_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs()
431 free_irq(adapter->msix_info[0].vec, adapter); in free_irq_resources()
436 free_irq(adapter->msix_info[i + 1].vec, in free_irq_resources()
[all …]
Dadapter.h241 } msix_info[SGE_QSETS + 1]; member
/Linux-v6.1/drivers/net/ethernet/neterion/
Ds2io.h953 struct msix_info_st msix_info[0x3f]; member
Ds2io.c3687 writeq(nic->msix_info[i].addr, &bar0->xmsi_address); in restore_xmsi_data()
3688 writeq(nic->msix_info[i].data, &bar0->xmsi_data); in restore_xmsi_data()
3719 nic->msix_info[i].addr = addr; in store_xmsi_data()
3720 nic->msix_info[i].data = data; in store_xmsi_data()
6963 if (!(sp->msix_info[i].addr && in s2io_add_isr()
6964 sp->msix_info[i].data)) { in s2io_add_isr()
6969 sp->msix_info[i].addr, in s2io_add_isr()
6971 ntohl(sp->msix_info[i].data)); in s2io_add_isr()