Lines Matching refs:event1
125 struct palmas_adc_event event1; member
138 if (adc_chan == adc->event1.channel && dir == adc->event1.direction) in palmas_gpadc_get_event()
139 return &adc->event1; in palmas_gpadc_get_event()
227 ev = (irq == adc->irq_auto_0) ? &adc->event0 : &adc->event1; in palmas_gpadc_irq_auto()
614 return (adc->event0.enabled || adc->event1.enabled) ? in palmas_gpadc_reconfigure_event_channels()
632 } else if (adc->event1.channel == -1) { in palmas_gpadc_enable_event_config()
635 adc->event1 = adc->event0; in palmas_gpadc_enable_event_config()
638 ev = &adc->event1; in palmas_gpadc_enable_event_config()
642 adc->event0.channel, adc->event1.channel); in palmas_gpadc_enable_event_config()
664 adc->event0 = adc->event1; in palmas_gpadc_disable_event_config()
665 ev = &adc->event1; in palmas_gpadc_disable_event_config()
862 if (adc->event0.enabled || adc->event1.enabled) in palmas_gpadc_reset()
943 adc->event1.enabled = false; in palmas_gpadc_probe()
944 adc->event1.channel = -1; in palmas_gpadc_probe()
945 adc->event1.direction = IIO_EV_DIR_NONE; in palmas_gpadc_probe()
1056 if (adc->event1.enabled) { in palmas_adc_configure_events()
1057 struct palmas_adc_event *ev = &adc->event1; in palmas_adc_configure_events()
1139 if (adc->event1.enabled) in palmas_gpadc_suspend()
1156 if (adc->event1.enabled) in palmas_gpadc_resume()