Lines Matching refs:get_pendown_state
141 int (*get_pendown_state)(void); member
220 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state() function
222 if (ts->get_pendown_state) in get_pendown_state()
223 return ts->get_pendown_state(); in get_pendown_state()
257 if (ts->pendown && !get_pendown_state(ts)) in ads7846_restart()
849 if (get_pendown_state(ts)) in ads7846_report_state()
884 if (!get_pendown_state(ts)) in ads7846_report_state()
918 return get_pendown_state(ts) ? IRQ_WAKE_THREAD : IRQ_HANDLED; in ads7846_hard_irq()
929 while (!ts->stopped && get_pendown_state(ts)) { in ads7846_irq()
1005 if (pdata->get_pendown_state) { in ads7846_setup_pendown()
1006 ts->get_pendown_state = pdata->get_pendown_state; in ads7846_setup_pendown()