Searched refs:irq_sim (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/include/linux/ |
D | irq_sim.h | 27 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-v4.19/drivers/iio/dummy/ |
D | iio_dummy_evgen.c | 43 struct irq_sim irq_sim; member 58 ret = irq_sim_init(&iio_evgen->irq_sim, IIO_EVENTGEN_NO); in iio_dummy_evgen_create() 64 iio_evgen->base = irq_sim_irqnum(&iio_evgen->irq_sim, 0); in iio_dummy_evgen_create() 86 ret = irq_sim_irqnum(&iio_evgen->irq_sim, i); in iio_dummy_evgen_get_irq() 121 irq_sim_fini(&iio_evgen->irq_sim); in iio_dummy_evgen_free() 146 irq_sim_fire(&iio_evgen->irq_sim, this_attr->address); in iio_evgen_poke()
|
/Linux-v4.19/kernel/irq/ |
D | irq_sim.c | 11 struct irq_sim *sim; 52 int irq_sim_init(struct irq_sim *sim, unsigned int num_irqs) in irq_sim_init() 89 void irq_sim_fini(struct irq_sim *sim) in irq_sim_fini() 114 int devm_irq_sim_init(struct device *dev, struct irq_sim *sim, in devm_irq_sim_init() 143 void irq_sim_fire(struct irq_sim *sim, unsigned int offset) in irq_sim_fire() 159 int irq_sim_irqnum(struct irq_sim *sim, unsigned int offset) in irq_sim_irqnum()
|
D | Makefile | 8 obj-$(CONFIG_IRQ_SIM) += irq_sim.o
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-mockup.c | 52 struct irq_sim irqsim;
|