Home
last modified time | relevance | path

Searched refs:irq_sim (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/linux/
Dirq_sim.h27 struct irq_sim { struct
34 int irq_sim_init(struct irq_sim *sim, unsigned int num_irqs); argument
35 int devm_irq_sim_init(struct device *dev, struct irq_sim *sim,
37 void irq_sim_fini(struct irq_sim *sim);
38 void irq_sim_fire(struct irq_sim *sim, unsigned int offset);
39 int irq_sim_irqnum(struct irq_sim *sim, unsigned int offset);
/Linux-v5.4/kernel/irq/
Dirq_sim.c11 struct irq_sim *sim;
50 struct irq_sim *sim; in irq_sim_handle_irq()
54 sim = container_of(work_ctx, struct irq_sim, work_ctx); in irq_sim_handle_irq()
75 int irq_sim_init(struct irq_sim *sim, unsigned int num_irqs) in irq_sim_init()
119 void irq_sim_fini(struct irq_sim *sim) in irq_sim_fini()
145 int devm_irq_sim_init(struct device *dev, struct irq_sim *sim, in devm_irq_sim_init()
174 void irq_sim_fire(struct irq_sim *sim, unsigned int offset) in irq_sim_fire()
190 int irq_sim_irqnum(struct irq_sim *sim, unsigned int offset) in irq_sim_irqnum()
DMakefile11 obj-$(CONFIG_IRQ_SIM) += irq_sim.o
/Linux-v5.4/drivers/iio/dummy/
Diio_dummy_evgen.c40 struct irq_sim irq_sim; member
55 ret = irq_sim_init(&iio_evgen->irq_sim, IIO_EVENTGEN_NO); in iio_dummy_evgen_create()
61 iio_evgen->base = irq_sim_irqnum(&iio_evgen->irq_sim, 0); in iio_dummy_evgen_create()
83 ret = irq_sim_irqnum(&iio_evgen->irq_sim, i); in iio_dummy_evgen_get_irq()
118 irq_sim_fini(&iio_evgen->irq_sim); in iio_dummy_evgen_free()
143 irq_sim_fire(&iio_evgen->irq_sim, this_attr->address); in iio_evgen_poke()
/Linux-v5.4/drivers/gpio/
Dgpio-mockup.c56 struct irq_sim irqsim;
234 struct irq_sim *sim; in gpio_mockup_debugfs_write()