Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dtwl4030-madc.c168 bool use_second_irq; member
183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
780 madc->use_second_irq = (pdata->irq_line != 1); in twl4030_madc_probe()
782 madc->use_second_irq = of_property_read_bool(np, in twl4030_madc_probe()
785 madc->imr = madc->use_second_irq ? TWL4030_MADC_IMR2 : in twl4030_madc_probe()
787 madc->isr = madc->use_second_irq ? TWL4030_MADC_ISR2 : in twl4030_madc_probe()