/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 400 struct iwl_device_tx_cmd *dev_cmd) in iwl_txq_gen2_build_amsdu() 403 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen2_build_amsdu() 413 &dev_cmd->hdr, start_len, 0); in iwl_txq_gen2_build_amsdu() 531 struct iwl_device_tx_cmd *dev_cmd, in iwl_txq_gen2_build_tx_amsdu() 564 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_txq_gen2_build_tx_amsdu() 575 hdr_len, dev_cmd)) in iwl_txq_gen2_build_tx_amsdu() 579 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx_amsdu() 618 struct iwl_device_tx_cmd *dev_cmd, in iwl_txq_gen2_build_tx() 635 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx() 659 tb1_addr = ((u8 *)&dev_cmd in iwl_txq_gen2_build_tx() 396 iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, int start_len, u8 hdr_len, struct iwl_device_tx_cmd *dev_cmd) iwl_txq_gen2_build_amsdu() argument 529 iwl_txq_gen2_build_tx_amsdu(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len) iwl_txq_gen2_build_tx_amsdu() argument 616 iwl_txq_gen2_build_tx(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len, bool pad) iwl_txq_gen2_build_tx() argument 711 iwl_txq_gen2_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta) iwl_txq_gen2_build_tfd() argument 780 iwl_txq_gen2_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) iwl_txq_gen2_tx() argument 1471 struct iwl_device_tx_cmd *dev_cmd = txq->entries[txq->write_ptr].cmd; iwl_txq_gen1_update_byte_cnt_tbl() local 1513 struct iwl_device_tx_cmd *dev_cmd = txq->entries[read_ptr].cmd; iwl_txq_gen1_inval_byte_cnt_tbl() local [all...] |
H A D | tx.h | 174 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 340 struct iwl_device_tx_cmd *dev_cmd) in iwl_txq_gen2_build_amsdu() 343 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen2_build_amsdu() 353 &dev_cmd->hdr, start_len, 0); in iwl_txq_gen2_build_amsdu() 466 struct iwl_device_tx_cmd *dev_cmd, in iwl_txq_gen2_build_tx_amsdu() 499 tb1_addr = ((u8 *)&dev_cmd->hdr) + IWL_FIRST_TB_SIZE; in iwl_txq_gen2_build_tx_amsdu() 510 hdr_len, dev_cmd)) in iwl_txq_gen2_build_tx_amsdu() 514 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx_amsdu() 553 struct iwl_device_tx_cmd *dev_cmd, in iwl_txq_gen2_build_tx() 570 memcpy(&txq->first_tb_bufs[idx], dev_cmd, IWL_FIRST_TB_SIZE); in iwl_txq_gen2_build_tx() 594 tb1_addr = ((u8 *)&dev_cmd in iwl_txq_gen2_build_tx() 336 iwl_txq_gen2_build_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_tfh_tfd *tfd, int start_len, u8 hdr_len, struct iwl_device_tx_cmd *dev_cmd) iwl_txq_gen2_build_amsdu() argument 464 iwl_txq_gen2_build_tx_amsdu(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len) iwl_txq_gen2_build_tx_amsdu() argument 551 iwl_txq_gen2_build_tx(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len, bool pad) iwl_txq_gen2_build_tx() argument 646 iwl_txq_gen2_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta) iwl_txq_gen2_build_tfd() argument 722 iwl_txq_gen2_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) iwl_txq_gen2_tx() argument 1447 struct iwl_device_tx_cmd *dev_cmd = txq->entries[txq->write_ptr].cmd; iwl_txq_gen1_update_byte_cnt_tbl() local 1489 struct iwl_device_tx_cmd *dev_cmd = txq->entries[read_ptr].cmd; iwl_txq_gen1_inval_byte_cnt_tbl() local [all...] |
H A D | tx.h | 120 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 499 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_set_tx_params() local 502 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params() 504 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params() 507 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params() 553 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 566 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 582 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params() 595 return dev_cmd; in iwl_mvm_set_tx_params() 718 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local 778 dev_cmd in iwl_mvm_tx_skb_non_sta() 1071 struct iwl_device_tx_cmd *dev_cmd; iwl_mvm_tx_mpdu() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 523 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_set_tx_params() local 526 dev_cmd = iwl_trans_alloc_tx_cmd(mvm->trans); in iwl_mvm_set_tx_params() 528 if (unlikely(!dev_cmd)) in iwl_mvm_set_tx_params() 531 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params() 568 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 583 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() 601 tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_mvm_set_tx_params() 614 return dev_cmd; in iwl_mvm_set_tx_params() 738 struct iwl_device_tx_cmd *dev_cmd; in iwl_mvm_tx_skb_non_sta() local 814 dev_cmd in iwl_mvm_tx_skb_non_sta() 1140 struct iwl_device_tx_cmd *dev_cmd; iwl_mvm_tx_mpdu() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tx.c | 270 struct iwl_device_tx_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 dev_cmd->hdr.cmd = REPLY_TX; in iwlagn_tx_skb() 352 tx_cmd = (struct iwl_tx_cmd *) dev_cmd->payload; in iwlagn_tx_skb() 370 info->driver_data[1] = dev_cmd; in iwlagn_tx_skb() 437 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb() 458 if (dev_cmd) in iwlagn_tx_skb() 459 iwl_trans_free_tx_cmd(priv->trans, dev_cmd); in iwlagn_tx_skb()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tx.c | 266 struct iwl_device_tx_cmd *dev_cmd; in iwlagn_tx_skb() local 342 dev_cmd = iwl_trans_alloc_tx_cmd(priv->trans); in iwlagn_tx_skb() 344 if (unlikely(!dev_cmd)) in iwlagn_tx_skb() 347 dev_cmd->hdr.cmd = REPLY_TX; in iwlagn_tx_skb() 348 tx_cmd = (struct iwl_tx_cmd *) dev_cmd->payload; in iwlagn_tx_skb() 366 info->driver_data[1] = dev_cmd; in iwlagn_tx_skb() 433 if (iwl_trans_tx(priv->trans, skb, dev_cmd, txq_id)) in iwlagn_tx_skb() 454 if (dev_cmd) in iwlagn_tx_skb() 455 iwl_trans_free_tx_cmd(priv->trans, dev_cmd); in iwlagn_tx_skb()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx.c | 1719 struct iwl_device_tx_cmd *dev_cmd, in iwl_fill_data_tbs_amsdu() 1722 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() 1741 &dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0); in iwl_fill_data_tbs_amsdu() 1899 struct iwl_device_tx_cmd *dev_cmd, in iwl_fill_data_tbs_amsdu() 1910 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_trans_pcie_tx() 1914 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() 1972 *dev_cmd_ptr = dev_cmd; in iwl_trans_pcie_tx() 1993 txq->entries[txq->write_ptr].cmd = dev_cmd; in iwl_trans_pcie_tx() 1995 dev_cmd->hdr.sequence = in iwl_trans_pcie_tx() 2042 tb1_addr = ((u8 *)&dev_cmd in iwl_trans_pcie_tx() 1716 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) iwl_fill_data_tbs_amsdu() argument 1896 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) iwl_fill_data_tbs_amsdu() argument 1909 iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) iwl_trans_pcie_tx() argument [all...] |
H A D | internal.h | 552 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx.c | 1282 struct iwl_device_tx_cmd *dev_cmd, in iwl_fill_data_tbs_amsdu() 1285 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() 1302 &dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0); in iwl_fill_data_tbs_amsdu() 1413 struct iwl_device_tx_cmd *dev_cmd, in iwl_fill_data_tbs_amsdu() 1424 struct iwl_device_tx_cmd *dev_cmd, int txq_id) in iwl_trans_pcie_tx() 1427 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() 1470 *dev_cmd_ptr = dev_cmd; in iwl_trans_pcie_tx() 1491 txq->entries[txq->write_ptr].cmd = dev_cmd; in iwl_trans_pcie_tx() 1493 dev_cmd->hdr.sequence = in iwl_trans_pcie_tx() 1543 tb1_addr = ((u8 *)&dev_cmd in iwl_trans_pcie_tx() 1279 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) iwl_fill_data_tbs_amsdu() argument 1410 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) iwl_fill_data_tbs_amsdu() argument 1423 iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int txq_id) iwl_trans_pcie_tx() argument [all...] |
H A D | internal.h | 532 struct iwl_device_tx_cmd *dev_cmd, int txq_id);
|
/kernel/linux/linux-6.6/drivers/ufs/core/ |
H A D | ufshcd.c | 2227 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response() 2232 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response() 2243 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response() 2245 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response() 2641 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() 2704 if (hba->dev_cmd.type == DEV_CMD_TYPE_QUERY) in ufshcd_compose_devman_upiu() 2706 else if (hba->dev_cmd.type == DEV_CMD_TYPE_NOP) in ufshcd_compose_devman_upiu() 2919 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd() 3003 if (hba->dev_cmd.type != DEV_CMD_TYPE_NOP) { in ufshcd_dev_cmd_completion() 3023 if (hba->dev_cmd in ufshcd_dev_cmd_completion() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.h | 591 struct iwl_device_tx_cmd *dev_cmd, int queue); 1156 struct iwl_device_tx_cmd *dev_cmd) in iwl_trans_free_tx_cmd() 1158 kmem_cache_free(trans->dev_cmd_pool, dev_cmd); in iwl_trans_free_tx_cmd() 1162 struct iwl_device_tx_cmd *dev_cmd, int queue) in iwl_trans_tx() 1172 return trans->ops->tx(trans, skb, dev_cmd, queue); in iwl_trans_tx() 1155 iwl_trans_free_tx_cmd(struct iwl_trans *trans, struct iwl_device_tx_cmd *dev_cmd) iwl_trans_free_tx_cmd() argument 1161 iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int queue) iwl_trans_tx() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.h | 589 struct iwl_device_tx_cmd *dev_cmd, int queue); 1256 struct iwl_device_tx_cmd *dev_cmd) in iwl_trans_free_tx_cmd() 1258 kmem_cache_free(trans->dev_cmd_pool, dev_cmd); in iwl_trans_free_tx_cmd() 1262 struct iwl_device_tx_cmd *dev_cmd, int queue) in iwl_trans_tx() 1272 return trans->ops->tx(trans, skb, dev_cmd, queue); in iwl_trans_tx() 1255 iwl_trans_free_tx_cmd(struct iwl_trans *trans, struct iwl_device_tx_cmd *dev_cmd) iwl_trans_free_tx_cmd() argument 1261 iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_tx_cmd *dev_cmd, int queue) iwl_trans_tx() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
H A D | ufshcd.c | 2003 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response() 2008 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response() 2019 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response() 2021 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response() 2387 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() 2451 if (hba->dev_cmd.type == DEV_CMD_TYPE_QUERY) in ufshcd_compose_devman_upiu() 2453 else if (hba->dev_cmd.type == DEV_CMD_TYPE_NOP) in ufshcd_compose_devman_upiu() 2644 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd() 2675 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_check_query_response() 2699 if (hba->dev_cmd in ufshcd_dev_cmd_completion() [all...] |
H A D | ufshcd.h | 661 * @dev_cmd: ufs device management command information 765 struct ufs_dev_cmd dev_cmd; member
|
/kernel/linux/linux-6.6/include/ufs/ |
H A D | ufshcd.h | 823 * @reserved_slot: Used to submit device commands. Protected by @dev_cmd.lock. 861 * @dev_cmd: ufs device management command information 1009 struct ufs_dev_cmd dev_cmd; member
|