Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/net/phy/
Dmicrochip_t1s.c133 static int lan865x_read_cfg_params(struct phy_device *phydev, u16 cfg_params[]) in lan865x_read_cfg_params() argument
142 cfg_params[i] = (u16)ret; in lan865x_read_cfg_params()
148 static int lan865x_write_cfg_params(struct phy_device *phydev, u16 cfg_params[]) in lan865x_write_cfg_params() argument
155 cfg_params[i]); in lan865x_write_cfg_params()
165 u16 cfg_params[ARRAY_SIZE(lan865x_revb0_fixup_cfg_regs)]; in lan865x_setup_cfgparam() local
174 ret = lan865x_read_cfg_params(phydev, cfg_params); in lan865x_setup_cfgparam()
178 cfg_results[0] = (cfg_params[0] & 0x000F) | in lan865x_setup_cfgparam()
181 cfg_results[1] = (cfg_params[1] & 0x03FF) | in lan865x_setup_cfgparam()
183 cfg_results[2] = (cfg_params[2] & 0xC0C0) | in lan865x_setup_cfgparam()
186 cfg_results[3] = (cfg_params[3] & 0xC0C0) | in lan865x_setup_cfgparam()
[all …]
/linux-6.12.1/drivers/pinctrl/tegra/
Dpinctrl-tegra.c82 } cfg_params[] = { variable
127 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinctrl_dt_subnode_to_map()
128 ret = of_property_read_u32(np, cfg_params[i].property, &val); in tegra_pinctrl_dt_subnode_to_map()
130 config = TEGRA_PINCONF_PACK(cfg_params[i].param, val); in tegra_pinctrl_dt_subnode_to_map()
138 np, 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.12.1/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c703 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_write_htt_peer_stats_reset() local
715 cfg_params.cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_write_htt_peer_stats_reset()
716 cfg_params.cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_write_htt_peer_stats_reset()
719 cfg_params.cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_write_htt_peer_stats_reset()
721 cfg_params.cfg2 |= FIELD_PREP(GENMASK(7, 0), sta->addr[0]); in ath11k_write_htt_peer_stats_reset()
722 cfg_params.cfg2 |= FIELD_PREP(GENMASK(15, 8), sta->addr[1]); in ath11k_write_htt_peer_stats_reset()
723 cfg_params.cfg2 |= FIELD_PREP(GENMASK(23, 16), sta->addr[2]); in ath11k_write_htt_peer_stats_reset()
724 cfg_params.cfg2 |= FIELD_PREP(GENMASK(31, 24), sta->addr[3]); in ath11k_write_htt_peer_stats_reset()
726 cfg_params.cfg3 |= FIELD_PREP(GENMASK(7, 0), sta->addr[4]); in ath11k_write_htt_peer_stats_reset()
727 cfg_params.cfg3 |= FIELD_PREP(GENMASK(15, 8), sta->addr[5]); in ath11k_write_htt_peer_stats_reset()
[all …]
Ddp_tx.h34 struct htt_ext_stats_cfg_params *cfg_params,
Ddebugfs_htt_stats.c4652 struct htt_ext_stats_cfg_params *cfg_params) in ath11k_prep_htt_stats_cfg_params() argument
4654 if (!cfg_params) in ath11k_prep_htt_stats_cfg_params()
4660 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_HWQS; in ath11k_prep_htt_stats_cfg_params()
4663 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_TXQS; in ath11k_prep_htt_stats_cfg_params()
4666 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_CMDQS; in ath11k_prep_htt_stats_cfg_params()
4669 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params()
4670 cfg_params->cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_prep_htt_stats_cfg_params()
4672 cfg_params->cfg1 = HTT_STAT_DEFAULT_PEER_REQ_TYPE; in ath11k_prep_htt_stats_cfg_params()
4673 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params()
4674 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params()
[all …]
Ddp_tx.c1139 struct htt_ext_stats_cfg_params *cfg_params, in ath11k_dp_tx_htt_h2t_ext_stats_req() argument
1168 cmd->cfg_param0 = cfg_params->cfg0; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1169 cmd->cfg_param1 = cfg_params->cfg1; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1170 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1171 cmd->cfg_param3 = cfg_params->cfg3; in ath11k_dp_tx_htt_h2t_ext_stats_req()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddp_tx.h26 struct htt_ext_stats_cfg_params *cfg_params,
Ddebugfs_htt_stats.c1692 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath12k_debugfs_htt_stats_req() local
1707 cfg_params.cfg0 = stats_req->cfg_param[0]; in ath12k_debugfs_htt_stats_req()
1708 cfg_params.cfg1 = stats_req->cfg_param[1]; in ath12k_debugfs_htt_stats_req()
1709 cfg_params.cfg2 = stats_req->cfg_param[2]; in ath12k_debugfs_htt_stats_req()
1710 cfg_params.cfg3 = stats_req->cfg_param[3]; in ath12k_debugfs_htt_stats_req()
1713 ret = ath12k_dp_tx_htt_h2t_ext_stats_req(ar, type, &cfg_params, cookie); in ath12k_debugfs_htt_stats_req()
1831 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath12k_write_htt_stats_reset() local
1844 cfg_params.cfg0 = HTT_STAT_DEFAULT_RESET_START_OFFSET; in ath12k_write_htt_stats_reset()
1849 cfg_params.cfg1 = 1 << (cfg_params.cfg0 + type); in ath12k_write_htt_stats_reset()
1852 cfg_params.cfg2 = ATH12K_HTT_STATS_RESET_BITMAP32_BIT(cfg_params.cfg0 + in ath12k_write_htt_stats_reset()
[all …]
Ddp_tx.c1152 struct htt_ext_stats_cfg_params *cfg_params, in ath12k_dp_tx_htt_h2t_ext_stats_req() argument
1177 cmd->cfg_param0 = cpu_to_le32(cfg_params->cfg0); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1178 cmd->cfg_param1 = cpu_to_le32(cfg_params->cfg1); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1179 cmd->cfg_param2 = cpu_to_le32(cfg_params->cfg2); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1180 cmd->cfg_param3 = cpu_to_le32(cfg_params->cfg3); in ath12k_dp_tx_htt_h2t_ext_stats_req()
/linux-6.12.1/drivers/pinctrl/samsung/
Dpinctrl-samsung.c41 } 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()