Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
453 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_reg()
454 if (cfg_params[i].param == param) { in tegra_pinconf_reg()
455 prop = cfg_params[i].property; in tegra_pinconf_reg()
596 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_group_dbg_show()
597 ret = tegra_pinconf_reg(pmx, g, cfg_params[i].param, false, in tegra_pinconf_group_dbg_show()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c772 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_write_htt_peer_stats_reset() local
784 cfg_params.cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_write_htt_peer_stats_reset()
785 cfg_params.cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_write_htt_peer_stats_reset()
788 cfg_params.cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_write_htt_peer_stats_reset()
790 cfg_params.cfg2 |= FIELD_PREP(GENMASK(7, 0), sta->addr[0]); in ath11k_write_htt_peer_stats_reset()
791 cfg_params.cfg2 |= FIELD_PREP(GENMASK(15, 8), sta->addr[1]); in ath11k_write_htt_peer_stats_reset()
792 cfg_params.cfg2 |= FIELD_PREP(GENMASK(23, 16), sta->addr[2]); in ath11k_write_htt_peer_stats_reset()
793 cfg_params.cfg2 |= FIELD_PREP(GENMASK(31, 24), sta->addr[3]); in ath11k_write_htt_peer_stats_reset()
795 cfg_params.cfg3 |= FIELD_PREP(GENMASK(7, 0), sta->addr[4]); in ath11k_write_htt_peer_stats_reset()
796 cfg_params.cfg3 |= FIELD_PREP(GENMASK(15, 8), sta->addr[5]); in ath11k_write_htt_peer_stats_reset()
[all …]
Ddp_tx.h31 struct htt_ext_stats_cfg_params *cfg_params,
Ddebugfs_htt_stats.c4357 struct htt_ext_stats_cfg_params *cfg_params) in ath11k_prep_htt_stats_cfg_params() argument
4359 if (!cfg_params) in ath11k_prep_htt_stats_cfg_params()
4365 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_HWQS; in ath11k_prep_htt_stats_cfg_params()
4368 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_TXQS; in ath11k_prep_htt_stats_cfg_params()
4371 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_CMDQS; in ath11k_prep_htt_stats_cfg_params()
4374 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params()
4375 cfg_params->cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_prep_htt_stats_cfg_params()
4377 cfg_params->cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_prep_htt_stats_cfg_params()
4378 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params()
4379 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params()
[all …]
Ddp_tx.c980 struct htt_ext_stats_cfg_params *cfg_params, in ath11k_dp_tx_htt_h2t_ext_stats_req() argument
1003 cmd->cfg_param0 = cfg_params->cfg0; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1004 cmd->cfg_param1 = cfg_params->cfg1; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1005 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1006 cmd->cfg_param3 = cfg_params->cfg3; in ath11k_dp_tx_htt_h2t_ext_stats_req()
/kernel/linux/linux-5.10/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()