Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmsix.c48 dd->msix_info.msix_entries = entries; 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()
86 dd->msix_info.max_requested); in msix_request_irq()
87 if (nr < dd->msix_info.max_requested) in msix_request_irq()
89 spin_unlock(&dd->msix_info.msix_lock); in msix_request_irq()
103 spin_lock(&dd->msix_info.msix_lock); in msix_request_irq()
113 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq()
324 kfree(dd->msix_info.msix_entries); in msix_clean_up_interrupts()
325 dd->msix_info.msix_entries = NULL; in msix_clean_up_interrupts()
[all …]
H A 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()
H A Dhfi.h1232 struct hfi1_msix_info msix_info; member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A 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()
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()
411 free_irq(adapter->msix_info[MSIX_FW].vec, &s->fw_evtq); in request_msix_queue_irqs()
426 free_irq(adapter->msix_info[msi++].vec, in free_msix_queue_irqs()
[all …]
H A Dadapter.h383 } msix_info[MSIX_ENTRIES]; member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A Dcxgb4_main.c720 struct msix_info *minfo; in request_msix_queue_irqs()
760 struct msix_info *minfo; in free_msix_queue_irqs()
995 snprintf(adap->msix_info[msix].desc, in setup_non_data_intr()
1075 q->msix = &adap->msix_info[msix]; in setup_sge_queues()
5846 struct msix_info *msix_info; in alloc_msix_info() local
5848 msix_info = kcalloc(num_vec, sizeof(*msix_info), GFP_KERNEL); in alloc_msix_info()
5849 if (!msix_info) in alloc_msix_info()
5854 kfree(msix_info); in alloc_msix_info()
5861 adap->msix_info = msix_info; in alloc_msix_info()
5868 kfree(adap->msix_info); in free_msix_info()
[all …]
H A Dcxgb4.h815 struct msix_info *msix;
829 struct msix_info *msix;
1050 struct msix_info { struct
1127 struct msix_info *msix_info; member
H A Dcxgb4_tc_mqprio.c194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c386 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()
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()
1264 err = request_irq(adap->msix_info[0].vec, in cxgb_up()
1266 adap->msix_info[0].desc, adap); in cxgb_up()
1272 free_irq(adap->msix_info[0].vec, adap); in cxgb_up()
[all …]
H A Dadapter.h241 } msix_info[SGE_QSETS + 1]; member
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.h953 struct msix_info_st msix_info[0x3f]; member
H A 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()
6956 if (!(sp->msix_info[i].addr && in s2io_add_isr()
6957 sp->msix_info[i].data)) { in s2io_add_isr()
6962 sp->msix_info[i].addr, in s2io_add_isr()
6964 ntohl(sp->msix_info[i].data)); in s2io_add_isr()