Lines Matching refs:cfg_params
4538 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()
4561 cfg_params->cfg2 |= FIELD_PREP(GENMASK(23, 16), mac_addr[2]); in ath11k_prep_htt_stats_cfg_params()
4562 cfg_params->cfg2 |= FIELD_PREP(GENMASK(31, 24), mac_addr[3]); in ath11k_prep_htt_stats_cfg_params()
4563 cfg_params->cfg3 |= FIELD_PREP(GENMASK(7, 0), mac_addr[4]); in ath11k_prep_htt_stats_cfg_params()
4564 cfg_params->cfg3 |= FIELD_PREP(GENMASK(15, 8), mac_addr[5]); in ath11k_prep_htt_stats_cfg_params()
4568 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_RINGS; in ath11k_prep_htt_stats_cfg_params()
4571 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_PEERS; in ath11k_prep_htt_stats_cfg_params()
4574 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_CCA_CUMULATIVE; in ath11k_prep_htt_stats_cfg_params()
4577 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_VDEVS; in ath11k_prep_htt_stats_cfg_params()
4580 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params()
4581 cfg_params->cfg1 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params()
4582 cfg_params->cfg1 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params()
4583 cfg_params->cfg1 |= FIELD_PREP(GENMASK(23, 16), mac_addr[2]); in ath11k_prep_htt_stats_cfg_params()
4584 cfg_params->cfg1 |= FIELD_PREP(GENMASK(31, 24), mac_addr[3]); in ath11k_prep_htt_stats_cfg_params()
4585 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[4]); in ath11k_prep_htt_stats_cfg_params()
4586 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[5]); in ath11k_prep_htt_stats_cfg_params()
4601 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_debugfs_htt_stats_req() local
4612 &cfg_params); in ath11k_debugfs_htt_stats_req()
4618 ret = ath11k_dp_tx_htt_h2t_ext_stats_req(ar, type, &cfg_params, cookie); in ath11k_debugfs_htt_stats_req()
4741 struct htt_ext_stats_cfg_params cfg_params = { 0 }; in ath11k_write_htt_stats_reset() local
4753 cfg_params.cfg0 = HTT_STAT_DEFAULT_RESET_START_OFFSET; in ath11k_write_htt_stats_reset()
4754 cfg_params.cfg1 = 1 << (cfg_params.cfg0 + type); in ath11k_write_htt_stats_reset()
4757 &cfg_params, in ath11k_write_htt_stats_reset()