Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/touchscreen/
Dbcm_iproc_tsc.c147 struct tsc_param cfg_params; member
222 for (i = 0; i < priv->cfg_params.fifo_threshold; i++) { in iproc_touchscreen_interrupt()
242 if (priv->cfg_params.invert_x) in iproc_touchscreen_interrupt()
243 x = priv->cfg_params.max_x - x; in iproc_touchscreen_interrupt()
245 if (priv->cfg_params.invert_y) in iproc_touchscreen_interrupt()
246 y = priv->cfg_params.max_y - y; in iproc_touchscreen_interrupt()
284 val = priv->cfg_params.fifo_threshold; in iproc_ts_start()
289 val |= priv->cfg_params.scanning_period << SCANNING_PERIOD_SHIFT; in iproc_ts_start()
290 val |= priv->cfg_params.debounce_timeout << DEBOUNCE_TIMEOUT_SHIFT; in iproc_ts_start()
291 val |= priv->cfg_params.settling_timeout << SETTLING_TIMEOUT_SHIFT; in iproc_ts_start()
[all …]
/linux-6.1.9/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()
481 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_reg()
482 if (cfg_params[i].param == param) { in tegra_pinconf_reg()
483 prop = cfg_params[i].property; in tegra_pinconf_reg()
624 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_group_dbg_show()
625 ret = tegra_pinconf_reg(pmx, g, cfg_params[i].param, false, in tegra_pinconf_group_dbg_show()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c702 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_write_htt_peer_stats_reset() local
714 cfg_params.cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_write_htt_peer_stats_reset()
715 cfg_params.cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_write_htt_peer_stats_reset()
718 cfg_params.cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_write_htt_peer_stats_reset()
720 cfg_params.cfg2 |= FIELD_PREP(GENMASK(7, 0), sta->addr[0]); in ath11k_write_htt_peer_stats_reset()
721 cfg_params.cfg2 |= FIELD_PREP(GENMASK(15, 8), sta->addr[1]); in ath11k_write_htt_peer_stats_reset()
722 cfg_params.cfg2 |= FIELD_PREP(GENMASK(23, 16), sta->addr[2]); in ath11k_write_htt_peer_stats_reset()
723 cfg_params.cfg2 |= FIELD_PREP(GENMASK(31, 24), sta->addr[3]); in ath11k_write_htt_peer_stats_reset()
725 cfg_params.cfg3 |= FIELD_PREP(GENMASK(7, 0), sta->addr[4]); in ath11k_write_htt_peer_stats_reset()
726 cfg_params.cfg3 |= FIELD_PREP(GENMASK(15, 8), sta->addr[5]); in ath11k_write_htt_peer_stats_reset()
[all …]
Ddp_tx.h32 struct htt_ext_stats_cfg_params *cfg_params,
Ddebugfs_htt_stats.c4538 struct htt_ext_stats_cfg_params *cfg_params) in ath11k_prep_htt_stats_cfg_params() argument
4540 if (!cfg_params) in ath11k_prep_htt_stats_cfg_params()
4546 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_HWQS; in ath11k_prep_htt_stats_cfg_params()
4549 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_TXQS; in ath11k_prep_htt_stats_cfg_params()
4552 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_CMDQS; in ath11k_prep_htt_stats_cfg_params()
4555 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params()
4556 cfg_params->cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_prep_htt_stats_cfg_params()
4558 cfg_params->cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_prep_htt_stats_cfg_params()
4559 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params()
4560 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params()
[all …]
Ddp_tx.c1104 struct htt_ext_stats_cfg_params *cfg_params, in ath11k_dp_tx_htt_h2t_ext_stats_req() argument
1133 cmd->cfg_param0 = cfg_params->cfg0; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1134 cmd->cfg_param1 = cfg_params->cfg1; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1135 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1136 cmd->cfg_param3 = cfg_params->cfg3; in ath11k_dp_tx_htt_h2t_ext_stats_req()
/linux-6.1.9/drivers/pinctrl/samsung/
Dpinctrl-samsung.c39 } cfg_params[] = { variable
193 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in samsung_dt_subnode_to_map()
194 ret = of_property_read_u32(np, cfg_params[i].property, &val); in samsung_dt_subnode_to_map()
196 config = PINCFG_PACK(cfg_params[i].param, val); in samsung_dt_subnode_to_map()
203 cfg_params[i].property); in samsung_dt_subnode_to_map()