Home
last modified time | relevance | path

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

12

/linux/drivers/mailbox/
H A 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()
310 mbox->intr_mode = true; in altera_mbox_probe()
322 if (mbox->intr_mode) { in altera_mbox_probe()
/linux/drivers/scsi/snic/
H A Dsnic_res.c135 enum vnic_dev_intr_mode intr_mode; in snic_alloc_vnic_res() local
143 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_alloc_vnic_res()
146 ((intr_mode == VNIC_DEV_INTR_MODE_INTX) ? in snic_alloc_vnic_res()
148 ((intr_mode == VNIC_DEV_INTR_MODE_MSI) ? in snic_alloc_vnic_res()
150 ((intr_mode == VNIC_DEV_INTR_MODE_MSIX) ? in snic_alloc_vnic_res()
154 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res()
236 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res()
H A Dsnic_isr.c92 enum vnic_dev_intr_mode intr_mode; in snic_request_intr() local
94 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_request_intr()
95 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_request_intr()
H A Dvnic_dev.c40 enum vnic_dev_intr_mode intr_mode; member
671 enum vnic_dev_intr_mode intr_mode) in svnic_dev_set_intr_mode() argument
673 vdev->intr_mode = intr_mode; in svnic_dev_set_intr_mode()
678 return vdev->intr_mode; in svnic_dev_get_intr_mode()
H A Dsnic_main.c153 enum vnic_dev_intr_mode intr_mode; in snic_notify_set() local
155 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_notify_set()
157 if (intr_mode == VNIC_DEV_INTR_MODE_MSIX) { in snic_notify_set()
162 intr_mode); in snic_notify_set()
H A Dvnic_dev.h92 enum vnic_dev_intr_mode intr_mode);
/linux/drivers/scsi/fnic/
H A Dfnic_res.c60 GET_CONFIG(intr_mode); in fnic_get_vnic_config()
175 "vNIC intr mode: %d\n", c->intr_mode); in fnic_get_vnic_config()
245 enum vnic_dev_intr_mode intr_mode; in fnic_alloc_vnic_resources() local
254 intr_mode = vnic_dev_get_intr_mode(fnic->vdev); in fnic_alloc_vnic_resources()
257 intr_mode == VNIC_DEV_INTR_MODE_INTX ? "legacy PCI INTx" : in fnic_alloc_vnic_resources()
258 intr_mode == VNIC_DEV_INTR_MODE_MSI ? "MSI" : in fnic_alloc_vnic_resources()
259 intr_mode == VNIC_DEV_INTR_MODE_MSIX ? in fnic_alloc_vnic_resources()
342 if (!fnic->legacy_pba && intr_mode == VNIC_DEV_INTR_MODE_INTX) { in fnic_alloc_vnic_resources()
361 switch (intr_mode) { in fnic_alloc_vnic_resources()
398 switch (intr_mode) { in fnic_alloc_vnic_resources()
[all …]
H A Dvnic_dev.c46 enum vnic_dev_intr_mode intr_mode; member
872 enum vnic_dev_intr_mode intr_mode) in vnic_dev_set_intr_mode() argument
874 vdev->intr_mode = intr_mode; in vnic_dev_set_intr_mode()
880 return vdev->intr_mode; in vnic_dev_get_intr_mode()
H A Dvnic_scsi.h82 u8 intr_mode; member
H A Dvnic_dev.h146 enum vnic_dev_intr_mode intr_mode);
H A Dfnic_main.c586 int intr_mode = fnic->config.intr_mode; in fnic_mq_map_queues_cpus() local
589 if (intr_mode == VNIC_DEV_INTR_MODE_MSI || intr_mode == VNIC_DEV_INTR_MODE_INTX) { in fnic_mq_map_queues_cpus()
/linux/drivers/scsi/csiostor/
H A 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 …]
H A Dcsio_init.c266 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_create_queues()
363 if (hw->intr_mode != CSIO_IM_MSIX) { in csio_config_queues()
H A Dcsio_hw.h531 enum csio_intr_mode intr_mode; /* INTx, MSI, MSIX */ member
H A Dcsio_wr.c433 switch (hw->intr_mode) { in csio_wr_iq_create()
/linux/drivers/net/ethernet/emulex/benet/
H A 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()
H A Dbe_roce.h42 enum be_interrupt_mode intr_mode; member
/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_enet.h18 u8 intr_mode; member
H A Dvnic_dev.h87 enum vnic_dev_intr_mode intr_mode; member
154 enum vnic_dev_intr_mode intr_mode);
H A Dvnic_dev.c1000 enum vnic_dev_intr_mode intr_mode) in vnic_dev_set_intr_mode() argument
1002 vdev->intr_mode = intr_mode; in vnic_dev_set_intr_mode()
1008 return vdev->intr_mode; in vnic_dev_get_intr_mode()
H A Denic_main.c2454 if (enic->config.intr_mode < 1 && in enic_set_intr_mode()
2475 if (enic->config.intr_mode < 2 && in enic_set_intr_mode()
2491 if (enic->config.intr_mode < 3 && in enic_set_intr_mode()
/linux/drivers/scsi/esas2r/
H A 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()
677 esas2r_setup_interrupts(a, a->intr_mode); in esas2r_resume()
/linux/drivers/scsi/
H A Dhpsa.h187 int intr_mode; /* either PERF_MODE_INT or SIMPLE_MODE_INT */ member
H A Dhpsa.c8080 irq_vector = h->intr_mode; in hpsa_free_irqs()
8082 if (!h->msix_vectors || h->intr_mode != PERF_MODE_INT) { in hpsa_free_irqs()
8085 &h->q[h->intr_mode]); in hpsa_free_irqs()
8086 h->q[h->intr_mode] = 0; in hpsa_free_irqs()
8107 irq_vector = h->intr_mode; in hpsa_request_irqs()
8116 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) { in hpsa_request_irqs()
8146 &h->q[h->intr_mode]); in hpsa_request_irqs()
8148 sprintf(h->intrname[h->intr_mode], in hpsa_request_irqs()
8153 &h->q[h->intr_mode]); in hpsa_request_irqs()
8707 h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT; in hpsa_init_one()
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h230 u32 input, u32 pull_type, u32 intr_mode);
1129 u32 input, u32 pull_type, u32 intr_mode) in ath10k_wmi_gpio_config() argument
1136 skb = ar->wmi.ops->gen_gpio_config(ar, gpio_num, input, pull_type, intr_mode); in ath10k_wmi_gpio_config()

12