Searched refs:ADC_READ4 (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/sys/arm/ti/ |
H A D | ti_adc.c | 156 ADC_WRITE4(sc, ADC_CTRL, ADC_READ4(sc, ADC_CTRL) & ~ADC_CTRL_ENABLE); 163 ADC_WRITE4(sc, ADC_IRQSTATUS, ADC_READ4(sc, ADC_IRQSTATUS)); 166 count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK; 168 data = ADC_READ4(sc, ADC_FIFO0DATA); 169 count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK; 172 count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK; 174 data = ADC_READ4(sc, ADC_FIFO1DATA); 175 count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK; 201 if (enabled != ADC_READ4(sc, ADC_STEPENABLE)) 219 val = ADC_READ4(s [all...] |
H A D | ti_adcvar.h | 34 #define ADC_READ4(_sc, reg) bus_read_4((_sc)->sc_mem_res, reg) macro
|
Completed in 49 milliseconds