Home
last modified time | relevance | path

Searched refs:irq_info (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/drivers/misc/mic/host/
Dmic_intr.c19 struct mic_irq_info *irq_info = &mdev->irq_info; in mic_thread_fn() local
24 spin_lock(&irq_info->mic_thread_lock); in mic_thread_fn()
27 if (test_and_clear_bit(i, &irq_info->mask)) { in mic_thread_fn()
28 list_for_each_entry(intr_cb, &irq_info->cb_list[i], in mic_thread_fn()
34 spin_unlock(&irq_info->mic_thread_lock); in mic_thread_fn()
45 struct mic_irq_info *irq_info = &mdev->irq_info; in mic_interrupt() local
55 spin_lock(&irq_info->mic_intr_lock); in mic_interrupt()
59 list_for_each_entry(intr_cb, &irq_info->cb_list[i], in mic_interrupt()
64 set_bit(i, &irq_info->mask); in mic_interrupt()
66 spin_unlock(&irq_info->mic_intr_lock); in mic_interrupt()
[all …]
Dmic_debugfs.c68 for (i = 0; i < mdev->irq_info.num_vectors; i++) { in mic_msi_irq_info_show()
70 entry = mdev->irq_info.msix_entries[i].entry; in mic_msi_irq_info_show()
71 vector = mdev->irq_info.msix_entries[i].vector; in mic_msi_irq_info_show()
91 (mdev->irq_info.mic_msi_map[i] & in mic_msi_irq_info_show()
Dmic_device.h76 struct mic_irq_info irq_info; member
Dmic_x100.c81 if (mdev->irq_info.num_vectors > 1) { in mic_x100_enable_interrupts()
104 if (mdev->irq_info.num_vectors > 1) { in mic_x100_disable_interrupts()
Dmic_main.c147 mdev->irq_info.next_avail_src = 0; in mic_device_init()
/Linux-v5.4/drivers/media/radio/wl128x/
Dfmdrv_common.c170 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call()
176 fmdev->irq_info.stage = stage; in fm_irq_call_stage()
182 fmdev->irq_info.stage = stage; in fm_irq_timeout_stage()
183 mod_timer(&fmdev->irq_info.timer, jiffies + FM_DRV_TX_TIMEOUT); in fm_irq_timeout_stage()
250 struct fm_irq *irq_info; in recv_tasklet() local
257 irq_info = &fmdev->irq_info; in recv_tasklet()
276 if (irq_info->stage != 0) { in recv_tasklet()
278 irq_info->stage = 0; in recv_tasklet()
285 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
312 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
[all …]
Dfmdrv_rx.c23 fmdev->irq_info.mask |= FM_LEV_EVENT; in fm_rx_reset_rds_cache()
75 intr_flag = fmdev->irq_info.mask; in fm_rx_set_freq()
76 fmdev->irq_info.mask = (FM_FR_EVENT | FM_BL_EVENT); in fm_rx_set_freq()
77 payload = fmdev->irq_info.mask; in fm_rx_set_freq()
118 fmdev->irq_info.mask = intr_flag; in fm_rx_set_freq()
119 payload = fmdev->irq_info.mask; in fm_rx_set_freq()
219 intr_flag = fmdev->irq_info.mask; in fm_rx_seek()
220 fmdev->irq_info.mask = (FM_FR_EVENT | FM_BL_EVENT); in fm_rx_seek()
221 payload = fmdev->irq_info.mask; in fm_rx_seek()
244 int_reason = fmdev->irq_info.flag & (FM_TUNE_COMPLETE | FM_BAND_LIMIT); in fm_rx_seek()
[all …]
Dfmdrv.h217 struct fm_irq irq_info; member
/Linux-v5.4/drivers/xen/events/
Devents_internal.h31 struct irq_info { struct
60 int (*setup)(struct irq_info *info); argument
61 void (*bind_to_cpu)(struct irq_info *info, unsigned cpu);
79 struct irq_info *info_for_irq(unsigned irq);
92 static inline int xen_evtchn_port_setup(struct irq_info *info) in xen_evtchn_port_setup()
99 static inline void xen_evtchn_port_bind_to_cpu(struct irq_info *info, in xen_evtchn_port_bind_to_cpu()
Devents_base.c156 struct irq_info *info_for_irq(unsigned irq) in info_for_irq()
162 static int xen_irq_info_common_setup(struct irq_info *info, in xen_irq_info_common_setup()
189 struct irq_info *info = info_for_irq(irq); in xen_irq_info_evtchn_setup()
199 struct irq_info *info = info_for_irq(irq); in xen_irq_info_ipi_setup()
213 struct irq_info *info = info_for_irq(irq); in xen_irq_info_virq_setup()
229 struct irq_info *info = info_for_irq(irq); in xen_irq_info_pirq_setup()
239 static void xen_irq_info_cleanup(struct irq_info *info) in xen_irq_info_cleanup()
269 struct irq_info *info = info_for_irq(irq); in ipi_from_irq()
279 struct irq_info *info = info_for_irq(irq); in virq_from_irq()
289 struct irq_info *info = info_for_irq(irq); in pirq_from_irq()
[all …]
Devents_fifo.c141 static int evtchn_fifo_setup(struct irq_info *info) in evtchn_fifo_setup()
189 static void evtchn_fifo_bind_to_cpu(struct irq_info *info, unsigned cpu) in evtchn_fifo_bind_to_cpu()
Devents_2l.c50 static void evtchn_2l_bind_to_cpu(struct irq_info *info, unsigned cpu) in evtchn_2l_bind_to_cpu()
/Linux-v5.4/drivers/misc/cxl/
Dirq.c33 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl9() argument
37 dsisr = irq_info->dsisr; in cxl_irq_psl9()
38 dar = irq_info->dar; in cxl_irq_psl9()
51 irq_info->errstat); in cxl_irq_psl9()
53 pr_devel("CXL interrupt: AFU Error 0x%016llx\n", irq_info->afu_err); in cxl_irq_psl9()
64 ctx->pe, irq_info->afu_err); in cxl_irq_psl9()
67 ctx->afu_err = irq_info->afu_err; in cxl_irq_psl9()
84 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl8() argument
88 dsisr = irq_info->dsisr; in cxl_irq_psl8()
89 dar = irq_info->dar; in cxl_irq_psl8()
[all …]
Dnative.c1163 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info) in cxl_fail_irq_psl() argument
1165 if (cxl_is_translation_fault(afu, irq_info->dsisr)) in cxl_fail_irq_psl()
1177 struct cxl_irq_info irq_info; in native_irq_multiplexed() local
1190 if ((res = native_get_irq_info(afu, &irq_info))) { in native_irq_multiplexed()
1193 return afu->adapter->native->sl_ops->fail_irq(afu, &irq_info); in native_irq_multiplexed()
1201 ret = afu->adapter->native->sl_ops->handle_interrupt(irq, ctx, &irq_info); in native_irq_multiplexed()
1209 " with outstanding transactions?)\n", ph, irq_info.dsisr, in native_irq_multiplexed()
1210 irq_info.dar); in native_irq_multiplexed()
1212 ret = afu->adapter->native->sl_ops->fail_irq(afu, &irq_info); in native_irq_multiplexed()
Dcxl.h632 irqreturn_t (*handle_interrupt)(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
633 irqreturn_t (*fail_irq)(struct cxl_afu *afu, struct cxl_irq_info *irq_info);
1010 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1011 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1012 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info);
/Linux-v5.4/drivers/misc/mic/card/
Dmic_device.c92 mdrv->irq_info.irq_usage_count[index]++; in mic_request_card_irq()
115 mdrv->irq_info.irq_usage_count[index]--; in mic_free_card_irq()
130 if (mdrv->irq_info.irq_usage_count[i] < in mic_next_card_db()
131 mdrv->irq_info.irq_usage_count[index]) in mic_next_card_db()
147 mdrv->irq_info.irq_usage_count = kzalloc((sizeof(u32) * in mic_init_irq()
150 if (!mdrv->irq_info.irq_usage_count) in mic_init_irq()
164 kfree(mdrv->irq_info.irq_usage_count); in mic_uninit_irq()
Dmic_device.h77 struct mic_irq_info irq_info; member
/Linux-v5.4/drivers/platform/mellanox/
Dmlxbf-tmfifo.c163 struct mlxbf_tmfifo_irq_info irq_info[MLXBF_TM_MAX_IRQ]; member
269 irq = fifo->irq_info[i].irq; in mlxbf_tmfifo_disable_irqs()
270 fifo->irq_info[i].irq = 0; in mlxbf_tmfifo_disable_irqs()
278 struct mlxbf_tmfifo_irq_info *irq_info = arg; in mlxbf_tmfifo_irq_handler() local
280 if (!test_and_set_bit(irq_info->index, &irq_info->fifo->pend_events)) in mlxbf_tmfifo_irq_handler()
281 schedule_work(&irq_info->fifo->work); in mlxbf_tmfifo_irq_handler()
798 !fifo->irq_info[irq_id].irq) in mlxbf_tmfifo_work_rxtx()
1211 fifo->irq_info[i].index = i; in mlxbf_tmfifo_probe()
1212 fifo->irq_info[i].fifo = fifo; in mlxbf_tmfifo_probe()
1213 fifo->irq_info[i].irq = platform_get_irq(pdev, i); in mlxbf_tmfifo_probe()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dpci_x86.h67 struct irq_info { struct
90 struct irq_info slots[0]; argument
/Linux-v5.4/drivers/tty/serial/8250/
D8250_core.c83 struct irq_info { struct
110 struct irq_info *i = dev_id; in serial8250_interrupt() argument
152 static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) in serial_do_unlink()
176 struct irq_info *i; in serial_link_irq_chain()
184 i = hlist_entry(n, struct irq_info, node); in serial_link_irq_chain()
190 i = kzalloc(sizeof(struct irq_info), GFP_KERNEL); in serial_link_irq_chain()
228 struct irq_info *i; in serial_unlink_irq_chain()
237 i = hlist_entry(n, struct irq_info, node); in serial_unlink_irq_chain()
/Linux-v5.4/arch/x86/pci/
Dirq.c124 struct irq_info *e; in pirq_peer_trick()
127 for (i = 0; i < (rt->size - sizeof(struct irq_routing_table)) / sizeof(struct irq_info); i++) { in pirq_peer_trick()
867 static struct irq_info *pirq_get_info(struct pci_dev *dev) in pirq_get_info()
871 sizeof(struct irq_info); in pirq_get_info()
872 struct irq_info *info; in pirq_get_info()
884 struct irq_info *info; in pcibios_lookup_irq()
Dpcbios.c349 struct irq_info *table;
365 opt.table = (struct irq_info *) page; in pcibios_get_irq_routing_table()
/Linux-v5.4/drivers/visorbus/
Dcontrolvmchannel.h149 struct irq_info { struct
257 struct irq_info intr;
/Linux-v5.4/samples/vfio-mdev/
Dmtty.c1093 struct vfio_irq_info *irq_info) in mtty_get_irq_info() argument
1095 switch (irq_info->index) { in mtty_get_irq_info()
1105 irq_info->flags = VFIO_IRQ_INFO_EVENTFD; in mtty_get_irq_info()
1106 irq_info->count = 1; in mtty_get_irq_info()
1108 if (irq_info->index == VFIO_PCI_INTX_IRQ_INDEX) in mtty_get_irq_info()
1109 irq_info->flags |= (VFIO_IRQ_INFO_MASKABLE | in mtty_get_irq_info()
1112 irq_info->flags |= VFIO_IRQ_INFO_NORESIZE; in mtty_get_irq_info()
Dmdpy.c464 struct vfio_irq_info *irq_info) in mdpy_get_irq_info() argument
466 irq_info->count = 0; in mdpy_get_irq_info()

12