/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | tx.c | 44 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_basic() argument 49 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() 71 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 77 tx_cmd->tid_tspec = qc[0] & 0xf; in iwlagn_tx_cmd_build_basic() 99 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic() 100 tx_cmd->tx_flags = tx_flags; in iwlagn_tx_cmd_build_basic() 101 tx_cmd->next_frame_len = 0; in iwlagn_tx_cmd_build_basic() 140 tx_cmd->initial_rate_index = 0; in iwlagn_tx_cmd_build_rate() 188 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_hwcrypto() argument 266 struct iwl_tx_cmd *tx_cmd; in iwlagn_tx_skb() local [all …]
|
A D | scan.c | 729 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_request_scan() 730 scan->tx_cmd.sta_id = ctx->bcast_sta_id; in iwlagn_request_scan() 731 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_request_scan() 753 scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_request_scan() 804 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan() 858 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan() 882 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | tx.c | 142 struct iwl_tx_cmd *tx_cmd, in iwl_mvm_set_tx_cmd() argument 167 tx_cmd->tid_tspec = qc[0] & 0xf; in iwl_mvm_set_tx_cmd() 177 tx_cmd->tid_tspec = (control & in iwl_mvm_set_tx_cmd() 235 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd() 242 tx_cmd->offload_assist |= in iwl_mvm_set_tx_cmd() 341 tx_cmd->rts_retry_limit = in iwl_mvm_set_tx_cmd_rate() 342 min(tx_cmd->data_retry_limit, tx_cmd->rts_retry_limit); in iwl_mvm_set_tx_cmd_rate() 358 tx_cmd->initial_rate_index = 0; in iwl_mvm_set_tx_cmd_rate() 363 tx_cmd->tx_flags |= in iwl_mvm_set_tx_cmd_rate() 368 tx_cmd->rate_n_flags = in iwl_mvm_set_tx_cmd_rate() [all …]
|
A 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()
|
A D | scan.c | 643 struct iwl_scan_req_tx_cmd *tx_cmd, in iwl_mvm_scan_fill_tx_cmd() argument 646 tx_cmd[0].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 648 tx_cmd[0].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 655 tx_cmd[0].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 656 tx_cmd[1].sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_fill_tx_cmd() 663 tx_cmd[0].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 664 tx_cmd[1].sta_id = 0xff; in iwl_mvm_scan_fill_tx_cmd() 667 tx_cmd[1].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 670 tx_cmd[1].rate_n_flags = iwl_mvm_scan_rate_n_flags(mvm, in iwl_mvm_scan_fill_tx_cmd() 962 iwl_mvm_scan_fill_tx_cmd(mvm, cmd->tx_cmd, params->no_cck); in iwl_mvm_scan_lmac()
|
A D | mvm.h | 1490 struct iwl_tx_cmd *tx_cmd, 1492 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd, 1512 struct iwl_tx_cmd *tx_cmd) in iwl_mvm_set_tx_cmd_ccmp() argument 1516 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in iwl_mvm_set_tx_cmd_ccmp() 1517 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
|
/linux/drivers/net/ethernet/i825xx/ |
A D | lib82596.c | 200 struct tx_cmd { struct 838 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 841 tx_cmd->dma_addr, in i596_cleanup_cmd() 1000 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1019 if (tx_cmd->cmd.command) { in i596_start_xmit() 1033 tx_cmd->skb = skb; in i596_start_xmit() 1035 tx_cmd->pad = 0; in i596_start_xmit() 1036 tx_cmd->size = 0; in i596_start_xmit() 1045 dma_sync_dev(dev, tx_cmd, sizeof(struct tx_cmd)); in i596_start_xmit() 1189 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_interrupt() local [all …]
|
A 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() 1053 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1070 if (tx_cmd->cmd.command) { in i596_start_xmit() 1083 tx_cmd->skb = skb; in i596_start_xmit() 1085 tx_cmd->pad = 0; in i596_start_xmit() 1086 tx_cmd->size = 0; in i596_start_xmit() 1096 i596_add_cmd(dev, &tx_cmd->cmd); in i596_start_xmit() [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
A D | 3945-mac.c | 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() 370 tx_cmd->sec_ctl |= in il3945_build_tx_cmd_hwcrypto() 412 tx_cmd->sta_id = std_id; in il3945_build_tx_cmd_basic() 418 tx_cmd->tid_tspec = qc[0] & 0xf; in il3945_build_tx_cmd_basic() 436 tx_cmd->driver_txop = 0; in il3945_build_tx_cmd_basic() 437 tx_cmd->tx_flags = tx_flags; in il3945_build_tx_cmd_basic() 438 tx_cmd->next_frame_len = 0; in il3945_build_tx_cmd_basic() 451 struct il3945_tx_cmd *tx_cmd; in il3945_tx_skb() local 528 memset(tx_cmd, 0, sizeof(*tx_cmd)); in il3945_tx_skb() [all …]
|
A D | 4965-mac.c | 1485 struct il_tx_cmd *tx_cmd, in il4965_tx_cmd_build_basic() argument 1508 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic() 1532 tx_cmd->driver_txop = 0; in il4965_tx_cmd_build_basic() 1533 tx_cmd->tx_flags = tx_flags; in il4965_tx_cmd_build_basic() 1534 tx_cmd->next_frame_len = 0; in il4965_tx_cmd_build_basic() 1539 struct il_tx_cmd *tx_cmd, in il4965_tx_cmd_build_rate() argument 1562 tx_cmd->initial_rate_idx = 0; in il4965_tx_cmd_build_rate() 1623 tx_cmd->sec_ctl |= in il4965_tx_cmd_build_hwcrypto() 1654 struct il_tx_cmd *tx_cmd; in il4965_tx_skb() local 1772 tx_cmd = &out_cmd->cmd.tx; in il4965_tx_skb() [all …]
|
A 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/drivers/spi/ |
A 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()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | usb.c | 386 usb_free_urb(card->tx_cmd.urb); in mwifiex_usb_free() 387 card->tx_cmd.urb = NULL; in mwifiex_usb_free() 600 if (card->tx_cmd.urb) in mwifiex_usb_suspend() 601 usb_kill_urb(card->tx_cmd.urb); in mwifiex_usb_suspend() 1203 context = &card->tx_cmd; in mwifiex_usb_host_to_card() 1247 card->tx_cmd.adapter = adapter; in mwifiex_usb_tx_init() 1248 card->tx_cmd.ep = card->tx_cmd_ep; in mwifiex_usb_tx_init() 1250 card->tx_cmd.urb = usb_alloc_urb(0, GFP_KERNEL); in mwifiex_usb_tx_init() 1251 if (!card->tx_cmd.urb) in mwifiex_usb_tx_init()
|
A D | usb.h | 113 struct urb_context tx_cmd; member
|
/linux/drivers/nfc/ |
A 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/drivers/net/wireless/ath/carl9170/ |
A 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/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | tx.c | 1297 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_fill_data_tbs_amsdu() local 1345 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_fill_data_tbs_amsdu() 1390 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_fill_data_tbs_amsdu() 1439 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() local 1513 tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); in iwl_trans_pcie_tx() 1514 tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); in iwl_trans_pcie_tx() 1536 tx_cmd->tx_flags |= cpu_to_le32(TX_CMD_FLG_MH_PAD); in iwl_trans_pcie_tx() 1594 iwl_txq_gen1_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len), in iwl_trans_pcie_tx()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl8712_xmit.h | 39 #define tx_cmd tx_desc macro
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | tdls.h | 53 struct iwl_tx_cmd tx_cmd; member
|
/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
A D | tx.c | 332 struct iwl_tx_cmd_gen2 *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen2_build_amsdu() local 371 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_txq_gen2_build_amsdu() 419 le16_add_cpu(&tx_cmd->len, hdr_page->pos - subf_hdrs_start); in iwl_txq_gen2_build_amsdu() 1397 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_update_byte_cnt_tbl() local 1398 u8 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_update_byte_cnt_tbl() 1402 sec_ctl = tx_cmd->sec_ctl; in iwl_txq_gen1_update_byte_cnt_tbl() 1439 struct iwl_tx_cmd *tx_cmd = (void *)dev_cmd->payload; in iwl_txq_gen1_inval_byte_cnt_tbl() local 1444 sta_id = tx_cmd->sta_id; in iwl_txq_gen1_inval_byte_cnt_tbl()
|
/linux/drivers/net/wireless/ath/ar5523/ |
A D | ar5523.h | 95 struct ar5523_tx_cmd tx_cmd; member
|
A D | ar5523.c | 95 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_cmd_rx_cb() 244 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_cmd() 935 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_free_tx_cmd() 944 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_alloc_tx_cmd()
|
/linux/drivers/net/ethernet/ |
A 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/drivers/staging/rtl8192u/ |
A 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()
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A 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()
|