Searched refs:dev_cmd (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 237 u8 hdr_len, struct iwl_device_cmd *dev_cmd) in iwl_pcie_gen2_build_amsdu() argument 241 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_pcie_gen2_build_amsdu() 256 &dev_cmd->hdr, start_len, 0); in iwl_pcie_gen2_build_amsdu() 371 struct iwl_device_cmd *dev_cmd, in iwl_pcie_gen2_build_tx_amsdu() argument 399 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_pcie_gen2_build_tx_amsdu() 407 hdr_len, dev_cmd)) in iwl_pcie_gen2_build_tx_amsdu() 411 memcpy(&txq->first_tb_bufs[idx], &dev_cmd->hdr, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx_amsdu() 422 struct iwl_device_cmd *dev_cmd, in iwl_pcie_gen2_build_tx() argument 437 memcpy(&txq->first_tb_bufs[idx], &dev_cmd->hdr, IWL_FIRST_TB_SIZE); in iwl_pcie_gen2_build_tx() 453 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_pcie_gen2_build_tx() [all …]
|
D | tx.c | 1977 struct iwl_device_cmd *dev_cmd, u16 tb1_len) in iwl_fill_data_tbs() argument 2027 &dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, in iwl_fill_data_tbs() 2079 struct iwl_device_cmd *dev_cmd, u16 tb1_len) in iwl_fill_data_tbs_amsdu() argument 2081 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() 2101 &dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0); in iwl_fill_data_tbs_amsdu() 2270 struct iwl_device_cmd *dev_cmd, u16 tb1_len) in iwl_fill_data_tbs_amsdu() argument 2280 struct iwl_device_cmd *dev_cmd, int txq_id) in iwl_trans_pcie_tx() argument 2284 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() 2342 *dev_cmd_ptr = dev_cmd; in iwl_trans_pcie_tx() 2363 txq->entries[txq->write_ptr].cmd = dev_cmd; in iwl_trans_pcie_tx() [all …]
|
D | internal.h | 717 struct iwl_device_cmd *dev_cmd, int txq_id); 1097 struct iwl_device_cmd *dev_cmd, int txq_id);
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 477 struct iwl_device_cmd *dev_cmd; in iwl_mvm_set_tx_params() local 480 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params() 482 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params() 489 memset(dev_cmd, 0, sizeof(dev_cmd->hdr) + sizeof(*tx_cmd)); in iwl_mvm_set_tx_params() 490 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params() 523 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 536 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 552 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params() 565 return dev_cmd; in iwl_mvm_set_tx_params() 628 struct iwl_device_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 287 struct iwl_device_cmd *dev_cmd; in iwlagn_tx_skb() local 363 dev_cmd = iwl_trans_alloc_tx_cmd(priv->trans); in iwlagn_tx_skb() 365 if (unlikely(!dev_cmd)) in iwlagn_tx_skb() 368 memset(dev_cmd, 0, sizeof(*dev_cmd)); in iwlagn_tx_skb() 369 dev_cmd->hdr.cmd = REPLY_TX; in iwlagn_tx_skb() 370 tx_cmd = (struct iwl_tx_cmd *) dev_cmd->payload; in iwlagn_tx_skb() 388 info->driver_data[1] = dev_cmd; in iwlagn_tx_skb() 455 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb() 476 if (dev_cmd) in iwlagn_tx_skb() 477 iwl_trans_free_tx_cmd(priv->trans, dev_cmd); in iwlagn_tx_skb()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 561 struct iwl_device_cmd *dev_cmd, int queue); 915 struct iwl_device_cmd *dev_cmd) in iwl_trans_free_tx_cmd() argument 917 kmem_cache_free(trans->dev_cmd_pool, dev_cmd); in iwl_trans_free_tx_cmd() 921 struct iwl_device_cmd *dev_cmd, int queue) in iwl_trans_tx() argument 931 return trans->ops->tx(trans, skb, dev_cmd, queue); in iwl_trans_tx()
|
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufshcd.c | 1903 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response() 1918 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response() 1920 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response() 2259 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() 2323 if (hba->dev_cmd.type == DEV_CMD_TYPE_QUERY) in ufshcd_comp_devman_upiu() 2325 else if (hba->dev_cmd.type == DEV_CMD_TYPE_NOP) in ufshcd_comp_devman_upiu() 2492 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd() 2523 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_check_query_response() 2547 if (hba->dev_cmd.type != DEV_CMD_TYPE_NOP) { in ufshcd_dev_cmd_completion() 2581 time_left = wait_for_completion_timeout(hba->dev_cmd.complete, in ufshcd_wait_for_dev_cmd() [all …]
|
D | ufshcd.h | 650 struct ufs_dev_cmd dev_cmd; member
|