Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/xen/events/
Devents_base.c97 struct irq_info { struct
186 static struct irq_info *legacy_info_ptrs[NR_IRQS_LEGACY];
252 static struct irq_info *info_for_irq(unsigned irq) in info_for_irq()
260 static void set_info_for_irq(unsigned int irq, struct irq_info *info) in set_info_for_irq()
268 static struct irq_info *evtchn_to_info(evtchn_port_t evtchn) in evtchn_to_info()
282 static void channels_on_cpu_dec(struct irq_info *info) in channels_on_cpu_dec()
295 static void channels_on_cpu_inc(struct irq_info *info) in channels_on_cpu_inc()
316 struct irq_info *info = container_of(to_rcu_work(work), struct irq_info, in delayed_free_irq()
329 static int xen_irq_info_common_setup(struct irq_info *info, in xen_irq_info_common_setup()
353 static int xen_irq_info_evtchn_setup(struct irq_info *info, in xen_irq_info_evtchn_setup()
[all …]
/linux-6.6.21/drivers/media/radio/wl128x/
Dfmdrv_common.c173 fmdev->irq_info.handlers[fmdev->irq_info.stage](fmdev); in fm_irq_call()
179 fmdev->irq_info.stage = stage; in fm_irq_call_stage()
185 fmdev->irq_info.stage = stage; in fm_irq_timeout_stage()
186 mod_timer(&fmdev->irq_info.timer, jiffies + FM_DRV_TX_TIMEOUT); in fm_irq_timeout_stage()
253 struct fm_irq *irq_info; in recv_tasklet() local
260 irq_info = &fmdev->irq_info; in recv_tasklet()
279 if (irq_info->stage != 0) { in recv_tasklet()
281 irq_info->stage = 0; in recv_tasklet()
288 irq_info->handlers[irq_info->stage](fmdev); in recv_tasklet()
315 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-6.6.21/drivers/misc/cxl/
Dirq.c34 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl9() argument
38 dsisr = irq_info->dsisr; in cxl_irq_psl9()
39 dar = irq_info->dar; in cxl_irq_psl9()
52 irq_info->errstat); in cxl_irq_psl9()
54 pr_devel("CXL interrupt: AFU Error 0x%016llx\n", irq_info->afu_err); in cxl_irq_psl9()
65 ctx->pe, irq_info->afu_err); in cxl_irq_psl9()
68 ctx->afu_err = irq_info->afu_err; in cxl_irq_psl9()
85 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl8() argument
89 dsisr = irq_info->dsisr; in cxl_irq_psl8()
90 dar = irq_info->dar; in cxl_irq_psl8()
[all …]
Dnative.c1159 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info) in cxl_fail_irq_psl() argument
1161 if (cxl_is_translation_fault(afu, irq_info->dsisr)) in cxl_fail_irq_psl()
1173 struct cxl_irq_info irq_info; in native_irq_multiplexed() local
1186 if ((res = native_get_irq_info(afu, &irq_info))) { in native_irq_multiplexed()
1189 return afu->adapter->native->sl_ops->fail_irq(afu, &irq_info); in native_irq_multiplexed()
1197 ret = afu->adapter->native->sl_ops->handle_interrupt(irq, ctx, &irq_info); in native_irq_multiplexed()
1205 " with outstanding transactions?)\n", ph, irq_info.dsisr, in native_irq_multiplexed()
1206 irq_info.dar); in native_irq_multiplexed()
1208 ret = afu->adapter->native->sl_ops->fail_irq(afu, &irq_info); in native_irq_multiplexed()
Dcxl.h634 irqreturn_t (*handle_interrupt)(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
635 irqreturn_t (*fail_irq)(struct cxl_afu *afu, struct cxl_irq_info *irq_info);
1012 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1013 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1014 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info);
Dguest.c164 struct cxl_irq_info irq_info; in guest_psl_irq() local
168 rc = guest_get_irq_info(ctx, &irq_info); in guest_psl_irq()
174 rc = cxl_irq_psl8(irq, ctx, &irq_info); in guest_psl_irq()
/linux-6.6.21/drivers/virt/acrn/
Dhsm.c114 struct acrn_ptdev_irq *irq_info; in acrn_dev_ioctl() local
304 irq_info = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
306 if (IS_ERR(irq_info)) in acrn_dev_ioctl()
307 return PTR_ERR(irq_info); in acrn_dev_ioctl()
309 ret = hcall_set_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
313 kfree(irq_info); in acrn_dev_ioctl()
316 irq_info = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
318 if (IS_ERR(irq_info)) in acrn_dev_ioctl()
319 return PTR_ERR(irq_info); in acrn_dev_ioctl()
321 ret = hcall_reset_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dirq.c297 virq_get_channel_signals(struct virq_info *irq_info) in virq_get_channel_signals() argument
302 assert(irq_info); in virq_get_channel_signals()
314 irq_info->irq_status_reg[ID] |= irq_data; in virq_get_channel_signals()
326 void virq_clear_info(struct virq_info *irq_info) in virq_clear_info() argument
330 assert(irq_info); in virq_clear_info()
333 irq_info->irq_status_reg[ID] = 0; in virq_clear_info()
Dinput_system.c341 const rx_irq_info_t irq_info) in receiver_irq_enable() argument
344 port_ID, _HRT_CSS_RECEIVER_IRQ_ENABLE_REG_IDX, irq_info); in receiver_irq_enable()
358 const rx_irq_info_t irq_info) in receiver_irq_clear() argument
361 port_ID, _HRT_CSS_RECEIVER_IRQ_STATUS_REG_IDX, irq_info); in receiver_irq_clear()
/linux-6.6.21/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dirq_public.h154 void virq_clear_info(struct virq_info *irq_info);
181 virq_get_channel_signals(struct virq_info *irq_info);
/linux-6.6.21/sound/soc/codecs/
Dtas2781-i2c.c621 tas_priv->irq_info.irq_gpio = in tasdevice_parse_dt()
649 tas_priv->irq_info.irq_gpio = of_irq_get(np, 0); in tasdevice_parse_dt()
663 if (gpio_is_valid(tas_priv->irq_info.irq_gpio)) { in tasdevice_parse_dt()
664 rc = gpio_request(tas_priv->irq_info.irq_gpio, in tasdevice_parse_dt()
668 tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
670 tas_priv->irq_info.irq = in tasdevice_parse_dt()
671 gpio_to_irq(tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
674 __func__, tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
678 tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
Dtas2781-comlib.c409 if (gpio_is_valid(tas_priv->irq_info.irq_gpio)) in tasdevice_remove()
410 gpio_free(tas_priv->irq_info.irq_gpio); in tasdevice_remove()
/linux-6.6.21/drivers/platform/mellanox/
Dmlxbf-tmfifo.c200 struct mlxbf_tmfifo_irq_info irq_info[MLXBF_TM_MAX_IRQ]; member
308 irq = fifo->irq_info[i].irq; in mlxbf_tmfifo_disable_irqs()
309 fifo->irq_info[i].irq = 0; in mlxbf_tmfifo_disable_irqs()
317 struct mlxbf_tmfifo_irq_info *irq_info = arg; in mlxbf_tmfifo_irq_handler() local
319 if (!test_and_set_bit(irq_info->index, &irq_info->fifo->pend_events)) in mlxbf_tmfifo_irq_handler()
320 schedule_work(&irq_info->fifo->work); in mlxbf_tmfifo_irq_handler()
941 !fifo->irq_info[irq_id].irq) in mlxbf_tmfifo_work_rxtx()
1385 fifo->irq_info[i].index = i; in mlxbf_tmfifo_probe()
1386 fifo->irq_info[i].fifo = fifo; in mlxbf_tmfifo_probe()
1387 fifo->irq_info[i].irq = platform_get_irq(pdev, i); in mlxbf_tmfifo_probe()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dpci_x86.h74 struct irq_info { struct
97 struct irq_info slots[]; argument
106 struct irq_info slots[];
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Disp2400_input_system_public.h112 const rx_irq_info_t irq_info);
136 const rx_irq_info_t irq_info);
/linux-6.6.21/arch/x86/pci/
Dirq.c213 struct irq_info *e; in pirq_peer_trick()
216 for (i = 0; i < (rt->size - sizeof(struct irq_routing_table)) / sizeof(struct irq_info); i++) { in pirq_peer_trick()
1344 static struct irq_info *pirq_get_dev_info(struct pci_dev *dev) in pirq_get_dev_info()
1348 sizeof(struct irq_info); in pirq_get_dev_info()
1349 struct irq_info *slotinfo = NULL; in pirq_get_dev_info()
1350 struct irq_info *info; in pirq_get_dev_info()
1369 static struct irq_info *pirq_get_info(struct pci_dev *dev, u8 *pin) in pirq_get_info()
1372 struct irq_info *info; in pirq_get_info()
1396 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-6.6.21/samples/vfio-mdev/
Dmtty.c1174 static int mtty_get_irq_info(struct vfio_irq_info *irq_info) in mtty_get_irq_info() argument
1176 if (irq_info->index != VFIO_PCI_INTX_IRQ_INDEX && in mtty_get_irq_info()
1177 irq_info->index != VFIO_PCI_MSI_IRQ_INDEX) in mtty_get_irq_info()
1180 irq_info->flags = VFIO_IRQ_INFO_EVENTFD; in mtty_get_irq_info()
1181 irq_info->count = 1; in mtty_get_irq_info()
1183 if (irq_info->index == VFIO_PCI_INTX_IRQ_INDEX) in mtty_get_irq_info()
1184 irq_info->flags |= VFIO_IRQ_INFO_MASKABLE | in mtty_get_irq_info()
1187 irq_info->flags |= VFIO_IRQ_INFO_NORESIZE; in mtty_get_irq_info()
Dmdpy.c467 static int mdpy_get_irq_info(struct vfio_irq_info *irq_info) in mdpy_get_irq_info() argument
469 irq_info->count = 0; in mdpy_get_irq_info()
Dmbochs.c1084 static int mbochs_get_irq_info(struct vfio_irq_info *irq_info) in mbochs_get_irq_info() argument
1086 irq_info->count = 0; in mbochs_get_irq_info()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_core.c84 struct irq_info { struct
111 struct irq_info *i = dev_id; in serial8250_interrupt() argument
153 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()
188 i = kzalloc(sizeof(struct irq_info), GFP_KERNEL); in serial_link_irq_chain()
221 struct irq_info *i; in serial_unlink_irq_chain()
/linux-6.6.21/include/sound/
Dtas2781.h93 struct tasdevice_irqinfo irq_info; member
/linux-6.6.21/drivers/iio/accel/
Dbmc150-accel-core.c545 const struct bmc150_accel_interrupt_info *irq_info = NULL; in bmc150_accel_interrupts_setup() local
555 irq_info = bmc150_accel_interrupts_int1; in bmc150_accel_interrupts_setup()
558 irq_info = bmc150_accel_interrupts_int2; in bmc150_accel_interrupts_setup()
561 data->interrupts[i].info = &irq_info[i]; in bmc150_accel_interrupts_setup()

12