Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm/ti/
H A Dti_adc.c163 count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK; in ti_adc_disable()
165 (void)ADC_READ4(sc, ADC_FIFO0DATA); in ti_adc_disable()
171 (void)ADC_READ4(sc, ADC_FIFO1DATA); in ti_adc_disable()
198 if (enabled != ADC_READ4(sc, ADC_STEPENABLE)) in ti_adc_setup()
216 val = ADC_READ4(sc, reg); in ti_adc_input_setup()
264 reg = (int)ADC_READ4(sc, ADC_CLKDIV) + 1; in ti_adc_clockdiv_proc()
398 data = ADC_READ4(sc, ADC_FIFO0DATA); in ti_adc_read_data()
507 rawstatus = ADC_READ4(sc, ADC_IRQSTATUS_RAW); in ti_adc_intr()
508 status = ADC_READ4(sc, ADC_IRQSTATUS); in ti_adc_intr()
660 val = ADC_READ4(sc, ADC_IDLECONFIG); in ti_adc_tsc_init()
[all …]
H A Dti_adcvar.h32 #define ADC_READ4(_sc, reg) bus_read_4((_sc)->sc_mem_res, reg) macro