Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dat91-sama5d2_adc.c602 struct at91_adc_touch touch_st; member
1005 st->touch_st.sample_period_val = in at91_adc_configure_touch()
1047 st->touch_st.x_pos = at91_adc_touch_pos(st, st->soc_info.platform->layout->XPOSR); in at91_adc_touch_x_pos()
1048 return st->touch_st.x_pos; in at91_adc_touch_x_pos()
1070 pres = rxp * (st->touch_st.x_pos * factor / 1024) * in at91_adc_touch_pressure()
1087 if (!st->touch_st.touching) in at91_adc_read_position()
1102 if (!st->touch_st.touching) in at91_adc_read_pressure()
1285 &st->touch_st.channels_bitmask, in at91_adc_current_chan_is_touch()
1644 schedule_work(&st->touch_st.workq); in at91_adc_touch_data_handler()
1654 AT91_SAMA5D2_TRGR_TRGPER(st->touch_st.sample_period_val)); in at91_adc_pen_detect_interrupt()
[all …]