Lines Matching refs:dev_cmd

503 	struct iwl_device_tx_cmd *dev_cmd;  in iwl_mvm_set_tx_params()  local
506 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params()
508 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params()
511 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params()
544 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params()
559 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params()
578 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params()
591 return dev_cmd; in iwl_mvm_set_tx_params()
715 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local
775 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, &info, hdrlen, NULL, sta_id); in iwl_mvm_tx_skb_non_sta()
776 if (!dev_cmd) in iwl_mvm_tx_skb_non_sta()
780 iwl_mvm_skb_prepare_status(skb, dev_cmd); in iwl_mvm_tx_skb_non_sta()
782 if (iwl_trans_tx(mvm->trans, skb, dev_cmd, queue)) { in iwl_mvm_tx_skb_non_sta()
783 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_skb_non_sta()
1068 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_mpdu() local
1095 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, info, hdrlen, in iwl_mvm_tx_mpdu()
1097 if (!dev_cmd) in iwl_mvm_tx_mpdu()
1129 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_mvm_tx_mpdu()
1146 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_mpdu()
1176 iwl_mvm_skb_prepare_status(skb, dev_cmd); in iwl_mvm_tx_mpdu()
1189 if (iwl_trans_tx(mvm->trans, skb, dev_cmd, txq_id)) in iwl_mvm_tx_mpdu()
1204 iwl_trans_free_tx_cmd(mvm->trans, dev_cmd); in iwl_mvm_tx_mpdu()