Searched refs:ADC_READ4 (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/arm/ti/ |
| H A D | ti_adc.c | 166 count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK; in ti_adc_disable() 168 data = ADC_READ4(sc, ADC_FIFO0DATA); in ti_adc_disable() 174 data = ADC_READ4(sc, ADC_FIFO1DATA); in ti_adc_disable() 201 if (enabled != ADC_READ4(sc, ADC_STEPENABLE)) in ti_adc_setup() 219 val = ADC_READ4(sc, reg); in ti_adc_input_setup() 267 reg = (int)ADC_READ4(sc, ADC_CLKDIV) + 1; in ti_adc_clockdiv_proc() 401 data = ADC_READ4(sc, ADC_FIFO0DATA); in ti_adc_read_data() 510 rawstatus = ADC_READ4(sc, ADC_IRQSTATUS_RAW); in ti_adc_intr() 511 status = ADC_READ4(sc, ADC_IRQSTATUS); in ti_adc_intr() 663 val = ADC_READ4(sc, ADC_IDLECONFIG); in ti_adc_tsc_init() [all …]
|
| H A D | ti_adcvar.h | 34 #define ADC_READ4(_sc, reg) bus_read_4((_sc)->sc_mem_res, reg) macro
|