Home
last modified time | relevance | path

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

/device/soc/winnermicro/wm800/board/platform/drivers/adc/
Dwm_adc.c92 void tls_adc_clear_irq(int inttype) in tls_adc_clear_irq() argument
96 if (ADC_INT_TYPE_ADC == inttype) { in tls_adc_clear_irq()
99 } else if (ADC_INT_TYPE_ADC_COMP== inttype) { in tls_adc_clear_irq()
102 } else if (ADC_INT_TYPE_DMA == inttype) { in tls_adc_clear_irq()
107 void tls_adc_irq_register(int inttype, void (*callback)(int *buf, u16 len)) in tls_adc_irq_register() argument
109 if (ADC_INT_TYPE_ADC == inttype) { in tls_adc_irq_register()
111 } else if (ADC_INT_TYPE_DMA == inttype) { in tls_adc_irq_register()
113 } else if (ADC_INT_TYPE_ADC_COMP == inttype) { in tls_adc_irq_register()
/device/soc/winnermicro/wm800/board/include/driver/
Dwm_adc.h175 void tls_adc_irq_register(int inttype, void (*callback)(int *buf, u16 len));
188 void tls_adc_clear_irq(int inttype);