/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | msix.c | 41 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 …]
|
D | affinity.c | 771 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()
|
D | hfi.h | 1232 struct hfi1_msix_info msix_info; member
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 351 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 …]
|
D | adapter.h | 383 } msix_info[MSIX_ENTRIES]; member
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.c | 139 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()
|
D | cxgb4_main.c | 720 struct msix_info *minfo; in request_msix_queue_irqs() 726 err = request_irq(adap->msix_info[s->fwevtq_msix_idx].vec, in request_msix_queue_irqs() 728 adap->msix_info[s->fwevtq_msix_idx].desc, in request_msix_queue_irqs() 753 free_irq(adap->msix_info[s->fwevtq_msix_idx].vec, &s->fw_evtq); in request_msix_queue_irqs() 760 struct msix_info *minfo; in free_msix_queue_irqs() 763 free_irq(adap->msix_info[s->fwevtq_msix_idx].vec, &s->fw_evtq); in free_msix_queue_irqs() 945 free_irq(adap->msix_info[s->nd_msix_idx].vec, in disable_interrupts() 995 snprintf(adap->msix_info[msix].desc, in setup_non_data_intr() 996 sizeof(adap->msix_info[msix].desc), in setup_non_data_intr() 1017 snprintf(adap->msix_info[msix].desc, in setup_fw_sge_queues() [all …]
|
D | cxgb4.h | 815 struct msix_info *msix; 829 struct msix_info *msix; 1050 struct msix_info { struct 1127 struct msix_info *msix_info; member
|
D | cxgb4_tc_mqprio.c | 194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 385 strscpy(adap->msix_info[0].desc, adap->name, sizeof(adap->msix_info[0].desc)); in name_msix_vecs() 392 snprintf(adap->msix_info[msi_idx].desc, in name_msix_vecs() 393 sizeof(adap->msix_info[0].desc), in name_msix_vecs() 407 err = request_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs() 411 adap->msix_info[qidx + 1].desc, in request_msix_data_irqs() 415 free_irq(adap->msix_info[qidx + 1].vec, in request_msix_data_irqs() 430 free_irq(adapter->msix_info[0].vec, adapter); in free_irq_resources() 435 free_irq(adapter->msix_info[i + 1].vec, in free_irq_resources() 1263 err = request_irq(adap->msix_info[0].vec, in cxgb_up() 1265 adap->msix_info[0].desc, adap); in cxgb_up() [all …]
|
D | adapter.h | 241 } msix_info[SGE_QSETS + 1]; member
|
/linux-6.12.1/drivers/net/ethernet/neterion/ |
D | s2io.h | 953 struct msix_info_st msix_info[0x3f]; member
|
D | s2io.c | 3688 writeq(nic->msix_info[i].addr, &bar0->xmsi_address); in restore_xmsi_data() 3689 writeq(nic->msix_info[i].data, &bar0->xmsi_data); in restore_xmsi_data() 3720 nic->msix_info[i].addr = addr; in store_xmsi_data() 3721 nic->msix_info[i].data = data; in store_xmsi_data() 6957 if (!(sp->msix_info[i].addr && in s2io_add_isr() 6958 sp->msix_info[i].data)) { in s2io_add_isr() 6963 sp->msix_info[i].addr, in s2io_add_isr() 6965 ntohl(sp->msix_info[i].data)); in s2io_add_isr()
|