Home
last modified time | relevance | path

Searched refs:intr_mode (Results 1 – 25 of 33) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
Denic_res.c71 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 …]
Dvnic_dev.h95 enum vnic_dev_intr_mode intr_mode; member
162 enum vnic_dev_intr_mode intr_mode);
Dvnic_enet.h31 u8 intr_mode; member
Dvnic_dev.c1017 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()
Denic_main.c2402 enic->config.intr_mode < 1 && in enic_set_intr_mode()
2423 if (enic->config.intr_mode < 1 && in enic_set_intr_mode()
2448 if (enic->config.intr_mode < 2 && in enic_set_intr_mode()
2473 if (enic->config.intr_mode < 3 && in enic_set_intr_mode()
/drivers/mailbox/
Dmailbox-altera.c41 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()
313 mbox->intr_mode = true; in altera_mbox_probe()
325 if (mbox->intr_mode) { in altera_mbox_probe()
/drivers/scsi/snic/
Dsnic_res.c149 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()
Dsnic_isr.c106 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()
Dvnic_dev.c54 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()
Dsnic_main.c167 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()
Dvnic_dev.h106 enum vnic_dev_intr_mode intr_mode);
/drivers/scsi/csiostor/
Dcsio_isr.c319 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 …]
Dcsio_init.c270 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_create_queues()
367 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_config_queues()
Dcsio_hw.h531 enum csio_intr_mode intr_mode; /* INTx, MSI, MSIX */ member
/drivers/scsi/fnic/
Dfnic_res.c232 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()
Dvnic_dev.c58 enum vnic_dev_intr_mode intr_mode; member
878 enum vnic_dev_intr_mode intr_mode) in vnic_dev_set_intr_mode() argument
880 vdev->intr_mode = intr_mode; in vnic_dev_set_intr_mode()
886 return vdev->intr_mode; in vnic_dev_get_intr_mode()
Dvnic_dev.h158 enum vnic_dev_intr_mode intr_mode);
/drivers/net/ethernet/neterion/vxge/
Dvxge-traffic.c343 u32 vxge_hw_device_set_intr_type(struct __vxge_hw_device *hldev, u32 intr_mode) in vxge_hw_device_set_intr_type() argument
346 if ((intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in vxge_hw_device_set_intr_type()
347 (intr_mode != VXGE_HW_INTR_MODE_MSIX) && in vxge_hw_device_set_intr_type()
348 (intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in vxge_hw_device_set_intr_type()
349 (intr_mode != VXGE_HW_INTR_MODE_DEF)) in vxge_hw_device_set_intr_type()
350 intr_mode = VXGE_HW_INTR_MODE_IRQLINE; in vxge_hw_device_set_intr_type()
352 hldev->config.intr_mode = intr_mode; in vxge_hw_device_set_intr_type()
353 return intr_mode; in vxge_hw_device_set_intr_type()
384 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) { in vxge_hw_device_intr_enable()
473 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) in vxge_hw_device_unmask_all()
[all …]
Dvxge-config.c1279 if ((new_config->intr_mode != VXGE_HW_INTR_MODE_IRQLINE) && in __vxge_hw_device_config_check()
1280 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX) && in __vxge_hw_device_config_check()
1281 (new_config->intr_mode != VXGE_HW_INTR_MODE_MSIX_ONE_SHOT) && in __vxge_hw_device_config_check()
1282 (new_config->intr_mode != VXGE_HW_INTR_MODE_DEF)) in __vxge_hw_device_config_check()
2912 device_config->intr_mode = VXGE_HW_INTR_MODE_DEF; in vxge_hw_device_config_default_get()
/drivers/net/ethernet/emulex/benet/
Dbe_roce.c64 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()
Dbe_roce.h42 enum be_interrupt_mode intr_mode; member
/drivers/scsi/lpfc/
Dlpfc_init.c1768 uint32_t intr_mode; in lpfc_sli4_port_sta_fn_reset() local
1798 intr_mode = lpfc_sli4_enable_intr(phba, phba->intr_mode); in lpfc_sli4_port_sta_fn_reset()
1799 if (intr_mode == LPFC_INTR_ERROR) { in lpfc_sli4_port_sta_fn_reset()
1804 phba->intr_mode = intr_mode; in lpfc_sli4_port_sta_fn_reset()
5955 static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode) in lpfc_log_intr_mode() argument
5957 switch (intr_mode) { in lpfc_log_intr_mode()
10492 uint32_t intr_mode = LPFC_INTR_ERROR; in lpfc_sli_enable_intr() local
10504 intr_mode = 2; in lpfc_sli_enable_intr()
10515 intr_mode = 1; in lpfc_sli_enable_intr()
10526 intr_mode = 0; in lpfc_sli_enable_intr()
[all …]
/drivers/scsi/esas2r/
Desas2r_init.c197 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()
703 esas2r_setup_interrupts(a, a->intr_mode); in esas2r_resume()
/drivers/scsi/
Dhpsa.h186 int intr_mode; /* either PERF_MODE_INT or SIMPLE_MODE_INT */ member
Dhpsa.c8033 irq_vector = h->intr_mode; in hpsa_free_irqs()
8035 if (!h->msix_vectors || h->intr_mode != PERF_MODE_INT) { in hpsa_free_irqs()
8038 &h->q[h->intr_mode]); in hpsa_free_irqs()
8039 h->q[h->intr_mode] = 0; in hpsa_free_irqs()
8060 irq_vector = h->intr_mode; in hpsa_request_irqs()
8069 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) { in hpsa_request_irqs()
8099 &h->q[h->intr_mode]); in hpsa_request_irqs()
8101 sprintf(h->intrname[h->intr_mode], in hpsa_request_irqs()
8106 &h->q[h->intr_mode]); in hpsa_request_irqs()
8647 h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT; in hpsa_init_one()

12