Lines Matching refs:dev_cmd
455 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_set_tx_params() local
458 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params()
460 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params()
463 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params()
505 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params()
518 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params()
534 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params()
547 return dev_cmd; in iwl_mvm_set_tx_params()
670 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local
730 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, &info, hdrlen, NULL, sta_id); in iwl_mvm_tx_skb_non_sta()
731 if (!dev_cmd) in iwl_mvm_tx_skb_non_sta()
735 iwl_mvm_skb_prepare_status(skb, dev_cmd); in iwl_mvm_tx_skb_non_sta()
737 if (iwl_trans_tx(mvm->trans, skb, dev_cmd, queue)) { in iwl_mvm_tx_skb_non_sta()
738 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_skb_non_sta()
1023 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_mpdu() local
1050 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, info, hdrlen, in iwl_mvm_tx_mpdu()
1052 if (!dev_cmd) in iwl_mvm_tx_mpdu()
1084 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_mvm_tx_mpdu()
1100 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_mpdu()
1130 iwl_mvm_skb_prepare_status(skb, dev_cmd); in iwl_mvm_tx_mpdu()
1132 if (iwl_trans_tx(mvm->trans, skb, dev_cmd, txq_id)) in iwl_mvm_tx_mpdu()
1147 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_mpdu()