Lines Matching refs:cmd
670 struct dp_reo_cmd *cmd, *tmp; in ath11k_dp_reo_cmd_list_cleanup() local
675 list_for_each_entry_safe(cmd, tmp, &dp->reo_cmd_list, list) { in ath11k_dp_reo_cmd_list_cleanup()
676 list_del(&cmd->list); in ath11k_dp_reo_cmd_list_cleanup()
677 rx_tid = &cmd->data; in ath11k_dp_reo_cmd_list_cleanup()
684 kfree(cmd); in ath11k_dp_reo_cmd_list_cleanup()
722 struct ath11k_hal_reo_cmd cmd = {0}; in ath11k_dp_reo_cache_flush() local
731 cmd.addr_lo = lower_32_bits(rx_tid->paddr + tot_desc_sz); in ath11k_dp_reo_cache_flush()
732 cmd.addr_hi = upper_32_bits(rx_tid->paddr); in ath11k_dp_reo_cache_flush()
734 HAL_REO_CMD_FLUSH_CACHE, &cmd, in ath11k_dp_reo_cache_flush()
742 memset(&cmd, 0, sizeof(cmd)); in ath11k_dp_reo_cache_flush()
743 cmd.addr_lo = lower_32_bits(rx_tid->paddr); in ath11k_dp_reo_cache_flush()
744 cmd.addr_hi = upper_32_bits(rx_tid->paddr); in ath11k_dp_reo_cache_flush()
745 cmd.flag |= HAL_REO_CMD_FLG_NEED_STATUS; in ath11k_dp_reo_cache_flush()
748 &cmd, ath11k_dp_reo_cmd_free); in ath11k_dp_reo_cache_flush()
814 struct ath11k_hal_reo_cmd cmd = {0}; in ath11k_peer_rx_tid_delete() local
823 cmd.flag = HAL_REO_CMD_FLG_NEED_STATUS; in ath11k_peer_rx_tid_delete()
824 cmd.addr_lo = lower_32_bits(rx_tid->paddr); in ath11k_peer_rx_tid_delete()
825 cmd.addr_hi = upper_32_bits(rx_tid->paddr); in ath11k_peer_rx_tid_delete()
826 cmd.upd0 |= HAL_REO_CMD_UPD0_VLD; in ath11k_peer_rx_tid_delete()
828 HAL_REO_CMD_UPDATE_RX_QUEUE, &cmd, in ath11k_peer_rx_tid_delete()
939 struct ath11k_hal_reo_cmd cmd = {0}; in ath11k_peer_rx_tid_reo_update() local
942 cmd.addr_lo = lower_32_bits(rx_tid->paddr); in ath11k_peer_rx_tid_reo_update()
943 cmd.addr_hi = upper_32_bits(rx_tid->paddr); in ath11k_peer_rx_tid_reo_update()
944 cmd.flag = HAL_REO_CMD_FLG_NEED_STATUS; in ath11k_peer_rx_tid_reo_update()
945 cmd.upd0 = HAL_REO_CMD_UPD0_BA_WINDOW_SIZE; in ath11k_peer_rx_tid_reo_update()
946 cmd.ba_window_size = ba_win_sz; in ath11k_peer_rx_tid_reo_update()
949 cmd.upd0 |= HAL_REO_CMD_UPD0_SSN; in ath11k_peer_rx_tid_reo_update()
950 cmd.upd2 = FIELD_PREP(HAL_REO_CMD_UPD2_SSN, ssn); in ath11k_peer_rx_tid_reo_update()
954 HAL_REO_CMD_UPDATE_RX_QUEUE, &cmd, in ath11k_peer_rx_tid_reo_update()
1169 struct ath11k_hal_reo_cmd cmd = {0}; in ath11k_dp_peer_rx_pn_replay_config() local
1182 cmd.flag |= HAL_REO_CMD_FLG_NEED_STATUS; in ath11k_dp_peer_rx_pn_replay_config()
1183 cmd.upd0 |= HAL_REO_CMD_UPD0_PN | in ath11k_dp_peer_rx_pn_replay_config()
1196 cmd.upd1 |= HAL_REO_CMD_UPD1_PN_CHECK; in ath11k_dp_peer_rx_pn_replay_config()
1197 cmd.pn_size = 48; in ath11k_dp_peer_rx_pn_replay_config()
1217 cmd.addr_lo = lower_32_bits(rx_tid->paddr); in ath11k_dp_peer_rx_pn_replay_config()
1218 cmd.addr_hi = upper_32_bits(rx_tid->paddr); in ath11k_dp_peer_rx_pn_replay_config()
1221 &cmd, NULL); in ath11k_dp_peer_rx_pn_replay_config()
4284 struct dp_reo_cmd *cmd, *tmp; in ath11k_dp_process_reo_status() local
4336 list_for_each_entry_safe(cmd, tmp, &dp->reo_cmd_list, list) { in ath11k_dp_process_reo_status()
4337 if (reo_status.uniform_hdr.cmd_num == cmd->cmd_num) { in ath11k_dp_process_reo_status()
4339 list_del(&cmd->list); in ath11k_dp_process_reo_status()
4346 cmd->handler(dp, (void *)&cmd->data, in ath11k_dp_process_reo_status()
4348 kfree(cmd); in ath11k_dp_process_reo_status()