• Home
  • Raw
  • Download

Lines Matching refs:cfg_params

154 	struct tsc_param cfg_params;  member
229 for (i = 0; i < priv->cfg_params.fifo_threshold; i++) { in iproc_touchscreen_interrupt()
249 if (priv->cfg_params.invert_x) in iproc_touchscreen_interrupt()
250 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt()
252 if (priv->cfg_params.invert_y) in iproc_touchscreen_interrupt()
253 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt()
291 val = priv->cfg_params.fifo_threshold; in iproc_ts_start()
296 val |= priv->cfg_params.scanning_period << SCANNING_PERIOD_SHIFT; in iproc_ts_start()
297 val |= priv->cfg_params.debounce_timeout << DEBOUNCE_TIMEOUT_SHIFT; in iproc_ts_start()
298 val |= priv->cfg_params.settling_timeout << SETTLING_TIMEOUT_SHIFT; in iproc_ts_start()
299 val |= priv->cfg_params.touch_timeout << TOUCH_TIMEOUT_SHIFT; in iproc_ts_start()
308 val |= priv->cfg_params.average_data << TS_CONTROLLER_AVGDATA_SHIFT; in iproc_ts_start()
348 priv->cfg_params = iproc_default_config; in iproc_get_tsc_config()
359 priv->cfg_params.scanning_period = val; in iproc_get_tsc_config()
368 priv->cfg_params.debounce_timeout = val; in iproc_get_tsc_config()
377 priv->cfg_params.settling_timeout = val; in iproc_get_tsc_config()
386 priv->cfg_params.touch_timeout = val; in iproc_get_tsc_config()
394 priv->cfg_params.average_data = val; in iproc_get_tsc_config()
403 priv->cfg_params.fifo_threshold = val; in iproc_get_tsc_config()
407 of_property_read_u32(np, "touchscreen-size-x", &priv->cfg_params.max_x); in iproc_get_tsc_config()
408 of_property_read_u32(np, "touchscreen-size-y", &priv->cfg_params.max_y); in iproc_get_tsc_config()
411 &priv->cfg_params.fuzz_x); in iproc_get_tsc_config()
413 &priv->cfg_params.fuzz_y); in iproc_get_tsc_config()
415 priv->cfg_params.invert_x = in iproc_get_tsc_config()
417 priv->cfg_params.invert_y = in iproc_get_tsc_config()
479 input_set_abs_params(idev, ABS_X, X_MIN, priv->cfg_params.max_x, in iproc_ts_probe()
480 priv->cfg_params.fuzz_x, 0); in iproc_ts_probe()
481 input_set_abs_params(idev, ABS_Y, Y_MIN, priv->cfg_params.max_y, in iproc_ts_probe()
482 priv->cfg_params.fuzz_y, 0); in iproc_ts_probe()