Searched refs:pen_int (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/input/touchscreen/
H A Dmainstone-wm97xx.c81 static int pen_int; variable
82 module_param(pen_int, int, 0);
83 MODULE_PARM_DESC(pen_int, "Pen down detection (1 = interrupt, 0 = polling)");
201 pen_int = 1; wm97xx_acc_startup()
206 } else if (machine_is_mainstone() && pen_int) wm97xx_acc_startup()
223 pen_int = 0; wm97xx_acc_startup()
226 if (pen_int) { wm97xx_acc_startup()
245 pen_int = 0; wm97xx_acc_startup()
257 if (pen_int) { wm97xx_acc_shutdown()
H A Datmel-wm97xx.c106 static int pen_int = 1; variable
107 module_param(pen_int, int, 0);
108 MODULE_PARM_DESC(pen_int, "Pen down detection (1 = interrupt, 0 = polling)");
239 if (pen_int) { atmel_wm97xx_acc_startup()
287 pen_int = 0; atmel_wm97xx_acc_startup()
297 if (pen_int) { atmel_wm97xx_acc_shutdown()

Completed in 236 milliseconds