/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 49 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_basic() argument 54 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() 56 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_tx_cmd_build_basic() 76 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 82 tx_cmd->tid_tspec = qc[0] & 0xf; in iwlagn_tx_cmd_build_basic() 85 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwlagn_tx_cmd_build_basic() 97 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3); in iwlagn_tx_cmd_build_basic() 99 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2); in iwlagn_tx_cmd_build_basic() 101 tx_cmd->timeout.pm_frame_timeout = 0; in iwlagn_tx_cmd_build_basic() 104 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic() [all …]
|
D | scan.c | 733 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_request_scan() 734 scan->tx_cmd.sta_id = ctx->bcast_sta_id; in iwlagn_request_scan() 735 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_request_scan() 757 scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_request_scan() 808 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan() 862 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan() 886 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 202 struct iwl_tx_cmd *tx_cmd, in iwl_mvm_set_tx_cmd() argument 207 u32 tx_flags = le32_to_cpu(tx_cmd->tx_flags); in iwl_mvm_set_tx_cmd() 227 tx_cmd->tid_tspec = qc[0] & 0xf; in iwl_mvm_set_tx_cmd() 237 tx_cmd->tid_tspec = (control & in iwl_mvm_set_tx_cmd() 240 WARN_ON_ONCE(tx_cmd->tid_tspec >= IWL_MAX_TID_COUNT); in iwl_mvm_set_tx_cmd() 241 iwl_mvm_bar_check_trigger(mvm, bar->ra, tx_cmd->tid_tspec, in iwl_mvm_set_tx_cmd() 245 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwl_mvm_set_tx_cmd() 247 tx_cmd->tid_tspec = IWL_MAX_TID_COUNT; in iwl_mvm_set_tx_cmd() 256 if (tx_cmd->tid_tspec < IWL_MAX_TID_COUNT) in iwl_mvm_set_tx_cmd() 257 ac = tid_to_mac80211_ac[tx_cmd->tid_tspec]; in iwl_mvm_set_tx_cmd() [all …]
|
D | tdls.c | 469 iwl_mvm_set_tx_cmd_ccmp(info, &tail->frame.tx_cmd); in iwl_mvm_tdls_config_channel_switch() 472 iwl_mvm_set_tx_cmd(mvm, skb, &tail->frame.tx_cmd, info, in iwl_mvm_tdls_config_channel_switch() 475 iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta, in iwl_mvm_tdls_config_channel_switch()
|
D | scan.c | 693 struct iwl_scan_req_tx_cmd *tx_cmd, in iwl_mvm_scan_fill_tx_cmd() argument 696 tx_cmd[0].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 698 tx_cmd[0].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 705 tx_cmd[0].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 706 tx_cmd[1].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 713 tx_cmd[0].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 714 tx_cmd[1].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 717 tx_cmd[1].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 720 tx_cmd[1].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 1006 iwl_mvm_scan_fill_tx_cmd(mvm, cmd->tx_cmd, params->no_cck); in iwl_mvm_scan_lmac()
|
D | mvm.h | 1518 struct iwl_tx_cmd *tx_cmd, 1520 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd, 1541 struct iwl_tx_cmd *tx_cmd) in iwl_mvm_set_tx_cmd_ccmp() argument 1545 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in iwl_mvm_set_tx_cmd_ccmp() 1546 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 200 struct tx_cmd { struct 310 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32))); 838 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 839 struct sk_buff *skb = tx_cmd->skb; in i596_cleanup_cmd() 841 tx_cmd->dma_addr, in i596_cleanup_cmd() 851 tx_cmd->cmd.command = 0; /* Mark as free */ in i596_cleanup_cmd() 1000 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1016 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit() 1019 if (tx_cmd->cmd.command) { in i596_start_xmit() 1029 tx_cmd->tbd = SWAP32(virt_to_dma(lp, tbd)); in i596_start_xmit() [all …]
|
D | 82596.c | 233 struct tx_cmd { struct 334 struct tx_cmd tx_cmds[TX_RING_SIZE]; 889 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 890 struct sk_buff *skb = tx_cmd->skb; in i596_cleanup_cmd() 898 tx_cmd->cmd.command = 0; /* Mark as free */ in i596_cleanup_cmd() 1053 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1067 tx_cmd = lp->tx_cmds + lp->next_tx_cmd; in i596_start_xmit() 1070 if (tx_cmd->cmd.command) { in i596_start_xmit() 1079 tx_cmd->tbd = WSWAPtbd(virt_to_bus(tbd)); in i596_start_xmit() 1082 tx_cmd->cmd.command = CMD_FLEX | CmdTx; in i596_start_xmit() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-mac.c | 351 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_hwcrypto() local 354 tx_cmd->sec_ctl = 0; in il3945_build_tx_cmd_hwcrypto() 358 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in il3945_build_tx_cmd_hwcrypto() 359 memcpy(tx_cmd->key, keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto() 367 tx_cmd->sec_ctl |= TX_CMD_SEC_KEY128; in il3945_build_tx_cmd_hwcrypto() 370 tx_cmd->sec_ctl |= in il3945_build_tx_cmd_hwcrypto() 375 memcpy(&tx_cmd->key[3], keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto() 395 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_basic() local 396 __le32 tx_flags = tx_cmd->tx_flags; in il3945_build_tx_cmd_basic() 399 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il3945_build_tx_cmd_basic() [all …]
|
D | 4965-mac.c | 929 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in il4965_request_scan() 930 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan() 931 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_request_scan() 981 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); in il4965_request_scan() 1009 scan->tx_cmd.len = cpu_to_le16(cmd_len); in il4965_request_scan() 1023 le16_to_cpu(scan->tx_cmd.len) + in il4965_request_scan() 1484 struct il_tx_cmd *tx_cmd, in il4965_tx_cmd_build_basic() argument 1489 __le32 tx_flags = tx_cmd->tx_flags; in il4965_tx_cmd_build_basic() 1491 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_tx_cmd_build_basic() 1507 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic() [all …]
|
D | 3945.c | 695 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_hw_build_tx_cmd_rate() local 698 tx_flags = tx_cmd->tx_flags; in il3945_hw_build_tx_cmd_rate() 709 tx_cmd->data_retry_limit = data_retry_limit; in il3945_hw_build_tx_cmd_rate() 711 tx_cmd->rts_retry_limit = min(data_retry_limit, rts_retry_limit); in il3945_hw_build_tx_cmd_rate() 713 tx_cmd->rate = rate; in il3945_hw_build_tx_cmd_rate() 714 tx_cmd->tx_flags = tx_flags; in il3945_hw_build_tx_cmd_rate() 717 tx_cmd->supp_rates[0] = in il3945_hw_build_tx_cmd_rate() 721 tx_cmd->supp_rates[1] = (rate_mask & 0xF); in il3945_hw_build_tx_cmd_rate() 724 "cck/ofdm mask: 0x%x/0x%x\n", sta_id, tx_cmd->rate, in il3945_hw_build_tx_cmd_rate() 725 le32_to_cpu(tx_cmd->tx_flags), tx_cmd->supp_rates[1], in il3945_hw_build_tx_cmd_rate() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-fsl-dspi.c | 225 u16 tx_cmd; member 340 u16 cmd = dspi->tx_cmd, data = dspi_pop_tx(dspi); in dspi_pop_tx_pushr() 697 u16 tx_cmd = dspi->tx_cmd; in dspi_xspi_fifo_write() local 707 if (!(dspi->tx_cmd & SPI_PUSHR_CMD_CONT) && num_bytes == dspi->len) in dspi_xspi_fifo_write() 708 tx_cmd |= SPI_PUSHR_CMD_EOQ; in dspi_xspi_fifo_write() 719 dspi_pushr_cmd_write(dspi, tx_cmd); in dspi_xspi_fifo_write() 918 dspi->tx_cmd = SPI_PUSHR_CMD_CTAS(0) | in dspi_transfer_one_message() 926 dspi->tx_cmd |= SPI_PUSHR_CMD_CONT; in dspi_transfer_one_message() 934 dspi->tx_cmd |= SPI_PUSHR_CMD_CONT; in dspi_transfer_one_message()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl8712_xmit.h | 40 #define tx_cmd tx_desc macro
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | tdls.h | 111 struct iwl_tx_cmd tx_cmd; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | usb.c | 387 usb_free_urb(card->tx_cmd.urb); in mwifiex_usb_free() 388 card->tx_cmd.urb = NULL; in mwifiex_usb_free() 601 if (card->tx_cmd.urb) in mwifiex_usb_suspend() 602 usb_kill_urb(card->tx_cmd.urb); in mwifiex_usb_suspend() 1204 context = &card->tx_cmd; in mwifiex_usb_host_to_card() 1248 card->tx_cmd.adapter = adapter; in mwifiex_usb_tx_init() 1249 card->tx_cmd.ep = card->tx_cmd_ep; in mwifiex_usb_tx_init() 1251 card->tx_cmd.urb = usb_alloc_urb(0, GFP_KERNEL); in mwifiex_usb_tx_init() 1252 if (!card->tx_cmd.urb) in mwifiex_usb_tx_init()
|
D | usb.h | 113 struct urb_context tx_cmd; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.c | 403 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen2_build_amsdu() local 442 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_txq_gen2_build_amsdu() 493 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_txq_gen2_build_amsdu() 1472 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_update_byte_cnt_tbl() local 1473 u8 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_update_byte_cnt_tbl() 1477 sec_ctl = tx_cmd->sec_ctl; in iwl_txq_gen1_update_byte_cnt_tbl() 1514 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_inval_byte_cnt_tbl() local 1519 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_inval_byte_cnt_tbl()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 222 urb = usb_get_from_anchor(&ar->tx_cmd); in carl9170_usb_submit_cmd_urb() 568 ret = usb_wait_anchor_empty_timeout(&ar->tx_cmd, 1000); in carl9170_usb_flush() 601 usb_scuttle_anchored_urbs(&ar->tx_cmd); in carl9170_usb_cancel_urbs() 640 usb_anchor_urb(urb, &ar->tx_cmd); in __carl9170_exec_cmd() 1080 init_usb_anchor(&ar->tx_cmd); in carl9170_usb_probe()
|
/kernel/linux/linux-5.10/drivers/nfc/ |
D | trf7970a.c | 446 u8 tx_cmd; member 908 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_irq() 913 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_irq() 1274 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_in_config_framing() 1287 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1291 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1532 TRF7970A_CMD_BIT_OPCODE(trf->tx_cmd); in trf7970a_send_cmd() 1630 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_tg_config_framing() 1640 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing() 1644 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ar5523/ |
D | ar5523.h | 95 struct ar5523_tx_cmd tx_cmd; member
|
D | ar5523.c | 95 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_cmd_rx_cb() 246 usb_kill_urb(ar->tx_cmd.urb_tx); in ar5523_cancel_tx_cmd() 253 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_cmd() 945 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_free_tx_cmd() 954 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_alloc_tx_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx.c | 1722 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() local 1772 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_fill_data_tbs_amsdu() 1842 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_fill_data_tbs_amsdu() 1914 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() local 2003 tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); in iwl_trans_pcie_tx() 2004 tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); in iwl_trans_pcie_tx() 2026 tx_cmd->tx_flags |= cpu_to_le32(TX_CMD_FLG_MH_PAD); in iwl_trans_pcie_tx() 2084 iwl_txq_gen1_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len), in iwl_trans_pcie_tx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | dnet.c | 510 unsigned int i, tx_cmd, wrsz; in dnet_start_xmit() local 529 tx_cmd = ((((unsigned long)(skb->data)) & 0x03) << 16) | (u32) skb->len; in dnet_start_xmit() 540 dnet_writel(bp, tx_cmd, TX_LEN_FIFO); in dnet_start_xmit()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 498 struct tx_config_cmd tx_cmd; in dm_TXPowerTrackingCallback_TSSI() local 520 tx_cmd.cmd_op = TXCMD_SET_TX_PWR_TRACKING; in dm_TXPowerTrackingCallback_TSSI() 521 tx_cmd.cmd_length = sizeof(tx_cmd.cmd_op); in dm_TXPowerTrackingCallback_TSSI() 522 tx_cmd.cmd_value = Value; in dm_TXPowerTrackingCallback_TSSI() 523 rtStatus = SendTxCommandPacket(dev, &tx_cmd, sizeof(struct tx_config_cmd)); in dm_TXPowerTrackingCallback_TSSI()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 622 struct dcmd_txcmd tx_cmd; in _rtl92e_dm_tx_power_tracking_callback_tssi() local 646 tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING; in _rtl92e_dm_tx_power_tracking_callback_tssi() 647 tx_cmd.Length = 4; in _rtl92e_dm_tx_power_tracking_callback_tssi() 648 tx_cmd.Value = Value; in _rtl92e_dm_tx_power_tracking_callback_tssi() 649 rtl92e_send_cmd_pkt(dev, DESC_PACKET_TYPE_NORMAL, (u8 *)&tx_cmd, in _rtl92e_dm_tx_power_tracking_callback_tssi()
|