Home
last modified time | relevance | path

Searched refs:irq_sim_domain (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/iio/dummy/
Diio_dummy_evgen.c42 struct irq_domain *irq_sim_domain; member
56 iio_evgen->irq_sim_domain = irq_domain_create_sim(NULL, in iio_dummy_evgen_create()
58 if (IS_ERR(iio_evgen->irq_sim_domain)) { in iio_dummy_evgen_create()
59 ret = PTR_ERR(iio_evgen->irq_sim_domain); in iio_dummy_evgen_create()
85 ret = irq_create_mapping(iio_evgen->irq_sim_domain, i); in iio_dummy_evgen_get_irq()
126 irq_domain_remove_sim(iio_evgen->irq_sim_domain); in iio_dummy_evgen_free()
151 irq = irq_find_mapping(iio_evgen->irq_sim_domain, this_attr->address); in iio_evgen_poke()
/Linux-v6.1/drivers/gpio/
Dgpio-mockup.c51 struct irq_domain *irq_sim_domain; member
159 irq = irq_find_mapping(chip->irq_sim_domain, offset); in gpio_mockup_apply_pull()
248 return irq_create_mapping(chip->irq_sim_domain, offset); in gpio_mockup_to_irq()
390 irq = irq_find_mapping(chip->irq_sim_domain, i); in gpio_mockup_dispose_mappings()
450 chip->irq_sim_domain = devm_irq_domain_create_sim(dev, NULL, in gpio_mockup_probe()
452 if (IS_ERR(chip->irq_sim_domain)) in gpio_mockup_probe()
453 return PTR_ERR(chip->irq_sim_domain); in gpio_mockup_probe()