Searched refs:dev_cmd (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 246 u8 hdr_len, struct iwl_device_cmd *dev_cmd) in iwl_pcie_gen2_build_amsdu() argument 250 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_pcie_gen2_build_amsdu() 261 &dev_cmd->hdr, start_len, 0); in iwl_pcie_gen2_build_amsdu() 374 struct iwl_device_cmd *dev_cmd, in iwl_pcie_gen2_build_tx_amsdu() argument 402 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_pcie_gen2_build_tx_amsdu() 410 hdr_len, dev_cmd)) in iwl_pcie_gen2_build_tx_amsdu() 414 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx_amsdu() 459 struct iwl_device_cmd *dev_cmd, in iwl_pcie_gen2_build_tx() argument 475 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx() 494 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_pcie_gen2_build_tx() [all …]
|
D | tx.c | 2102 struct iwl_device_cmd *dev_cmd, u16 tb1_len) in iwl_fill_data_tbs_amsdu() argument 2104 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() 2123 &dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0); in iwl_fill_data_tbs_amsdu() 2284 struct iwl_device_cmd *dev_cmd, u16 tb1_len) in iwl_fill_data_tbs_amsdu() argument 2294 struct iwl_device_cmd *dev_cmd, int txq_id) in iwl_trans_pcie_tx() argument 2298 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() 2356 *dev_cmd_ptr = dev_cmd; in iwl_trans_pcie_tx() 2377 txq->entries[txq->write_ptr].cmd = dev_cmd; in iwl_trans_pcie_tx() 2379 dev_cmd->hdr.sequence = in iwl_trans_pcie_tx() 2426 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_trans_pcie_tx() [all …]
|
D | internal.h | 693 struct iwl_device_cmd *dev_cmd, int txq_id); 1114 struct iwl_device_cmd *dev_cmd, int txq_id);
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 496 struct iwl_device_cmd *dev_cmd; in iwl_mvm_set_tx_params() local 499 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params() 501 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params() 508 memset(dev_cmd, 0, sizeof(dev_cmd->hdr) + sizeof(*tx_cmd)); in iwl_mvm_set_tx_params() 509 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params() 551 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 564 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 580 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params() 593 return dev_cmd; in iwl_mvm_set_tx_params() 716 struct iwl_device_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 270 struct iwl_device_cmd *dev_cmd; in iwlagn_tx_skb() local 346 dev_cmd = iwl_trans_alloc_tx_cmd(priv->trans); in iwlagn_tx_skb() 348 if (unlikely(!dev_cmd)) in iwlagn_tx_skb() 351 memset(dev_cmd, 0, sizeof(*dev_cmd)); in iwlagn_tx_skb() 352 dev_cmd->hdr.cmd = REPLY_TX; in iwlagn_tx_skb() 353 tx_cmd = (struct iwl_tx_cmd *) dev_cmd->payload; in iwlagn_tx_skb() 371 info->driver_data[1] = dev_cmd; in iwlagn_tx_skb() 438 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb() 459 if (dev_cmd) in iwlagn_tx_skb() 460 iwl_trans_free_tx_cmd(priv->trans, dev_cmd); in iwlagn_tx_skb()
|
/Linux-v5.4/drivers/scsi/ufs/ |
D | ufshcd.c | 1917 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response() 1922 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response() 1933 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response() 1935 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response() 2273 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() 2336 if (hba->dev_cmd.type == DEV_CMD_TYPE_QUERY) in ufshcd_comp_devman_upiu() 2338 else if (hba->dev_cmd.type == DEV_CMD_TYPE_NOP) in ufshcd_comp_devman_upiu() 2505 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd() 2536 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_check_query_response() 2560 if (hba->dev_cmd.type != DEV_CMD_TYPE_NOP) { in ufshcd_dev_cmd_completion() [all …]
|
D | ufshcd.h | 675 struct ufs_dev_cmd dev_cmd; member
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 547 struct iwl_device_cmd *dev_cmd, int queue); 933 struct iwl_device_cmd *dev_cmd) in iwl_trans_free_tx_cmd() argument 935 kmem_cache_free(trans->dev_cmd_pool, dev_cmd); in iwl_trans_free_tx_cmd() 939 struct iwl_device_cmd *dev_cmd, int queue) in iwl_trans_tx() argument 949 return trans->ops->tx(trans, skb, dev_cmd, queue); in iwl_trans_tx()
|