/drivers/infiniband/hw/hfi1/ |
D | msix.c | 84 entries = kcalloc(total, sizeof(*dd->msix_info.msix_entries), in msix_initialize() 91 dd->msix_info.msix_entries = entries; in msix_initialize() 92 spin_lock_init(&dd->msix_info.msix_lock); in msix_initialize() 93 bitmap_zero(dd->msix_info.in_use_msix, total); in msix_initialize() 94 dd->msix_info.max_requested = total; in msix_initialize() 127 spin_lock(&dd->msix_info.msix_lock); in msix_request_irq() 128 nr = find_first_zero_bit(dd->msix_info.in_use_msix, in msix_request_irq() 129 dd->msix_info.max_requested); in msix_request_irq() 130 if (nr < dd->msix_info.max_requested) in msix_request_irq() 131 __set_bit(nr, dd->msix_info.in_use_msix); in msix_request_irq() [all …]
|
D | affinity.c | 815 for (i = 0; i < dd->msix_info.max_requested; i++) { in hfi1_update_sdma_affinity() 818 other_msix = &dd->msix_info.msix_entries[i]; in hfi1_update_sdma_affinity()
|
D | hfi.h | 1282 struct hfi1_msix_info msix_info; member
|
/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 | 382 } msix_info[MSIX_ENTRIES]; member
|
/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 | 721 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 …]
|
D | cxgb4.h | 817 struct msix_info *msix; 831 struct msix_info *msix; 1052 struct msix_info { struct 1131 struct msix_info *msix_info; member
|
D | cxgb4_tc_mqprio.c | 194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 383 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 …]
|
D | adapter.h | 241 } msix_info[SGE_QSETS + 1]; member
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 954 struct msix_info_st msix_info[0x3f]; member
|
D | s2io.c | 3683 writeq(nic->msix_info[i].addr, &bar0->xmsi_address); in restore_xmsi_data() 3684 writeq(nic->msix_info[i].data, &bar0->xmsi_data); in restore_xmsi_data() 3715 nic->msix_info[i].addr = addr; in store_xmsi_data() 3716 nic->msix_info[i].data = data; in store_xmsi_data() 6949 if (!(sp->msix_info[i].addr && in s2io_add_isr() 6950 sp->msix_info[i].data)) { in s2io_add_isr() 6955 sp->msix_info[i].addr, in s2io_add_isr() 6957 ntohl(sp->msix_info[i].data)); in s2io_add_isr()
|