Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dbcm_iproc_tsc.c154 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()
[all …]
/drivers/pinctrl/tegra/
Dpinctrl-tegra.c80 } cfg_params[] = { variable
125 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinctrl_dt_subnode_to_map()
126 ret = of_property_read_u32(np, cfg_params[i].property, &val); in tegra_pinctrl_dt_subnode_to_map()
128 config = TEGRA_PINCONF_PACK(cfg_params[i].param, val); in tegra_pinctrl_dt_subnode_to_map()
136 cfg_params[i].property); in tegra_pinctrl_dt_subnode_to_map()
407 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_reg()
408 if (cfg_params[i].param == param) { in tegra_pinconf_reg()
409 prop = cfg_params[i].property; in tegra_pinconf_reg()
550 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_group_dbg_show()
551 ret = tegra_pinconf_reg(pmx, g, cfg_params[i].param, false, in tegra_pinconf_group_dbg_show()
[all …]
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c40 } cfg_params[] = { variable
194 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in samsung_dt_subnode_to_map()
195 ret = of_property_read_u32(np, cfg_params[i].property, &val); in samsung_dt_subnode_to_map()
197 config = PINCFG_PACK(cfg_params[i].param, val); in samsung_dt_subnode_to_map()
204 cfg_params[i].property); in samsung_dt_subnode_to_map()