Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dbcm_iproc_tsc.c148 struct tsc_param cfg_params; member
223 for (i = 0; i < priv->cfg_params.fifo_threshold; i++) { in iproc_touchscreen_interrupt()
243 if (priv->cfg_params.invert_x) in iproc_touchscreen_interrupt()
244 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt()
246 if (priv->cfg_params.invert_y) in iproc_touchscreen_interrupt()
247 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt()
284 writel(priv->cfg_params.fifo_threshold, priv->regs + INTERRUPT_THRES); in iproc_ts_start()
288 val |= priv->cfg_params.scanning_period << SCANNING_PERIOD_SHIFT; in iproc_ts_start()
289 val |= priv->cfg_params.debounce_timeout << DEBOUNCE_TIMEOUT_SHIFT; in iproc_ts_start()
290 val |= priv->cfg_params.settling_timeout << SETTLING_TIMEOUT_SHIFT; in iproc_ts_start()
[all …]
/drivers/pinctrl/
Dpinctrl-tegra.c100 } cfg_params[] = { variable
145 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinctrl_dt_subnode_to_map()
146 ret = of_property_read_u32(np, cfg_params[i].property, &val); in tegra_pinctrl_dt_subnode_to_map()
148 config = TEGRA_PINCONF_PACK(cfg_params[i].param, val); in tegra_pinctrl_dt_subnode_to_map()
156 cfg_params[i].property); in tegra_pinctrl_dt_subnode_to_map()
426 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_reg()
427 if (cfg_params[i].param == param) { in tegra_pinconf_reg()
428 prop = cfg_params[i].property; in tegra_pinconf_reg()
569 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_group_dbg_show()
570 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
208 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in samsung_dt_subnode_to_map()
209 ret = of_property_read_u32(np, cfg_params[i].property, &val); in samsung_dt_subnode_to_map()
211 config = PINCFG_PACK(cfg_params[i].param, val); in samsung_dt_subnode_to_map()
218 cfg_params[i].property); in samsung_dt_subnode_to_map()