Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A 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()
67 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) in hinic_msix_attr_cnt_clear() argument
71 if (!VALID_MSIX_IDX(&hwif->attr, msix_index)) in hinic_msix_attr_cnt_clear()
75 addr = HINIC_CSR_MSIX_CNT_ADDR(msix_index); in hinic_msix_attr_cnt_clear()
H A Dhinic_hw_dev.h377 u16 msix_index; member
641 int hinic_hwdev_msix_cnt_set(struct hinic_hwdev *hwdev, u16 msix_index);
643 int hinic_hwdev_msix_set(struct hinic_hwdev *hwdev, u16 msix_index,
651 void hinic_hwdev_set_msix_state(struct hinic_hwdev *hwdev, u16 msix_index,
H A Dhinic_hw_dev.c1094 int hinic_hwdev_msix_cnt_set(struct hinic_hwdev *hwdev, u16 msix_index) in hinic_hwdev_msix_cnt_set() argument
1096 return hinic_msix_attr_cnt_clear(hwdev->hwif, msix_index); in hinic_hwdev_msix_cnt_set()
1111 int hinic_hwdev_msix_set(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_msix_set() argument
1116 return hinic_msix_attr_set(hwdev->hwif, msix_index, in hinic_hwdev_msix_set()
1167 void hinic_hwdev_set_msix_state(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_set_msix_state() argument
1170 hinic_set_msix_state(hwdev->hwif, msix_index, flag); in hinic_hwdev_set_msix_state()
H A Dhinic_hw_if.h263 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index,
271 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index);
H A Dhinic_rx.c533 interrupt_info.msix_index = rq->msix_entry; in rx_request_irq()
H A Dhinic_tx.c819 interrupt_info.msix_index = sq->msix_entry; in tx_request_irq()
H A Dhinic_ethtool.c702 interrupt_info.msix_index = msix_idx; in set_queue_coalesce()
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h951 u8 msix_index; member
1653 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1738 u8 mpt3sas_base_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1741 u8 msix_index, u32 reply);
1799 u8 mpt3sas_scsih_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index,
1852 u8 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1986 u8 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1992 u8 msix_index, u32 reply);
2003 u8 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
H A Dmpt3sas_base.c1695 u8 msix_index = reply_q->msix_index; in _base_process_reply_queue() local
1729 msix_index, 0); in _base_process_reply_queue()
1745 msix_index, reply); in _base_process_reply_queue()
1791 ((msix_index & 7) << in _base_process_reply_queue()
1796 (msix_index << in _base_process_reply_queue()
1964 reply_q->msix_index); in _base_init_irqpolls()
2006 if (reply_q->msix_index == 0) in mpt3sas_base_sync_reply_irqs()
3160 reply_q->msix_index = index; in _base_request_irq()
3246 reply_q->msix_index); in _base_assign_reply_queues()
3249 reply_q->msix_index); in _base_assign_reply_queues()
[all …]
H A Dmpt3sas_scsih.c2858 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument
4220 _scsih_tm_tr_complete(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _scsih_tm_tr_complete() argument
4346 u8 msix_index, u32 reply) in _scsih_sas_control_complete() argument
4431 u8 msix_index, u32 reply) in _scsih_tm_volume_tr_complete() argument
5705 _scsih_io_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_io_done() argument
7087 _scsih_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_done() argument
10860 mpt3sas_scsih_event_callback(struct MPT3SAS_ADAPTER *ioc, u8 msix_index, in mpt3sas_scsih_event_callback() argument
H A 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
H A Dmpt3sas_transport.c292 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_transport_done() argument
H A Dmpt3sas_config.c252 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_config_done() argument
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dgdma_main.c223 req.eq_pci_msix_index = queue->eq.msix_index; in mana_gd_create_hw_eq()
465 queue->eq.msix_index = msi_index; in mana_gd_register_irq()
494 unsigned int msix_index; in mana_gd_deregiser_irq() local
501 msix_index = queue->eq.msix_index; in mana_gd_deregiser_irq()
502 if (WARN_ON(msix_index >= gc->num_msix_usable)) in mana_gd_deregiser_irq()
505 gic = &gc->irq_contexts[msix_index]; in mana_gd_deregiser_irq()
510 bitmap_clear(r->map, msix_index, 1); in mana_gd_deregiser_irq()
513 queue->eq.msix_index = INVALID_PCI_MSIX_INDEX; in mana_gd_deregiser_irq()
590 queue->eq.msix_index = INVALID_PCI_MSIX_INDEX; in mana_gd_create_eq()
H A Dhw_channel.c639 eq->eq.msix_index); in mana_hwc_establish_channel()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfi_enet.h196 u16 msix_index; member
H A 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()
/openbmc/linux/include/net/mana/
H A Dgdma.h313 unsigned int msix_index; member
/openbmc/linux/drivers/net/ethernet/neterion/
H A 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()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c622 midx = intr_info->msix_index; in mpi3mr_isr_primary()
686 midx = intr_info->msix_index; in mpi3mr_isr_poll()
729 intr_info->msix_index = index; in mpi3mr_request_irq()
1934 create_req.msix_index = in mpi3mr_create_op_reply_q()
1935 cpu_to_le16(mrioc->intr_info[midx].msix_index); in mpi3mr_create_op_reply_q()
1937 create_req.msix_index = cpu_to_le16(mrioc->intr_info_count - 1); in mpi3mr_create_op_reply_q()
H A Dmpi3mr.h447 u16 msix_index; member
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h220 __le16 msix_index; member