/drivers/net/wireless/iwlwifi/mvm/ |
D | tx.c | 77 struct iwl_tx_cmd *tx_cmd, in iwl_mvm_set_tx_cmd() argument 82 u32 tx_flags = le32_to_cpu(tx_cmd->tx_flags); in iwl_mvm_set_tx_cmd() 101 tx_cmd->tid_tspec = qc[0] & 0xf; in iwl_mvm_set_tx_cmd() 104 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwl_mvm_set_tx_cmd() 112 ac = tid_to_mac80211_ac[tx_cmd->tid_tspec]; in iwl_mvm_set_tx_cmd() 118 tx_cmd->pm_frame_timeout = cpu_to_le16(3); in iwl_mvm_set_tx_cmd() 120 tx_cmd->pm_frame_timeout = cpu_to_le16(2); in iwl_mvm_set_tx_cmd() 127 tx_cmd->pm_frame_timeout = cpu_to_le16(2); in iwl_mvm_set_tx_cmd() 129 tx_cmd->pm_frame_timeout = 0; in iwl_mvm_set_tx_cmd() 141 tx_cmd->tx_flags = cpu_to_le32(tx_flags); in iwl_mvm_set_tx_cmd() [all …]
|
D | scan.c | 178 (cmd->data + le16_to_cpu(cmd->tx_cmd.len)); in iwl_mvm_scan_fill_channels() 461 cmd->tx_cmd.tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_request() 464 cmd->tx_cmd.sta_id = mvm->aux_sta.sta_id; in iwl_mvm_scan_request() 465 cmd->tx_cmd.life_time = cpu_to_le32(TX_CMD_LIFE_TIME_INFINITE); in iwl_mvm_scan_request() 466 cmd->tx_cmd.rate_n_flags = in iwl_mvm_scan_request() 470 cmd->tx_cmd.len = in iwl_mvm_scan_request() 481 le16_to_cpu(cmd->tx_cmd.len) + in iwl_mvm_scan_request() 870 &scan_cfg->scan_cmd.tx_cmd[0], in iwl_mvm_config_sched_scan() 879 &scan_cfg->scan_cmd.tx_cmd[1], in iwl_mvm_config_sched_scan() 1089 struct iwl_scan_req_tx_cmd *tx_cmd, in iwl_mvm_unified_scan_fill_tx_cmd() argument [all …]
|
D | fw-api-scan.h | 212 struct iwl_tx_cmd tx_cmd; member 407 struct iwl_tx_cmd tx_cmd[2]; member 733 struct iwl_scan_req_tx_cmd tx_cmd[2]; member
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | tx.c | 66 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_basic() argument 71 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() 73 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_tx_cmd_build_basic() 93 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic() 99 tx_cmd->tid_tspec = qc[0] & 0xf; in iwlagn_tx_cmd_build_basic() 102 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwlagn_tx_cmd_build_basic() 114 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3); in iwlagn_tx_cmd_build_basic() 116 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2); in iwlagn_tx_cmd_build_basic() 118 tx_cmd->timeout.pm_frame_timeout = 0; in iwlagn_tx_cmd_build_basic() 121 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic() [all …]
|
D | scan.c | 757 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in iwlagn_request_scan() 758 scan->tx_cmd.sta_id = ctx->bcast_sta_id; in iwlagn_request_scan() 759 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_request_scan() 781 scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; in iwlagn_request_scan() 832 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan() 886 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan() 910 cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + in iwlagn_request_scan()
|
/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 200 struct tx_cmd { struct 310 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32))); 809 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 810 struct sk_buff *skb = tx_cmd->skb; in i596_cleanup_cmd() 812 tx_cmd->dma_addr, in i596_cleanup_cmd() 822 tx_cmd->cmd.command = 0; /* Mark as free */ in i596_cleanup_cmd() 971 struct tx_cmd *tx_cmd; in i596_start_xmit() local 987 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit() 990 if (tx_cmd->cmd.command) { in i596_start_xmit() 1000 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]; 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 …]
|
/drivers/net/wireless/iwlegacy/ |
D | 3945-mac.c | 369 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_hwcrypto() local 372 tx_cmd->sec_ctl = 0; in il3945_build_tx_cmd_hwcrypto() 376 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in il3945_build_tx_cmd_hwcrypto() 377 memcpy(tx_cmd->key, keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto() 385 tx_cmd->sec_ctl |= TX_CMD_SEC_KEY128; in il3945_build_tx_cmd_hwcrypto() 388 tx_cmd->sec_ctl |= in il3945_build_tx_cmd_hwcrypto() 393 memcpy(&tx_cmd->key[3], keyinfo->key, keyinfo->keylen); in il3945_build_tx_cmd_hwcrypto() 413 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_build_tx_cmd_basic() local 414 __le32 tx_flags = tx_cmd->tx_flags; in il3945_build_tx_cmd_basic() 417 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il3945_build_tx_cmd_basic() [all …]
|
D | 4965-mac.c | 942 scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; in il4965_request_scan() 943 scan->tx_cmd.sta_id = il->hw_params.bcast_id; in il4965_request_scan() 944 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_request_scan() 994 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); in il4965_request_scan() 1022 scan->tx_cmd.len = cpu_to_le16(cmd_len); in il4965_request_scan() 1036 le16_to_cpu(scan->tx_cmd.len) + in il4965_request_scan() 1500 struct il_tx_cmd *tx_cmd, in il4965_tx_cmd_build_basic() argument 1505 __le32 tx_flags = tx_cmd->tx_flags; in il4965_tx_cmd_build_basic() 1507 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in il4965_tx_cmd_build_basic() 1523 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic() [all …]
|
D | 3945.c | 710 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_hw_build_tx_cmd_rate() local 713 tx_flags = tx_cmd->tx_flags; in il3945_hw_build_tx_cmd_rate() 724 tx_cmd->data_retry_limit = data_retry_limit; in il3945_hw_build_tx_cmd_rate() 726 tx_cmd->rts_retry_limit = min(data_retry_limit, rts_retry_limit); in il3945_hw_build_tx_cmd_rate() 728 tx_cmd->rate = rate; in il3945_hw_build_tx_cmd_rate() 729 tx_cmd->tx_flags = tx_flags; in il3945_hw_build_tx_cmd_rate() 732 tx_cmd->supp_rates[0] = in il3945_hw_build_tx_cmd_rate() 736 tx_cmd->supp_rates[1] = (rate_mask & 0xF); in il3945_hw_build_tx_cmd_rate() 739 "cck/ofdm mask: 0x%x/0x%x\n", sta_id, tx_cmd->rate, in il3945_hw_build_tx_cmd_rate() 740 le32_to_cpu(tx_cmd->tx_flags), tx_cmd->supp_rates[1], in il3945_hw_build_tx_cmd_rate() [all …]
|
D | commands.h | 2503 struct il3945_tx_cmd tx_cmd; member 2547 struct il_tx_cmd tx_cmd; member
|
/drivers/net/wireless/mwifiex/ |
D | usb.c | 318 usb_free_urb(card->tx_cmd.urb); in mwifiex_usb_free() 319 card->tx_cmd.urb = NULL; in mwifiex_usb_free() 476 if (card->tx_cmd.urb) in mwifiex_usb_suspend() 477 usb_kill_urb(card->tx_cmd.urb); in mwifiex_usb_suspend() 586 card->tx_cmd.adapter = adapter; in mwifiex_usb_tx_init() 587 card->tx_cmd.ep = card->tx_cmd_ep; in mwifiex_usb_tx_init() 589 card->tx_cmd.urb = usb_alloc_urb(0, GFP_KERNEL); in mwifiex_usb_tx_init() 590 if (!card->tx_cmd.urb) { in mwifiex_usb_tx_init() 723 context = &card->tx_cmd; in mwifiex_usb_host_to_card()
|
D | usb.h | 73 struct urb_context tx_cmd; member
|
/drivers/net/wireless/iwlwifi/pcie/ |
D | tx.c | 223 struct iwl_tx_cmd *tx_cmd = in iwl_pcie_txq_update_byte_cnt_tbl() local 230 sta_id = tx_cmd->sta_id; in iwl_pcie_txq_update_byte_cnt_tbl() 231 sec_ctl = tx_cmd->sec_ctl; in iwl_pcie_txq_update_byte_cnt_tbl() 267 struct iwl_tx_cmd *tx_cmd = in iwl_pcie_txq_inval_byte_cnt_tbl() local 273 sta_id = tx_cmd->sta_id; in iwl_pcie_txq_inval_byte_cnt_tbl() 1683 struct iwl_tx_cmd *tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload; in iwl_trans_pcie_tx() local 1727 tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); in iwl_trans_pcie_tx() 1728 tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); in iwl_trans_pcie_tx() 1745 tx_cmd->tx_flags |= TX_CMD_FLG_MH_PAD_MSK; in iwl_trans_pcie_tx() 1781 iwl_pcie_txq_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len)); in iwl_trans_pcie_tx()
|
/drivers/nfc/ |
D | trf7970a.c | 447 u8 tx_cmd; member 909 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_irq() 914 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_irq() 1256 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_in_config_framing() 1269 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1273 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1515 TRF7970A_CMD_BIT_OPCODE(trf->tx_cmd); in trf7970a_send_cmd() 1608 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_tg_config_framing() 1618 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing() 1622 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing()
|
/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 220 urb = usb_get_from_anchor(&ar->tx_cmd); in carl9170_usb_submit_cmd_urb() 566 ret = usb_wait_anchor_empty_timeout(&ar->tx_cmd, 1000); in carl9170_usb_flush() 599 usb_scuttle_anchored_urbs(&ar->tx_cmd); in carl9170_usb_cancel_urbs() 638 usb_anchor_urb(urb, &ar->tx_cmd); in __carl9170_exec_cmd() 1084 init_usb_anchor(&ar->tx_cmd); in carl9170_usb_probe()
|
D | carl9170.h | 250 struct usb_anchor tx_cmd; member
|
/drivers/staging/rtl8712/ |
D | rtl8712_xmit.h | 52 #define tx_cmd tx_desc macro
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.h | 96 struct ar5523_tx_cmd tx_cmd; member
|
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() 936 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_free_tx_cmd() 945 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_alloc_tx_cmd()
|
/drivers/net/ethernet/ |
D | dnet.c | 541 unsigned int len, i, tx_cmd, wrsz; in dnet_start_xmit() local 562 tx_cmd = ((((unsigned long)(skb->data)) & 0x03) << 16) | (u32) skb->len; in dnet_start_xmit() 573 dnet_writel(bp, tx_cmd, TX_LEN_FIFO); in dnet_start_xmit()
|
/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 552 DCMD_TXCMD_T tx_cmd; in dm_TXPowerTrackingCallback_TSSI() local 577 tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING; in dm_TXPowerTrackingCallback_TSSI() 578 tx_cmd.Length = 4; in dm_TXPowerTrackingCallback_TSSI() 579 tx_cmd.Value = Value; in dm_TXPowerTrackingCallback_TSSI() 580 rtStatus = SendTxCommandPacket(dev, &tx_cmd, 12); in dm_TXPowerTrackingCallback_TSSI() 3557 DCMD_TXCMD_T tx_cmd; in dm_send_rssi_tofw() local 3565 tx_cmd.Op = TXCMD_SET_RX_RSSI; in dm_send_rssi_tofw() 3566 tx_cmd.Length = 4; in dm_send_rssi_tofw() 3567 tx_cmd.Value = priv->undecorated_smoothed_pwdb; in dm_send_rssi_tofw()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1731 u32 tx_cmd; in mvneta_tx() local 1746 tx_cmd = mvneta_skb_tx_csum(pp, skb); in mvneta_tx() 1762 tx_cmd |= MVNETA_TXD_FLZ_DESC; in mvneta_tx() 1763 tx_desc->command = tx_cmd; in mvneta_tx() 1768 tx_cmd |= MVNETA_TXD_F_DESC; in mvneta_tx() 1771 tx_desc->command = tx_cmd; in mvneta_tx()
|
D | mvpp2.c | 5179 u32 tx_cmd; in mvpp2_tx() local 5211 tx_cmd = mvpp2_skb_tx_csum(port, skb); in mvpp2_tx() 5215 tx_cmd |= MVPP2_TXD_F_DESC | MVPP2_TXD_L_DESC; in mvpp2_tx() 5216 tx_desc->command = tx_cmd; in mvpp2_tx() 5220 tx_cmd |= MVPP2_TXD_F_DESC | MVPP2_TXD_PADDING_DISABLE; in mvpp2_tx() 5221 tx_desc->command = tx_cmd; in mvpp2_tx()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 459 struct dcmd_txcmd tx_cmd; in dm_TXPowerTrackingCallback_TSSI() local 484 tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING; in dm_TXPowerTrackingCallback_TSSI() 485 tx_cmd.Length = 4; in dm_TXPowerTrackingCallback_TSSI() 486 tx_cmd.Value = Value; in dm_TXPowerTrackingCallback_TSSI() 487 cmpk_message_handle_tx(dev, (u8 *)&tx_cmd, in dm_TXPowerTrackingCallback_TSSI()
|