Home
last modified time | relevance | path

Searched refs:tx_info (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c61 static int chcr_init_tcb_fields(struct chcr_ktls_info *tx_info);
62 static void clear_conn_resources(struct chcr_ktls_info *tx_info);
70 static int chcr_ktls_save_keys(struct chcr_ktls_info *tx_info, in chcr_ktls_save_keys() argument
77 struct ktls_key_ctx *kctx = &tx_info->key_ctx; in chcr_ktls_save_keys()
87 tx_info->salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE; in chcr_ktls_save_keys()
89 tx_info->iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in chcr_ktls_save_keys()
90 tx_info->iv = be64_to_cpu(*(__be64 *)info_128_gcm->iv); in chcr_ktls_save_keys()
95 tx_info->record_no = *(u64 *)info_128_gcm->rec_seq; in chcr_ktls_save_keys()
101 tx_info->scmd0_seqno_numivs = in chcr_ktls_save_keys()
111 tx_info->scmd0_ivgen_hdrlen = SCMD_KEY_CTX_INLINE_F; in chcr_ktls_save_keys()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c51 mt7615_write_hw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_hw_txp() argument
56 int i, nbuf = tx_info->nbuf - 1; in mt7615_write_hw_txp()
59 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_hw_txp()
60 tx_info->nbuf = 1; in mt7615_write_hw_txp()
71 u16 len = tx_info->buf[i + 1].len & MT_TXD_LEN_MASK; in mt7615_write_hw_txp()
72 u32 addr = tx_info->buf[i + 1].addr; in mt7615_write_hw_txp()
89 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_fw_txp() argument
92 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt7615_write_fw_txp()
93 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb); in mt7615_write_fw_txp()
97 int nbuf = tx_info->nbuf - 1; in mt7615_write_fw_txp()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
72 if (!ring->tx_info) { in mlx4_en_create_tx_ring()
78 ring->tx_info, tmp); in mlx4_en_create_tx_ring()
153 kvfree(ring->tx_info); in mlx4_en_create_tx_ring()
154 ring->tx_info = NULL; in mlx4_en_create_tx_ring()
176 kvfree(ring->tx_info); in mlx4_en_destroy_tx_ring()
177 ring->tx_info = NULL; in mlx4_en_destroy_tx_ring()
193 memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); in mlx4_en_activate_tx_ring()
237 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; in mlx4_en_stamp_wqe() local
244 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_stamp_wqe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c170 struct mwifiex_txinfo *tx_info; in mwifiex_host_to_card() local
172 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_host_to_card()
173 priv = mwifiex_get_priv_by_id(adapter, tx_info->bss_num, in mwifiex_host_to_card()
174 tx_info->bss_type); in mwifiex_host_to_card()
207 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_host_to_card()
208 atomic_add(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_host_to_card()
234 struct mwifiex_txinfo *tx_info; in mwifiex_dequeue_tx_queue() local
241 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_dequeue_tx_queue()
242 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_dequeue_tx_queue()
243 atomic_sub(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_dequeue_tx_queue()
[all …]
Dsta_tx.c49 struct mwifiex_txinfo *tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_process_sta_txpd() local
57 tx_info->status_code = -1; in mwifiex_process_sta_txpd()
81 if (tx_info->flags & MWIFIEX_BUF_FLAG_EAPOL_TX_STATUS || in mwifiex_process_sta_txpd()
82 tx_info->flags & MWIFIEX_BUF_FLAG_ACTION_TX_STATUS) { in mwifiex_process_sta_txpd()
83 local_tx_pd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_sta_txpd()
105 if (tx_info->flags & MWIFIEX_BUF_FLAG_TDLS_PKT) in mwifiex_process_sta_txpd()
144 struct mwifiex_txinfo *tx_info = NULL; in mwifiex_send_null_packet() local
163 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_null_packet()
164 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_send_null_packet()
165 tx_info->bss_num = priv->bss_num; in mwifiex_send_null_packet()
[all …]
Duap_txrx.c40 struct mwifiex_txinfo *tx_info; in mwifiex_uap_del_tx_pkts_in_ralist() local
48 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_del_tx_pkts_in_ralist()
49 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) { in mwifiex_uap_del_tx_pkts_in_ralist()
100 struct mwifiex_txinfo *tx_info; in mwifiex_uap_queue_bridged_pkt() local
192 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_queue_bridged_pkt()
193 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_uap_queue_bridged_pkt()
194 tx_info->bss_num = priv->bss_num; in mwifiex_uap_queue_bridged_pkt()
195 tx_info->bss_type = priv->bss_type; in mwifiex_uap_queue_bridged_pkt()
196 tx_info->flags |= MWIFIEX_BUF_FLAG_BRIDGED_PKT; in mwifiex_uap_queue_bridged_pkt()
217 tx_info->pkt_len = skb->len; in mwifiex_uap_queue_bridged_pkt()
[all …]
Dwmm.c834 struct mwifiex_txinfo *tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_wmm_add_buf_txqueue() local
872 tx_info->flags |= MWIFIEX_BUF_FLAG_TDLS_PKT; in mwifiex_wmm_add_buf_txqueue()
1252 struct mwifiex_txinfo *tx_info; in mwifiex_send_single_packet() local
1262 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_single_packet()
1292 tx_info->flags |= MWIFIEX_BUF_FLAG_REQUEUED_PKT; in mwifiex_send_single_packet()
1309 struct mwifiex_txinfo *tx_info; in mwifiex_is_ptr_processed() local
1316 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_is_ptr_processed()
1317 if (tx_info->flags & MWIFIEX_BUF_FLAG_REQUEUED_PKT) in mwifiex_is_ptr_processed()
1336 struct mwifiex_txinfo *tx_info; in mwifiex_send_processed_packet() local
1359 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_processed_packet()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wfx/
Ddata_tx.c289 struct ieee80211_tx_info *tx_info) in wfx_tx_get_rate_id() argument
295 tx_info->driver_rates, &tx_policy_renew); in wfx_tx_get_rate_id()
307 static int wfx_tx_get_frame_format(struct ieee80211_tx_info *tx_info) in wfx_tx_get_frame_format() argument
309 if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_MCS)) in wfx_tx_get_frame_format()
311 else if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_GREEN_FIELD)) in wfx_tx_get_frame_format()
335 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in wfx_tx_inner() local
336 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in wfx_tx_inner()
344 wfx_tx_fixup_rates(tx_info->driver_rates); in wfx_tx_inner()
347 memset(tx_info->rate_driver_data, 0, sizeof(struct wfx_tx_priv)); in wfx_tx_inner()
349 tx_priv = (struct wfx_tx_priv *)tx_info->rate_driver_data; in wfx_tx_inner()
[all …]
Ddata_tx.h52 struct ieee80211_tx_info *tx_info; in wfx_skb_tx_priv() local
56 tx_info = IEEE80211_SKB_CB(skb); in wfx_skb_tx_priv()
57 return (struct wfx_tx_priv *)tx_info->rate_driver_data; in wfx_skb_tx_priv()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_txrx.c140 struct mt76_tx_info *tx_info) in mt76x02_tx_prepare_skb() argument
143 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt76x02_tx_prepare_skb()
145 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02_tx_prepare_skb()
152 len = tx_info->skb->len - (hdrlen & 2); in mt76x02_tx_prepare_skb()
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb()
155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02_tx_prepare_skb()
162 skb_get_queue_mapping(tx_info->skb)); in mt76x02_tx_prepare_skb()
169 tx_info->info = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) | in mt76x02_tx_prepare_skb()
173 tx_info->info |= MT_TXD_INFO_WIV; in mt76x02_tx_prepare_skb()
178 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02_tx_prepare_skb()
Dmt76x02_usb_core.c67 struct mt76_tx_info *tx_info) in mt76x02u_tx_prepare_skb() argument
70 int pid, len = tx_info->skb->len, ep = q2ep(mdev->q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
72 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02u_tx_prepare_skb()
76 mt76_insert_hdr_pad(tx_info->skb); in mt76x02u_tx_prepare_skb()
78 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
79 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02u_tx_prepare_skb()
80 skb_push(tx_info->skb, sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
82 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb()
89 skb_get_queue_mapping(tx_info->skb)); in mt76x02u_tx_prepare_skb()
106 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02u_tx_prepare_skb()
[all …]
Ddma.c318 struct sk_buff *skb, u32 tx_info) in mt76_dma_tx_queue_skb_raw() argument
336 mt76_dma_add_buf(dev, q, &buf, 1, tx_info, skb, NULL); in mt76_dma_tx_queue_skb_raw()
353 struct mt76_tx_info tx_info = { in mt76_dma_tx_queue_skb() local
380 tx_info.buf[n].addr = t->dma_addr; in mt76_dma_tx_queue_skb()
381 tx_info.buf[n++].len = dev->drv->txwi_size; in mt76_dma_tx_queue_skb()
382 tx_info.buf[n].addr = addr; in mt76_dma_tx_queue_skb()
383 tx_info.buf[n++].len = len; in mt76_dma_tx_queue_skb()
386 if (n == ARRAY_SIZE(tx_info.buf)) in mt76_dma_tx_queue_skb()
394 tx_info.buf[n].addr = addr; in mt76_dma_tx_queue_skb()
395 tx_info.buf[n++].len = iter->len; in mt76_dma_tx_queue_skb()
[all …]
Dmt76x02_mcu.c19 u32 tx_info; in mt76x02_mcu_msg_send() local
36 tx_info = MT_MCU_MSG_TYPE_CMD | in mt76x02_mcu_msg_send()
42 ret = mt76_tx_queue_skb_raw(dev, MT_TXQ_MCU, skb, tx_info); in mt76x02_mcu_msg_send()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c142 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in get_frame_info() local
144 sizeof(tx_info->status.status_driver_data)); in get_frame_info()
145 return (struct ath_frame_info *) &tx_info->status.status_driver_data[0]; in get_frame_info()
447 struct ieee80211_tx_info *tx_info; in ath_tx_complete_aggr() local
463 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
531 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
579 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr()
591 if (tx_info->flags & IEEE80211_TX_STATUS_EOSP) { in ath_tx_complete_aggr()
592 tx_info->flags &= ~IEEE80211_TX_STATUS_EOSP; in ath_tx_complete_aggr()
733 struct ieee80211_tx_info *tx_info; in ath_lookup_legacy() local
[all …]
Dtx99.c55 struct ieee80211_tx_info *tx_info; in ath9k_build_tx99_skb() local
80 tx_info = IEEE80211_SKB_CB(skb); in ath9k_build_tx99_skb()
81 memset(tx_info, 0, sizeof(*tx_info)); in ath9k_build_tx99_skb()
82 rate = &tx_info->control.rates[0]; in ath9k_build_tx99_skb()
83 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb()
84 tx_info->flags = IEEE80211_TX_CTL_NO_ACK; in ath9k_build_tx99_skb()
85 tx_info->control.vif = sc->tx99_vif; in ath9k_build_tx99_skb()
Dlink.c175 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_paprd_send_frame() local
184 memset(tx_info, 0, sizeof(*tx_info)); in ath_paprd_send_frame()
185 tx_info->band = sc->cur_chandef.chan->band; in ath_paprd_send_frame()
186 tx_info->flags |= IEEE80211_TX_CTL_NO_ACK; in ath_paprd_send_frame()
187 tx_info->control.rates[0].idx = 0; in ath_paprd_send_frame()
188 tx_info->control.rates[0].count = 1; in ath_paprd_send_frame()
189 tx_info->control.rates[0].flags = IEEE80211_TX_RC_MCS; in ath_paprd_send_frame()
190 tx_info->control.rates[1].idx = -1; in ath_paprd_send_frame()
Dhtc_drv_txrx.c219 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_mgmt() local
253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt()
266 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_data() local
292 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath9k_htc_tx_data()
320 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
341 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_start() local
342 struct ieee80211_vif *vif = tx_info->control.vif; in ath9k_htc_tx_start()
446 struct ieee80211_tx_info *tx_info; in ath9k_htc_tx_process() local
461 tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_process()
462 vif = tx_info->control.vif; in ath9k_htc_tx_process()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c180 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_seq() local
182 struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); in rt2x00queue_create_tx_descriptor_seq()
185 if (!(tx_info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ)) in rt2x00queue_create_tx_descriptor_seq()
232 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_plcp() local
233 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_plcp()
297 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_ht() local
298 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_ht()
330 if (!(tx_info->flags & IEEE80211_TX_CTL_FIRST_FRAGMENT)) in rt2x00queue_create_tx_descriptor_ht()
342 if (tx_info->flags & IEEE80211_TX_CTL_STBC) in rt2x00queue_create_tx_descriptor_ht()
349 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU && in rt2x00queue_create_tx_descriptor_ht()
[all …]
Drt2x00mac.c23 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(frag_skb); in rt2x00mac_tx_rts_cts() local
29 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
57 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
71 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
72 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
73 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
76 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
77 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
94 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00mac_tx() local
110 if (tx_info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM && in rt2x00mac_tx()
[all …]
Drt2x00dev.c306 struct ieee80211_tx_info *tx_info, in rt2x00lib_fill_tx_status() argument
322 memset(&tx_info->status, 0, sizeof(tx_info->status)); in rt2x00lib_fill_tx_status()
323 tx_info->status.ack_signal = 0; in rt2x00lib_fill_tx_status()
332 tx_info->status.rates[i].idx = rate_idx - i; in rt2x00lib_fill_tx_status()
333 tx_info->status.rates[i].flags = rate_flags; in rt2x00lib_fill_tx_status()
340 tx_info->status.rates[i].count = retry_rates - i; in rt2x00lib_fill_tx_status()
344 tx_info->status.rates[i].count = 1; in rt2x00lib_fill_tx_status()
347 tx_info->status.rates[i].idx = -1; /* terminate */ in rt2x00lib_fill_tx_status()
350 tx_info->flags |= IEEE80211_TX_CTL_NO_ACK; in rt2x00lib_fill_tx_status()
352 if (!(tx_info->flags & IEEE80211_TX_CTL_NO_ACK)) { in rt2x00lib_fill_tx_status()
[all …]
Drt2x00crypto.c39 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00crypto_create_tx_descriptor() local
40 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in rt2x00crypto_create_tx_descriptor()
66 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00crypto_tx_overhead() local
67 struct ieee80211_key_conf *key = tx_info->control.hw_key; in rt2x00crypto_tx_overhead()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c524 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_add_frame() local
525 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_add_frame()
632 struct ieee80211_tx_info *tx_info; in brcms_c_ampdu_finalize() local
683 tx_info = IEEE80211_SKB_CB(first); in brcms_c_ampdu_finalize()
684 txrate = tx_info->status.rates; in brcms_c_ampdu_finalize()
820 struct ieee80211_tx_info *tx_info, in brcms_c_ampdu_rate_status() argument
823 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status()
853 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_dotxstatus_complete() local
928 tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_dotxstatus_complete()
960 brcms_c_ampdu_rate_status(wlc, tx_info, txs, in brcms_c_ampdu_dotxstatus_complete()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c77 struct ena_tx_buffer *tx_info);
128 struct ena_tx_buffer *tx_info, in ena_xmit_common() argument
171 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
172 tx_info->last_jiffies = jiffies; in ena_xmit_common()
173 tx_info->print_once = 0; in ena_xmit_common()
229 struct ena_tx_buffer *tx_info, in ena_xdp_tx_map_buff() argument
239 tx_info->xdpf = xdp_convert_buff_to_frame(xdp); in ena_xdp_tx_map_buff()
240 size = tx_info->xdpf->len; in ena_xdp_tx_map_buff()
241 ena_buf = tx_info->bufs; in ena_xdp_tx_map_buff()
245 *push_hdr = tx_info->xdpf->data; in ena_xdp_tx_map_buff()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad.c827 tcb = bnad->tx_info[i].tcb[j]; in bnad_isr()
829 bnad_tx_complete(bnad, bnad->tx_info[i].tcb[j]); in bnad_isr()
954 bnad->tx_info[tx_id].tcb[tcb_id]; in bnad_cb_ethport_link_status()
1001 struct bnad_tx_info *tx_info = in bnad_cb_tcb_setup() local
1005 tx_info->tcb[tcb->id] = tcb; in bnad_cb_tcb_setup()
1011 struct bnad_tx_info *tx_info = in bnad_cb_tcb_destroy() local
1014 tx_info->tcb[tcb->id] = NULL; in bnad_cb_tcb_destroy()
1040 struct bnad_tx_info *tx_info = in bnad_cb_tx_stall() local
1047 tcb = tx_info->tcb[i]; in bnad_cb_tx_stall()
1059 struct bnad_tx_info *tx_info = (struct bnad_tx_info *)tx->priv; in bnad_cb_tx_resume() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
Dstarfire.c531 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1172 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1207 np->tx_info[entry].skb = skb; in start_tx()
1223 np->tx_info[entry].mapping = in start_tx()
1230 np->tx_info[entry].mapping = in start_tx()
1236 if (dma_mapping_error(&np->pci_dev->dev, np->tx_info[entry].mapping)) { in start_tx()
1241 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1248 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1249 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1252 np->tx_info[entry].used_slots = 1; in start_tx()
[all …]

12345