Searched refs:cfg_params (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | bcm_iproc_tsc.c | 147 struct tsc_param cfg_params; member 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() 404 &priv->cfg_params.fuzz_x); in iproc_get_tsc_config() 406 &priv->cfg_params.fuzz_y); in iproc_get_tsc_config() 408 priv->cfg_params.invert_x = in iproc_get_tsc_config() 410 priv->cfg_params.invert_y = in iproc_get_tsc_config() 473 priv->cfg_params.fuzz_x, 0); in iproc_ts_probe() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | microchip_t1s.c | 133 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 …]
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.c | 82 } cfg_params[] = { variable 127 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinctrl_dt_subnode_to_map() 138 cfg_params[i].property); in tegra_pinctrl_dt_subnode_to_map() 483 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_reg() 484 if (cfg_params[i].param == param) { in tegra_pinconf_reg() 485 prop = cfg_params[i].property; in tegra_pinconf_reg() 626 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_group_dbg_show() 637 strip_prefix(cfg_params[i].property), val); in tegra_pinconf_group_dbg_show() 650 for (i = 0; i < ARRAY_SIZE(cfg_params); i++) { in tegra_pinconf_config_dbg_show() 651 if (cfg_params[i].param == param) { in tegra_pinconf_config_dbg_show() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 703 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() 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() 729 cfg_params.cfg3 |= ATH11K_HTT_PEER_STATS_RESET; in ath11k_write_htt_peer_stats_reset() [all …]
|
H A D | dp_tx.h | 34 struct htt_ext_stats_cfg_params *cfg_params,
|
H A D | debugfs_htt_stats.c | 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() 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() 4694 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params() 4715 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_debugfs_htt_stats_req() local 4726 &cfg_params); in ath11k_debugfs_htt_stats_req() 4868 cfg_params.cfg1 = 1 << (cfg_params.cfg0 + type); in ath11k_write_htt_stats_reset() [all …]
|
H A D | dp_tx.c | 1131 struct htt_ext_stats_cfg_params *cfg_params, in ath11k_dp_tx_htt_h2t_ext_stats_req() argument 1160 cmd->cfg_param0 = cfg_params->cfg0; in ath11k_dp_tx_htt_h2t_ext_stats_req() 1161 cmd->cfg_param1 = cfg_params->cfg1; in ath11k_dp_tx_htt_h2t_ext_stats_req() 1162 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req() 1163 cmd->cfg_param3 = cfg_params->cfg3; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.h | 26 struct htt_ext_stats_cfg_params *cfg_params,
|
H A D | dp_tx.c | 982 struct htt_ext_stats_cfg_params *cfg_params, in ath12k_dp_tx_htt_h2t_ext_stats_req() argument 1005 cmd->cfg_param0 = cpu_to_le32(cfg_params->cfg0); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1006 cmd->cfg_param1 = cpu_to_le32(cfg_params->cfg1); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1007 cmd->cfg_param2 = cpu_to_le32(cfg_params->cfg2); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1008 cmd->cfg_param3 = cpu_to_le32(cfg_params->cfg3); in ath12k_dp_tx_htt_h2t_ext_stats_req()
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 40 } 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()
|