/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 45 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_basic() argument 50 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() 52 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_tx_cmd_build_basic() 72 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 78 tx_cmd->tid_tspec = qc[0] & 0xf; in iwlagn_tx_cmd_build_basic() 81 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwlagn_tx_cmd_build_basic() 93 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3); in iwlagn_tx_cmd_build_basic() 95 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2); in iwlagn_tx_cmd_build_basic() 97 tx_cmd->timeout.pm_frame_timeout = 0; in iwlagn_tx_cmd_build_basic() 100 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic() [all …]
|
D | scan.c | 735 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_request_scan() 736 scan->tx_cmd.sta_id = ctx->bcast_sta_id; in iwlagn_request_scan() 737 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_request_scan() 759 scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_request_scan() 810 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan() 864 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan() 888 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 150 struct iwl_tx_cmd *tx_cmd, in iwl_mvm_set_tx_cmd() argument 155 u32 tx_flags = le32_to_cpu(tx_cmd->tx_flags); in iwl_mvm_set_tx_cmd() 175 tx_cmd->tid_tspec = qc[0] & 0xf; in iwl_mvm_set_tx_cmd() 184 tx_cmd->tid_tspec = (control & in iwl_mvm_set_tx_cmd() 187 WARN_ON_ONCE(tx_cmd->tid_tspec >= IWL_MAX_TID_COUNT); in iwl_mvm_set_tx_cmd() 188 iwl_mvm_bar_check_trigger(mvm, bar->ra, tx_cmd->tid_tspec, in iwl_mvm_set_tx_cmd() 192 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwl_mvm_set_tx_cmd() 194 tx_cmd->tid_tspec = IWL_MAX_TID_COUNT; in iwl_mvm_set_tx_cmd() 203 if (tx_cmd->tid_tspec < IWL_MAX_TID_COUNT) in iwl_mvm_set_tx_cmd() 204 ac = tid_to_mac80211_ac[tx_cmd->tid_tspec]; in iwl_mvm_set_tx_cmd() [all …]
|
D | tdls.c | 413 iwl_mvm_set_tx_cmd_ccmp(info, &tail->frame.tx_cmd); in iwl_mvm_tdls_config_channel_switch() 416 iwl_mvm_set_tx_cmd(mvm, skb, &tail->frame.tx_cmd, info, in iwl_mvm_tdls_config_channel_switch() 419 iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta, in iwl_mvm_tdls_config_channel_switch()
|
D | scan.c | 641 struct iwl_scan_req_tx_cmd *tx_cmd, in iwl_mvm_scan_fill_tx_cmd() argument 644 tx_cmd[0].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 646 tx_cmd[0].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 651 tx_cmd[0].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 652 tx_cmd[1].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 659 tx_cmd[0].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 660 tx_cmd[1].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 663 tx_cmd[1].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 666 tx_cmd[1].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 958 iwl_mvm_scan_fill_tx_cmd(mvm, cmd->tx_cmd, params->no_cck); in iwl_mvm_scan_lmac()
|
/linux-6.6.21/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 199 struct tx_cmd { struct 309 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32))); 837 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 838 struct sk_buff *skb = tx_cmd->skb; in i596_cleanup_cmd() 840 tx_cmd->dma_addr, in i596_cleanup_cmd() 850 tx_cmd->cmd.command = 0; /* Mark as free */ in i596_cleanup_cmd() 999 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1015 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit() 1018 if (tx_cmd->cmd.command) { in i596_start_xmit() 1028 tx_cmd->tbd = SWAP32(virt_to_dma(lp, tbd)); in i596_start_xmit() [all …]
|
D | 82596.c | 232 struct tx_cmd { struct 333 struct tx_cmd tx_cmds[TX_RING_SIZE]; 888 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 889 struct sk_buff *skb = tx_cmd->skb; in i596_cleanup_cmd() 897 tx_cmd->cmd.command = 0; /* Mark as free */ in i596_cleanup_cmd() 1052 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1066 tx_cmd = lp->tx_cmds + lp->next_tx_cmd; in i596_start_xmit() 1069 if (tx_cmd->cmd.command) { in i596_start_xmit() 1078 tx_cmd->tbd = WSWAPtbd(virt_to_bus(tbd)); in i596_start_xmit() 1081 tx_cmd->cmd.command = CMD_FLEX | CmdTx; in i596_start_xmit() [all …]
|
/linux-6.6.21/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 | 930 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in il4965_request_scan() 931 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan() 932 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_request_scan() 982 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); in il4965_request_scan() 1010 scan->tx_cmd.len = cpu_to_le16(cmd_len); in il4965_request_scan() 1024 le16_to_cpu(scan->tx_cmd.len) + in il4965_request_scan() 1485 struct il_tx_cmd *tx_cmd, in il4965_tx_cmd_build_basic() argument 1490 __le32 tx_flags = tx_cmd->tx_flags; in il4965_tx_cmd_build_basic() 1492 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_tx_cmd_build_basic() 1508 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 …]
|
/linux-6.6.21/drivers/spi/ |
D | spi-fsl-dspi.c | 226 u16 tx_cmd; member 341 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() 940 dspi->tx_cmd = SPI_PUSHR_CMD_CTAS(0); in dspi_transfer_one_message() 942 dspi->tx_cmd |= SPI_PUSHR_CMD_PCS(spi_get_chipselect(spi, 0)); in dspi_transfer_one_message() 950 dspi->tx_cmd |= SPI_PUSHR_CMD_CONT; in dspi_transfer_one_message() 958 dspi->tx_cmd |= SPI_PUSHR_CMD_CONT; in dspi_transfer_one_message() [all …]
|
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/ |
D | usb.c | 375 usb_free_urb(card->tx_cmd.urb); in mwifiex_usb_free() 376 card->tx_cmd.urb = NULL; in mwifiex_usb_free() 589 if (card->tx_cmd.urb) in mwifiex_usb_suspend() 590 usb_kill_urb(card->tx_cmd.urb); in mwifiex_usb_suspend() 1192 context = &card->tx_cmd; in mwifiex_usb_host_to_card() 1236 card->tx_cmd.adapter = adapter; in mwifiex_usb_tx_init() 1237 card->tx_cmd.ep = card->tx_cmd_ep; in mwifiex_usb_tx_init() 1239 card->tx_cmd.urb = usb_alloc_urb(0, GFP_KERNEL); in mwifiex_usb_tx_init() 1240 if (!card->tx_cmd.urb) in mwifiex_usb_tx_init()
|
D | usb.h | 101 struct urb_context tx_cmd; member
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | tdls.h | 53 struct iwl_tx_cmd tx_cmd; member
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl8712_xmit.h | 39 #define tx_cmd tx_desc macro
|
/linux-6.6.21/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()
|
/linux-6.6.21/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() 1533 TRF7970A_CMD_BIT_OPCODE(trf->tx_cmd); in trf7970a_send_cmd() 1631 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_tg_config_framing() 1641 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing() 1645 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx.c | 1285 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() local 1333 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_fill_data_tbs_amsdu() 1378 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_fill_data_tbs_amsdu() 1427 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() local 1501 tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); in iwl_trans_pcie_tx() 1502 tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); in iwl_trans_pcie_tx() 1524 tx_cmd->tx_flags |= cpu_to_le32(TX_CMD_FLG_MH_PAD); in iwl_trans_pcie_tx() 1585 iwl_txq_gen1_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len), in iwl_trans_pcie_tx()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.c | 343 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen2_build_amsdu() local 382 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_txq_gen2_build_amsdu() 430 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_txq_gen2_build_amsdu() 1448 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_update_byte_cnt_tbl() local 1449 u8 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_update_byte_cnt_tbl() 1453 sec_ctl = tx_cmd->sec_ctl; in iwl_txq_gen1_update_byte_cnt_tbl() 1490 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_inval_byte_cnt_tbl() local 1495 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_inval_byte_cnt_tbl()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 509 struct dcmd_txcmd tx_cmd; in _rtl92e_dm_tx_power_tracking_callback_tssi() local 521 tx_cmd.op = TXCMD_SET_TX_PWR_TRACKING; in _rtl92e_dm_tx_power_tracking_callback_tssi() 522 tx_cmd.length = 4; in _rtl92e_dm_tx_power_tracking_callback_tssi() 523 tx_cmd.value = priv->pwr_track >> 24; in _rtl92e_dm_tx_power_tracking_callback_tssi() 524 rtl92e_send_cmd_pkt(dev, DESC_PACKET_TYPE_NORMAL, (u8 *)&tx_cmd, in _rtl92e_dm_tx_power_tracking_callback_tssi()
|
/linux-6.6.21/drivers/net/can/ctucanfd/ |
D | ctucanfd_base.c | 578 u32 tx_cmd = cmd; in ctucan_give_txtb_cmd() local 580 tx_cmd |= 1 << (buf + 8); in ctucan_give_txtb_cmd() 581 ctucan_write32(priv, CTUCANFD_TX_COMMAND, tx_cmd); in ctucan_give_txtb_cmd()
|
/linux-6.6.21/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 454 struct tx_config_cmd tx_cmd; in dm_TXPowerTrackingCallback_TSSI() local 475 tx_cmd.cmd_op = TXCMD_SET_TX_PWR_TRACKING; in dm_TXPowerTrackingCallback_TSSI() 476 tx_cmd.cmd_length = sizeof(tx_cmd.cmd_op); in dm_TXPowerTrackingCallback_TSSI() 477 tx_cmd.cmd_value = Value; in dm_TXPowerTrackingCallback_TSSI() 478 rtStatus = SendTxCommandPacket(dev, &tx_cmd, sizeof(struct tx_config_cmd)); in dm_TXPowerTrackingCallback_TSSI()
|