Home
last modified time | relevance | path

Searched refs:msix_index (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c20 #define VALID_MSIX_IDX(attr, msix_index) ((msix_index) < (attr)->num_irqs) argument
38 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_set() argument
45 if (!VALID_MSIX_IDX(&hwif->attr, msix_index)) in hinic_msix_attr_set()
54 addr = HINIC_CSR_MSIX_CTRL_ADDR(msix_index); in hinic_msix_attr_set()
72 int hinic_msix_attr_get(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_get() argument
79 if (!VALID_MSIX_IDX(&hwif->attr, msix_index)) in hinic_msix_attr_get()
82 addr = HINIC_CSR_MSIX_CTRL_ADDR(msix_index); in hinic_msix_attr_get()
100 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) in hinic_msix_attr_cnt_clear() argument
104 if (!VALID_MSIX_IDX(&hwif->attr, msix_index)) in hinic_msix_attr_cnt_clear()
108 addr = HINIC_CSR_MSIX_CNT_ADDR(msix_index); in hinic_msix_attr_cnt_clear()
Dhinic_hw_dev.h311 u16 msix_index; member
577 int hinic_hwdev_msix_cnt_set(struct hinic_hwdev *hwdev, u16 msix_index);
579 int hinic_hwdev_msix_set(struct hinic_hwdev *hwdev, u16 msix_index,
587 void hinic_hwdev_set_msix_state(struct hinic_hwdev *hwdev, u16 msix_index,
Dhinic_hw_if.h267 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index,
272 int hinic_msix_attr_get(struct hinic_hwif *hwif, u16 msix_index,
280 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index);
Dhinic_hw_dev.c1116 int hinic_hwdev_msix_cnt_set(struct hinic_hwdev *hwdev, u16 msix_index) in hinic_hwdev_msix_cnt_set() argument
1118 return hinic_msix_attr_cnt_clear(hwdev->hwif, msix_index); in hinic_hwdev_msix_cnt_set()
1133 int hinic_hwdev_msix_set(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_msix_set() argument
1138 return hinic_msix_attr_set(hwdev->hwif, msix_index, in hinic_hwdev_msix_set()
1189 void hinic_hwdev_set_msix_state(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_set_msix_state() argument
1192 hinic_set_msix_state(hwdev->hwif, msix_index, flag); in hinic_hwdev_set_msix_state()
Dhinic_rx.c532 interrupt_info.msix_index = rq->msix_entry; in rx_request_irq()
Dhinic_tx.c817 interrupt_info.msix_index = sq->msix_entry; in tx_request_irq()
Dhinic_ethtool.c701 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
/drivers/net/ethernet/microsoft/mana/
Dgdma_main.c171 req.eq_pci_msix_index = queue->eq.msix_index; in mana_gd_create_hw_eq()
410 queue->eq.msix_index = msi_index; in mana_gd_register_irq()
439 unsigned int msix_index; in mana_gd_deregiser_irq() local
446 msix_index = queue->eq.msix_index; in mana_gd_deregiser_irq()
447 if (WARN_ON(msix_index >= gc->num_msix_usable)) in mana_gd_deregiser_irq()
450 gic = &gc->irq_contexts[msix_index]; in mana_gd_deregiser_irq()
455 bitmap_clear(r->map, msix_index, 1); in mana_gd_deregiser_irq()
458 queue->eq.msix_index = INVALID_PCI_MSIX_INDEX; in mana_gd_deregiser_irq()
535 queue->eq.msix_index = INVALID_PCI_MSIX_INDEX; in mana_gd_create_eq()
Dgdma.h289 unsigned int msix_index; member
Dhw_channel.c613 eq->eq.msix_index); in mana_hwc_establish_channel()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h951 u8 msix_index; member
1653 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1712 u8 mpt3sas_base_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1715 u8 msix_index, u32 reply);
1773 u8 mpt3sas_scsih_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index,
1826 u8 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1951 u8 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1957 u8 msix_index, u32 reply);
1968 u8 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
Dmpt3sas_base.c1396 _base_display_reply_info(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _base_display_reply_info() argument
1440 mpt3sas_base_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_base_done() argument
1474 _base_async_event(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, u32 reply) in _base_async_event() argument
1520 mpt3sas_scsih_event_callback(ioc, msix_index, reply); in _base_async_event()
1523 mpt3sas_ctl_event_callback(ioc, msix_index, reply); in _base_async_event()
1696 u8 msix_index = reply_q->msix_index; in _base_process_reply_queue() local
1730 msix_index, 0); in _base_process_reply_queue()
1746 msix_index, reply); in _base_process_reply_queue()
1749 smid, msix_index, reply); in _base_process_reply_queue()
1755 _base_async_event(ioc, msix_index, reply); in _base_process_reply_queue()
[all …]
Dmpt3sas_scsih.c2859 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument
4221 _scsih_tm_tr_complete(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _scsih_tm_tr_complete() argument
4347 u8 msix_index, u32 reply) in _scsih_sas_control_complete() argument
4432 u8 msix_index, u32 reply) in _scsih_tm_volume_tr_complete() argument
5693 _scsih_io_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_io_done() argument
7075 _scsih_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_done() argument
10848 mpt3sas_scsih_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, in mpt3sas_scsih_event_callback() argument
Dmpt3sas_ctl.c258 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_ctl_done() argument
398 mpt3sas_ctl_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, in mpt3sas_ctl_event_callback() argument
Dmpt3sas_transport.c292 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_transport_done() argument
Dmpt3sas_config.c252 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_config_done() argument
/drivers/scsi/mpi3mr/
Dmpi3mr.h366 u16 msix_index; member
Dmpi3mr_fw.c533 midx = intr_info->msix_index; in mpi3mr_isr_primary()
557 midx = intr_info->msix_index; in mpi3mr_isr()
598 midx = intr_info->msix_index; in mpi3mr_isr_poll()
638 intr_info->msix_index = index; in mpi3mr_request_irq()
1598 create_req.msix_index = cpu_to_le16(mrioc->intr_info[midx].msix_index); in mpi3mr_create_op_reply_q()
/drivers/net/ethernet/brocade/bna/
Dbfi_enet.h196 u16 msix_index; member
Dbna_tx_rx.c1671 cfg_req->q_cfg[i].ib.intr.msix_index = in bna_bfi_rx_enet_start()
3108 cfg_req->q_cfg[i].ib.intr.msix_index = in bna_bfi_tx_enet_start()
/drivers/net/ethernet/neterion/
Ds2io.c3680 int i, msix_index; in restore_xmsi_data() local
3686 msix_index = (i) ? ((i-1) * 8 + 1) : 0; in restore_xmsi_data()
3689 val64 = (s2BIT(7) | s2BIT(15) | vBIT(msix_index, 26, 6)); in restore_xmsi_data()
3691 if (wait_for_msix_trans(nic, msix_index)) in restore_xmsi_data()
3693 __func__, msix_index); in restore_xmsi_data()
3701 int i, msix_index; in store_xmsi_data() local
3708 msix_index = (i) ? ((i-1) * 8 + 1) : 0; in store_xmsi_data()
3709 val64 = (s2BIT(15) | vBIT(msix_index, 26, 6)); in store_xmsi_data()
3711 if (wait_for_msix_trans(nic, msix_index)) { in store_xmsi_data()
3713 __func__, msix_index); in store_xmsi_data()
/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h201 __le16 msix_index; member