/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_res.c | 71 GET_CONFIG(intr_mode); in enic_get_vnic_config() 109 c->intr_mode == VENET_INTR_MODE_INTX ? "INTx" : in enic_get_vnic_config() 110 c->intr_mode == VENET_INTR_MODE_MSI ? "MSI" : in enic_get_vnic_config() 111 c->intr_mode == VENET_INTR_MODE_ANY ? "any" : in enic_get_vnic_config() 217 enum vnic_dev_intr_mode intr_mode; in enic_init_vnic_resources() local 225 intr_mode = vnic_dev_get_intr_mode(enic->vdev); in enic_init_vnic_resources() 235 switch (intr_mode) { in enic_init_vnic_resources() 271 switch (intr_mode) { in enic_init_vnic_resources() 299 switch (intr_mode) { in enic_init_vnic_resources() 319 enum vnic_dev_intr_mode intr_mode; in enic_alloc_vnic_resources() local [all …]
|
A D | vnic_dev.h | 95 enum vnic_dev_intr_mode intr_mode; member 162 enum vnic_dev_intr_mode intr_mode);
|
A D | vnic_enet.h | 31 u8 intr_mode; member
|
A D | vnic_dev.c | 1017 enum vnic_dev_intr_mode intr_mode) in vnic_dev_set_intr_mode() argument 1019 vdev->intr_mode = intr_mode; in vnic_dev_set_intr_mode() 1025 return vdev->intr_mode; in vnic_dev_get_intr_mode()
|
A D | enic_main.c | 2387 enic->config.intr_mode < 1 && in enic_set_intr_mode() 2408 if (enic->config.intr_mode < 1 && in enic_set_intr_mode() 2433 if (enic->config.intr_mode < 2 && in enic_set_intr_mode() 2458 if (enic->config.intr_mode < 3 && in enic_set_intr_mode()
|
/linux/drivers/mailbox/ |
A D | mailbox-altera.c | 41 bool intr_mode; member 165 if (mbox->intr_mode) { in altera_mbox_startup_sender() 184 if (mbox->intr_mode) { in altera_mbox_startup_receiver() 188 mbox->intr_mode = false; in altera_mbox_startup_receiver() 223 if (mbox->intr_mode) in altera_mbox_send_data() 268 if (mbox->intr_mode) { in altera_mbox_shutdown() 310 mbox->intr_mode = true; in altera_mbox_probe() 322 if (mbox->intr_mode) { in altera_mbox_probe()
|
/linux/drivers/scsi/snic/ |
A D | snic_res.c | 149 enum vnic_dev_intr_mode intr_mode; in snic_alloc_vnic_res() local 157 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_alloc_vnic_res() 160 ((intr_mode == VNIC_DEV_INTR_MODE_INTX) ? in snic_alloc_vnic_res() 162 ((intr_mode == VNIC_DEV_INTR_MODE_MSI) ? in snic_alloc_vnic_res() 164 ((intr_mode == VNIC_DEV_INTR_MODE_MSIX) ? in snic_alloc_vnic_res() 168 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res() 250 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res()
|
A D | snic_isr.c | 106 enum vnic_dev_intr_mode intr_mode; in snic_request_intr() local 108 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_request_intr() 109 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_request_intr()
|
A D | vnic_dev.c | 54 enum vnic_dev_intr_mode intr_mode; member 685 enum vnic_dev_intr_mode intr_mode) in svnic_dev_set_intr_mode() argument 687 vdev->intr_mode = intr_mode; in svnic_dev_set_intr_mode() 692 return vdev->intr_mode; in svnic_dev_get_intr_mode()
|
A D | snic_main.c | 167 enum vnic_dev_intr_mode intr_mode; in snic_notify_set() local 169 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_notify_set() 171 if (intr_mode == VNIC_DEV_INTR_MODE_MSIX) { in snic_notify_set() 176 intr_mode); in snic_notify_set()
|
A D | vnic_dev.h | 106 enum vnic_dev_intr_mode intr_mode);
|
/linux/drivers/scsi/csiostor/ |
A D | csio_isr.c | 319 if (hw->intr_mode == CSIO_IM_INTX) in csio_fcoe_isr() 388 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_request_irqs() 390 hw->intr_mode == CSIO_IM_MSI ? 0 : IRQF_SHARED, in csio_request_irqs() 553 hw->intr_mode = CSIO_IM_NONE; in csio_intr_enable() 558 hw->intr_mode = CSIO_IM_MSIX; in csio_intr_enable() 573 hw->intr_mode = CSIO_IM_MSI; in csio_intr_enable() 575 hw->intr_mode = CSIO_IM_INTX; in csio_intr_enable() 579 (hw->intr_mode == CSIO_IM_MSIX) ? "MSIX" : in csio_intr_enable() 580 ((hw->intr_mode == CSIO_IM_MSI) ? "MSI" : "INTx")); in csio_intr_enable() 591 switch (hw->intr_mode) { in csio_intr_disable() [all …]
|
A D | csio_init.c | 267 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_create_queues() 364 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_config_queues()
|
A D | csio_hw.h | 531 enum csio_intr_mode intr_mode; /* INTx, MSI, MSIX */ member
|
/linux/drivers/scsi/fnic/ |
A D | fnic_res.c | 232 enum vnic_dev_intr_mode intr_mode; in fnic_alloc_vnic_resources() local 241 intr_mode = vnic_dev_get_intr_mode(fnic->vdev); in fnic_alloc_vnic_resources() 244 intr_mode == VNIC_DEV_INTR_MODE_INTX ? "legacy PCI INTx" : in fnic_alloc_vnic_resources() 245 intr_mode == VNIC_DEV_INTR_MODE_MSI ? "MSI" : in fnic_alloc_vnic_resources() 246 intr_mode == VNIC_DEV_INTR_MODE_MSIX ? in fnic_alloc_vnic_resources() 324 if (!fnic->legacy_pba && intr_mode == VNIC_DEV_INTR_MODE_INTX) { in fnic_alloc_vnic_resources() 343 switch (intr_mode) { in fnic_alloc_vnic_resources() 380 switch (intr_mode) { in fnic_alloc_vnic_resources() 409 switch (intr_mode) { in fnic_alloc_vnic_resources()
|
A D | vnic_dev.c | 58 enum vnic_dev_intr_mode intr_mode; member 880 enum vnic_dev_intr_mode intr_mode) in vnic_dev_set_intr_mode() argument 882 vdev->intr_mode = intr_mode; in vnic_dev_set_intr_mode() 888 return vdev->intr_mode; in vnic_dev_get_intr_mode()
|
A D | vnic_dev.h | 158 enum vnic_dev_intr_mode intr_mode);
|
/linux/drivers/net/ethernet/neterion/vxge/ |
A D | vxge-traffic.c | 340 if ((intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in vxge_hw_device_set_intr_type() 341 (intr_mode != VXGE_HW_INTR_MODE_MSIX) && in vxge_hw_device_set_intr_type() 342 (intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in vxge_hw_device_set_intr_type() 343 (intr_mode != VXGE_HW_INTR_MODE_DEF)) in vxge_hw_device_set_intr_type() 344 intr_mode = VXGE_HW_INTR_MODE_IRQLINE; in vxge_hw_device_set_intr_type() 346 hldev->config.intr_mode = intr_mode; in vxge_hw_device_set_intr_type() 347 return intr_mode; in vxge_hw_device_set_intr_type() 376 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) { in vxge_hw_device_intr_enable() 463 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) in vxge_hw_device_unmask_all() 2185 if (vpath->hldev->config.intr_mode == in vxge_hw_vpath_msix_set() [all …]
|
A D | vxge-config.c | 1282 if ((new_config->intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in __vxge_hw_device_config_check() 1283 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX) && in __vxge_hw_device_config_check() 1284 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in __vxge_hw_device_config_check() 1285 (new_config->intr_mode != VXGE_HW_INTR_MODE_DEF)) in __vxge_hw_device_config_check() 2906 device_config->intr_mode = VXGE_HW_INTR_MODE_DEF; in vxge_hw_device_config_default_get()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_roce.c | 64 dev_info.intr_mode = BE_INTERRUPT_MODE_MSIX; in _be_roce_dev_add() 77 dev_info.intr_mode = BE_INTERRUPT_MODE_INTX; in _be_roce_dev_add()
|
A D | be_roce.h | 42 enum be_interrupt_mode intr_mode; member
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_init.c | 1955 intr_mode = lpfc_sli4_enable_intr(phba, phba->intr_mode); in lpfc_sli4_port_sta_fn_reset() 1961 phba->intr_mode = intr_mode; in lpfc_sli4_port_sta_fn_reset() 13947 phba->intr_mode = intr_mode; in lpfc_pci_probe_one_s3() 14178 intr_mode = lpfc_sli_enable_intr(phba, phba->intr_mode); in lpfc_pci_resume_one_s3() 14184 phba->intr_mode = intr_mode; in lpfc_pci_resume_one_s3() 14365 intr_mode = lpfc_sli_enable_intr(phba, phba->intr_mode); in lpfc_io_slot_reset_s3() 14372 phba->intr_mode = intr_mode; in lpfc_io_slot_reset_s3() 14777 phba->intr_mode = intr_mode; in lpfc_pci_probe_one_s4() 15009 intr_mode = lpfc_sli4_enable_intr(phba, phba->intr_mode); in lpfc_pci_resume_one_s4() 15015 phba->intr_mode = intr_mode; in lpfc_pci_resume_one_s4() [all …]
|
/linux/drivers/scsi/esas2r/ |
A D | esas2r_init.c | 197 static void esas2r_setup_interrupts(struct esas2r_adapter *a, int intr_mode) in esas2r_setup_interrupts() argument 202 switch (intr_mode) { in esas2r_setup_interrupts() 205 a->intr_mode = INTR_MODE_LEGACY; in esas2r_setup_interrupts() 218 a->intr_mode = INTR_MODE_MSI; in esas2r_setup_interrupts() 236 if (a->intr_mode == INTR_MODE_LEGACY) in esas2r_claim_interrupts() 244 (a->intr_mode == in esas2r_claim_interrupts() 678 esas2r_setup_interrupts(a, a->intr_mode); in esas2r_resume()
|
/linux/drivers/scsi/ |
A D | hpsa.h | 187 int intr_mode; /* either PERF_MODE_INT or SIMPLE_MODE_INT */ member
|
A D | hpsa.c | 8086 irq_vector = h->intr_mode; in hpsa_free_irqs() 8088 if (!h->msix_vectors || h->intr_mode != PERF_MODE_INT) { in hpsa_free_irqs() 8091 &h->q[h->intr_mode]); in hpsa_free_irqs() 8092 h->q[h->intr_mode] = 0; in hpsa_free_irqs() 8113 irq_vector = h->intr_mode; in hpsa_request_irqs() 8122 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) { in hpsa_request_irqs() 8152 &h->q[h->intr_mode]); in hpsa_request_irqs() 8154 sprintf(h->intrname[h->intr_mode], in hpsa_request_irqs() 8159 &h->q[h->intr_mode]); in hpsa_request_irqs() 8713 h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT; in hpsa_init_one()
|