Lines Matching refs:scan_rate
213 static int scan_rate = 80; variable
214 module_param(scan_rate, int, 0644);
215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80");
230 static inline void set_scan_rate(struct synaptics_i2c *touch, int scan_rate) in set_scan_rate() argument
232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate()
233 touch->scan_rate_param = scan_rate; in set_scan_rate()
384 if (scan_rate != touch->scan_rate_param) in synaptics_i2c_check_params()
385 set_scan_rate(touch, scan_rate); in synaptics_i2c_check_params()
517 touch->scan_rate_param = scan_rate; in synaptics_i2c_touch_create()
518 set_scan_rate(touch, scan_rate); in synaptics_i2c_touch_create()
567 "Using polling at rate: %d times/sec\n", scan_rate); in synaptics_i2c_probe()