/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A 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() 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() 100 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic() 101 tx_cmd->tx_flags = tx_flags; in iwlagn_tx_cmd_build_basic() 102 tx_cmd->next_frame_len = 0; in iwlagn_tx_cmd_build_basic() 141 tx_cmd->initial_rate_index = 0; in iwlagn_tx_cmd_build_rate() 189 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_hwcrypto() argument 267 struct iwl_tx_cmd *tx_cmd; in iwlagn_tx_skb() local [all …]
|
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 150 struct iwl_tx_cmd *tx_cmd, in iwl_mvm_set_tx_cmd() argument 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() 242 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd() 244 tx_cmd->offload_assist = in iwl_mvm_set_tx_cmd() 397 tx_cmd->rts_retry_limit = in iwl_mvm_set_tx_cmd_rate() 398 min(tx_cmd->data_retry_limit, tx_cmd->rts_retry_limit); in iwl_mvm_set_tx_cmd_rate() 415 tx_cmd->initial_rate_index = 0; in iwl_mvm_set_tx_cmd_rate() 420 tx_cmd->tx_flags |= in iwl_mvm_set_tx_cmd_rate() 425 tx_cmd->rate_n_flags = in iwl_mvm_set_tx_cmd_rate() [all …]
|
H 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()
|
H A 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()
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | lib82596.c | 199 struct tx_cmd { struct 837 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_cleanup_cmd() local 840 tx_cmd->dma_addr, in i596_cleanup_cmd() 999 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1018 if (tx_cmd->cmd.command) { in i596_start_xmit() 1032 tx_cmd->skb = skb; in i596_start_xmit() 1034 tx_cmd->pad = 0; in i596_start_xmit() 1035 tx_cmd->size = 0; in i596_start_xmit() 1044 dma_sync_dev(dev, tx_cmd, sizeof(struct tx_cmd)); in i596_start_xmit() 1188 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; in i596_interrupt() local [all …]
|
H A 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() 1052 struct tx_cmd *tx_cmd; in i596_start_xmit() local 1069 if (tx_cmd->cmd.command) { in i596_start_xmit() 1082 tx_cmd->skb = skb; in i596_start_xmit() 1084 tx_cmd->pad = 0; in i596_start_xmit() 1085 tx_cmd->size = 0; in i596_start_xmit() 1095 i596_add_cmd(dev, &tx_cmd->cmd); in i596_start_xmit() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/spi/ |
H A 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 …]
|
/openbmc/u-boot/drivers/net/ |
H A D | dnet.c | 138 unsigned int tx_cmd; in dnet_send() local 146 tx_cmd = ((((unsigned int)(packet)) & 0x03) << 16) | (u32)length; in dnet_send() 156 writel(tx_cmd, &dnet->regs->TX_LEN_FIFO); in dnet_send()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl8712_xmit.h | 39 #define tx_cmd tx_desc macro
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | tdls.h | 53 struct iwl_tx_cmd tx_cmd; member
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A 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()
|
H A D | usb.h | 101 struct urb_context tx_cmd; member
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H 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() 1112 init_usb_anchor(&ar->tx_cmd); in carl9170_usb_probe()
|
/openbmc/linux/drivers/nfc/ |
H A 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() 1275 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_in_config_framing() 1288 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1292 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_in_config_framing() 1534 TRF7970A_CMD_BIT_OPCODE(trf->tx_cmd); in trf7970a_send_cmd() 1632 trf->tx_cmd = TRF7970A_CMD_TRANSMIT_NO_CRC; in trf7970a_tg_config_framing() 1642 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing() 1646 trf->tx_cmd = TRF7970A_CMD_TRANSMIT; in trf7970a_tg_config_framing()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.h | 95 struct ar5523_tx_cmd tx_cmd; member
|
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/ |
H 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()
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A 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()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A 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()
|