Lines Matching refs:cmd

759 			      struct ath11k_hal_reo_cmd *cmd,  in ath11k_dp_tx_send_reo_cmd()  argument
772 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
871 struct htt_srng_setup_cmd *cmd; in ath11k_dp_tx_htt_srng_setup() local
876 int len = sizeof(*cmd); in ath11k_dp_tx_htt_srng_setup()
899 cmd = (struct htt_srng_setup_cmd *)skb->data; in ath11k_dp_tx_htt_srng_setup()
900 cmd->info0 = FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO0_MSG_TYPE, in ath11k_dp_tx_htt_srng_setup()
904 cmd->info0 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO0_PDEV_ID, in ath11k_dp_tx_htt_srng_setup()
907 cmd->info0 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO0_PDEV_ID, in ath11k_dp_tx_htt_srng_setup()
909 cmd->info0 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO0_RING_TYPE, in ath11k_dp_tx_htt_srng_setup()
911 cmd->info0 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO0_RING_ID, htt_ring_id); in ath11k_dp_tx_htt_srng_setup()
913 cmd->ring_base_addr_lo = params.ring_base_paddr & in ath11k_dp_tx_htt_srng_setup()
916 cmd->ring_base_addr_hi = (u64)params.ring_base_paddr >> in ath11k_dp_tx_htt_srng_setup()
926 cmd->info1 = FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO1_RING_ENTRY_SIZE, in ath11k_dp_tx_htt_srng_setup()
928 cmd->info1 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO1_RING_SIZE, in ath11k_dp_tx_htt_srng_setup()
930 cmd->info1 |= FIELD_PREP(HTT_SRNG_SETUP_CMD_INFO1_RING_FLAGS_MSI_SWAP, in ath11k_dp_tx_htt_srng_setup()
932 cmd->info1 |= FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
935 cmd->info1 |= FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
939 cmd->info1 |= HTT_SRNG_SETUP_CMD_INFO1_RING_LOOP_CNT_DIS; in ath11k_dp_tx_htt_srng_setup()
941 cmd->ring_head_off32_remote_addr_lo = hp_addr & HAL_ADDR_LSB_REG_MASK; in ath11k_dp_tx_htt_srng_setup()
942 cmd->ring_head_off32_remote_addr_hi = (u64)hp_addr >> in ath11k_dp_tx_htt_srng_setup()
945 cmd->ring_tail_off32_remote_addr_lo = tp_addr & HAL_ADDR_LSB_REG_MASK; in ath11k_dp_tx_htt_srng_setup()
946 cmd->ring_tail_off32_remote_addr_hi = (u64)tp_addr >> in ath11k_dp_tx_htt_srng_setup()
949 cmd->ring_msi_addr_lo = lower_32_bits(params.msi_addr); in ath11k_dp_tx_htt_srng_setup()
950 cmd->ring_msi_addr_hi = upper_32_bits(params.msi_addr); in ath11k_dp_tx_htt_srng_setup()
951 cmd->msi_data = params.msi_data; in ath11k_dp_tx_htt_srng_setup()
953 cmd->intr_info = FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
956 cmd->intr_info |= FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
960 cmd->info2 = 0; in ath11k_dp_tx_htt_srng_setup()
962 cmd->info2 = FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
969 cmd->ring_msi_addr_lo, cmd->ring_msi_addr_hi, in ath11k_dp_tx_htt_srng_setup()
970 cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup()
990 struct htt_ver_req_cmd *cmd; in ath11k_dp_tx_htt_h2t_ver_req_msg() local
991 int len = sizeof(*cmd); in ath11k_dp_tx_htt_h2t_ver_req_msg()
1001 cmd = (struct htt_ver_req_cmd *)skb->data; in ath11k_dp_tx_htt_h2t_ver_req_msg()
1002 cmd->ver_reg_info = FIELD_PREP(HTT_VER_REQ_INFO_MSG_ID, in ath11k_dp_tx_htt_h2t_ver_req_msg()
1032 struct htt_ppdu_stats_cfg_cmd *cmd; in ath11k_dp_tx_htt_h2t_ppdu_stats_req() local
1033 int len = sizeof(*cmd); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1044 cmd = (struct htt_ppdu_stats_cfg_cmd *)skb->data; in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1045 cmd->msg = FIELD_PREP(HTT_PPDU_STATS_CFG_MSG_TYPE, in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1049 cmd->msg |= FIELD_PREP(HTT_PPDU_STATS_CFG_PDEV_ID, pdev_mask); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1050 cmd->msg |= FIELD_PREP(HTT_PPDU_STATS_CFG_TLV_TYPE_BITMASK, mask); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
1067 struct htt_rx_ring_selection_cfg_cmd *cmd; in ath11k_dp_tx_htt_rx_filter_setup() local
1071 int len = sizeof(*cmd); in ath11k_dp_tx_htt_rx_filter_setup()
1090 cmd = (struct htt_rx_ring_selection_cfg_cmd *)skb->data; in ath11k_dp_tx_htt_rx_filter_setup()
1091 cmd->info0 = FIELD_PREP(HTT_RX_RING_SELECTION_CFG_CMD_INFO0_MSG_TYPE, in ath11k_dp_tx_htt_rx_filter_setup()
1095 cmd->info0 |= in ath11k_dp_tx_htt_rx_filter_setup()
1099 cmd->info0 |= in ath11k_dp_tx_htt_rx_filter_setup()
1102 cmd->info0 |= FIELD_PREP(HTT_RX_RING_SELECTION_CFG_CMD_INFO0_RING_ID, in ath11k_dp_tx_htt_rx_filter_setup()
1104 cmd->info0 |= FIELD_PREP(HTT_RX_RING_SELECTION_CFG_CMD_INFO0_SS, in ath11k_dp_tx_htt_rx_filter_setup()
1106 cmd->info0 |= FIELD_PREP(HTT_RX_RING_SELECTION_CFG_CMD_INFO0_PS, in ath11k_dp_tx_htt_rx_filter_setup()
1109 cmd->info1 = FIELD_PREP(HTT_RX_RING_SELECTION_CFG_CMD_INFO1_BUF_SIZE, in ath11k_dp_tx_htt_rx_filter_setup()
1111 cmd->pkt_type_en_flags0 = tlv_filter->pkt_filter_flags0; in ath11k_dp_tx_htt_rx_filter_setup()
1112 cmd->pkt_type_en_flags1 = tlv_filter->pkt_filter_flags1; in ath11k_dp_tx_htt_rx_filter_setup()
1113 cmd->pkt_type_en_flags2 = tlv_filter->pkt_filter_flags2; in ath11k_dp_tx_htt_rx_filter_setup()
1114 cmd->pkt_type_en_flags3 = tlv_filter->pkt_filter_flags3; in ath11k_dp_tx_htt_rx_filter_setup()
1115 cmd->rx_filter_tlv = tlv_filter->rx_filter; in ath11k_dp_tx_htt_rx_filter_setup()
1137 struct htt_ext_stats_cfg_cmd *cmd; in ath11k_dp_tx_htt_h2t_ext_stats_req() local
1139 int len = sizeof(*cmd); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1148 cmd = (struct htt_ext_stats_cfg_cmd *)skb->data; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1149 memset(cmd, 0, sizeof(*cmd)); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1150 cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_EXT_STATS_CFG; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1157 cmd->hdr.pdev_mask = 1 << pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1159 cmd->hdr.stats_type = type; in ath11k_dp_tx_htt_h2t_ext_stats_req()
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()
1164 cmd->cookie_lsb = lower_32_bits(cookie); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1165 cmd->cookie_msb = upper_32_bits(cookie); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1263 struct htt_rx_full_monitor_mode_cfg_cmd *cmd; in ath11k_dp_tx_htt_rx_full_mon_setup() local
1265 int ret, len = sizeof(*cmd); in ath11k_dp_tx_htt_rx_full_mon_setup()
1272 cmd = (struct htt_rx_full_monitor_mode_cfg_cmd *)skb->data; in ath11k_dp_tx_htt_rx_full_mon_setup()
1273 memset(cmd, 0, sizeof(*cmd)); in ath11k_dp_tx_htt_rx_full_mon_setup()
1274 cmd->info0 = FIELD_PREP(HTT_RX_FULL_MON_MODE_CFG_CMD_INFO0_MSG_TYPE, in ath11k_dp_tx_htt_rx_full_mon_setup()
1277 cmd->info0 |= FIELD_PREP(HTT_RX_FULL_MON_MODE_CFG_CMD_INFO0_PDEV_ID, mac_id); in ath11k_dp_tx_htt_rx_full_mon_setup()
1279 cmd->cfg = HTT_RX_FULL_MON_MODE_CFG_CMD_CFG_ENABLE | in ath11k_dp_tx_htt_rx_full_mon_setup()
1283 cmd->cfg |= HTT_RX_FULL_MON_MODE_CFG_CMD_CFG_ZERO_MPDUS_END | in ath11k_dp_tx_htt_rx_full_mon_setup()