Home
last modified time | relevance | path

Searched refs:dev_cmd (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c288 struct iwl_device_cmd *dev_cmd; in iwl_mvm_set_tx_params() local
291 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params()
293 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params()
296 memset(dev_cmd, 0, sizeof(*dev_cmd)); in iwl_mvm_set_tx_params()
297 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params()
298 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params()
310 info->driver_data[1] = dev_cmd; in iwl_mvm_set_tx_params()
312 return dev_cmd; in iwl_mvm_set_tx_params()
319 struct iwl_device_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local
358 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, NULL, sta_id); in iwl_mvm_tx_skb_non_sta()
[all …]
Dcoex.c744 struct iwl_device_cmd *dev_cmd) in iwl_mvm_rx_bt_coex_notif() argument
750 return iwl_mvm_rx_bt_coex_notif_old(mvm, rxb, dev_cmd); in iwl_mvm_rx_bt_coex_notif()
1007 struct iwl_device_cmd *dev_cmd) in iwl_mvm_rx_ant_coupling_notif() argument
1016 return iwl_mvm_rx_ant_coupling_notif_old(mvm, rxb, dev_cmd); in iwl_mvm_rx_ant_coupling_notif()
Dcoex_legacy.c1063 struct iwl_device_cmd *dev_cmd) in iwl_mvm_rx_bt_coex_notif_old() argument
1255 struct iwl_device_cmd *dev_cmd) in iwl_mvm_rx_ant_coupling_notif_old() argument
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c287 struct iwl_device_cmd *dev_cmd; in iwlagn_tx_skb() local
364 dev_cmd = iwl_trans_alloc_tx_cmd(priv->trans); in iwlagn_tx_skb()
366 if (unlikely(!dev_cmd)) in iwlagn_tx_skb()
369 memset(dev_cmd, 0, sizeof(*dev_cmd)); in iwlagn_tx_skb()
370 dev_cmd->hdr.cmd = REPLY_TX; in iwlagn_tx_skb()
371 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-4.1.27/drivers/scsi/ufs/
Dufshcd.c816 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response()
831 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response()
833 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response()
1153 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu()
1212 if (hba->dev_cmd.type == DEV_CMD_TYPE_QUERY) in ufshcd_compose_upiu()
1215 else if (hba->dev_cmd.type == DEV_CMD_TYPE_NOP) in ufshcd_compose_upiu()
1360 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd()
1391 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_check_query_response()
1414 if (hba->dev_cmd.type != DEV_CMD_TYPE_NOP) { in ufshcd_dev_cmd_completion()
1448 time_left = wait_for_completion_timeout(hba->dev_cmd.complete, in ufshcd_wait_for_dev_cmd()
[all …]
Dufshcd.h456 struct ufs_dev_cmd dev_cmd; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-trans.h512 struct iwl_device_cmd *dev_cmd, int queue);
815 struct iwl_device_cmd *dev_cmd) in iwl_trans_free_tx_cmd() argument
817 u8 *dev_cmd_ptr = (u8 *)dev_cmd - trans->dev_cmd_headroom; in iwl_trans_free_tx_cmd()
823 struct iwl_device_cmd *dev_cmd, int queue) in iwl_trans_tx() argument
831 return trans->ops->tx(trans, skb, dev_cmd, queue); in iwl_trans_tx()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1764 struct iwl_device_cmd *dev_cmd, int txq_id) in iwl_trans_pcie_tx() argument
1768 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx()
1802 txq->entries[q->write_ptr].cmd = dev_cmd; in iwl_trans_pcie_tx()
1804 dev_cmd->hdr.sequence = in iwl_trans_pcie_tx()
1833 memcpy(&txq->scratchbufs[q->write_ptr], &dev_cmd->hdr, in iwl_trans_pcie_tx()
1842 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_HCMD_SCRATCHBUF_SIZE; in iwl_trans_pcie_tx()
1871 &dev_cmd->hdr, IWL_HCMD_SCRATCHBUF_SIZE + tb1_len, in iwl_trans_pcie_tx()
Dinternal.h384 struct iwl_device_cmd *dev_cmd, int txq_id);