Home
last modified time | relevance | path

Searched refs:ucb1x00_adc_read (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Ducb1x00-ts.c99 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_AD2, ts->adcsync); in ucb1x00_ts_read_pressure()
106 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPY, ts->adcsync); in ucb1x00_ts_read_pressure()
134 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPY, ts->adcsync); in ucb1x00_ts_read_xpos()
162 return ucb1x00_adc_read(ts->ucb, UCB_ADC_INP_TSPX, ts->adcsync); in ucb1x00_ts_read_ypos()
174 return ucb1x00_adc_read(ts->ucb, 0, ts->adcsync); in ucb1x00_ts_read_xres()
186 return ucb1x00_adc_read(ts->ucb, 0, ts->adcsync); in ucb1x00_ts_read_yres()
H A Ducb1x00-assabet.c27 val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \
H A Ducb1x00-core.c237 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) in ucb1x00_adc_read() function
769 EXPORT_SYMBOL(ucb1x00_adc_read);
/openbmc/linux/drivers/power/supply/
H A Dcollie_battery.c64 value = ucb1x00_adc_read(ucb, bat->adc_bat, UCB_SYNC); in collie_read_bat()
83 value = ucb1x00_adc_read(ucb, bat->adc_temp, UCB_SYNC); in collie_read_temp()
/openbmc/linux/include/linux/mfd/
H A Ducb1x00.h254 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync);