Home
last modified time | relevance | path

Searched refs:txdesc (Results 1 - 25 of 104) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dtx.h12 #define SET_TX_DESC_TXPKTSIZE(txdesc, value) \
13 le32p_replace_bits((__le32 *)(txdesc) + 0x00, value, GENMASK(15, 0))
14 #define SET_TX_DESC_OFFSET(txdesc, value) \
15 le32p_replace_bits((__le32 *)(txdesc) + 0x00, value, GENMASK(23, 16))
16 #define SET_TX_DESC_PKT_OFFSET(txdesc, value) \
17 le32p_replace_bits((__le32 *)(txdesc) + 0x01, value, GENMASK(28, 24))
18 #define SET_TX_DESC_QSEL(txdesc, value) \
19 le32p_replace_bits((__le32 *)(txdesc) + 0x01, value, GENMASK(12, 8))
20 #define SET_TX_DESC_BMC(txdesc, value) \
21 le32p_replace_bits((__le32 *)(txdesc)
[all...]
H A Dtx.c37 __le32 *txdesc = (__le32 *)skb->data; in rtw_tx_fill_tx_desc() local
39 SET_TX_DESC_TXPKTSIZE(txdesc, pkt_info->tx_pkt_size); in rtw_tx_fill_tx_desc()
40 SET_TX_DESC_OFFSET(txdesc, pkt_info->offset); in rtw_tx_fill_tx_desc()
41 SET_TX_DESC_PKT_OFFSET(txdesc, pkt_info->pkt_offset); in rtw_tx_fill_tx_desc()
42 SET_TX_DESC_QSEL(txdesc, pkt_info->qsel); in rtw_tx_fill_tx_desc()
43 SET_TX_DESC_BMC(txdesc, pkt_info->bmc); in rtw_tx_fill_tx_desc()
44 SET_TX_DESC_RATE_ID(txdesc, pkt_info->rate_id); in rtw_tx_fill_tx_desc()
45 SET_TX_DESC_DATARATE(txdesc, pkt_info->rate); in rtw_tx_fill_tx_desc()
46 SET_TX_DESC_DISDATAFB(txdesc, pkt_info->dis_rate_fallback); in rtw_tx_fill_tx_desc()
47 SET_TX_DESC_USE_RATE(txdesc, pkt_inf in rtw_tx_fill_tx_desc()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c37 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor()
45 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); in rt2x00crypto_create_tx_descriptor()
50 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
52 txdesc->key_idx = hw_key->hw_key_idx; in rt2x00crypto_create_tx_descriptor()
53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
54 txdesc->iv_len = hw_key->iv_len; in rt2x00crypto_create_tx_descriptor()
57 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
60 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc in rt2x00crypto_create_tx_descriptor()
35 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_create_tx_descriptor() argument
91 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_copy_iv() argument
102 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_remove_iv() argument
[all...]
H A Drt2x00queue.c178 struct txentry_desc *txdesc) in rt2x00queue_create_tx_descriptor_seq()
188 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
199 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
204 __clear_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
218 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_seq()
229 struct txentry_desc *txdesc, in rt2x00queue_create_tx_descriptor_plcp()
243 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_plcp()
244 txdesc->u.plcp.ifs = IFS_BACKOFF; in rt2x00queue_create_tx_descriptor_plcp()
246 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp()
256 txdesc in rt2x00queue_create_tx_descriptor_plcp()
176 rt2x00queue_create_tx_descriptor_seq(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00queue_create_tx_descriptor_seq() argument
227 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_plcp() argument
291 rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_ht() argument
384 rt2x00queue_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta) rt2x00queue_create_tx_descriptor() argument
487 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) rt2x00queue_write_tx_data() argument
528 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) rt2x00queue_write_tx_descriptor() argument
542 rt2x00queue_kick_tx_queue(struct data_queue *queue, struct txentry_desc *txdesc) rt2x00queue_kick_tx_queue() argument
606 struct txentry_desc txdesc; rt2x00queue_write_tx_frame() local
750 struct txentry_desc txdesc; rt2x00queue_update_beacon() local
[all...]
H A Drt2x00lib.h318 struct txentry_desc *txdesc);
322 struct txentry_desc *txdesc);
324 struct txentry_desc *txdesc);
337 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor()
348 struct txentry_desc *txdesc) in rt2x00crypto_tx_copy_iv()
353 struct txentry_desc *txdesc) in rt2x00crypto_tx_remove_iv()
335 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_create_tx_descriptor() argument
347 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_copy_iv() argument
352 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_remove_iv() argument
H A Drt2x00dev.c309 struct txdone_entry_desc *txdesc, in rt2x00lib_fill_tx_status()
317 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? in rt2x00lib_fill_tx_status()
318 (txdesc->retry + 1) : 1; in rt2x00lib_fill_tx_status()
350 if (test_bit(TXDONE_NO_ACK_REQ, &txdesc->flags)) in rt2x00lib_fill_tx_status()
369 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || in rt2x00lib_fill_tx_status()
412 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone_nomatch()
442 test_bit(TXDONE_SUCCESS, &txdesc->flags); in rt2x00lib_txdone_nomatch()
444 if (!test_bit(TXDONE_UNKNOWN, &txdesc->flags)) { in rt2x00lib_txdone_nomatch()
451 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc, in rt2x00lib_txdone_nomatch()
462 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone()
306 rt2x00lib_fill_tx_status(struct rt2x00_dev *rt2x00dev, struct ieee80211_tx_info *tx_info, struct skb_frame_desc *skbdesc, struct txdone_entry_desc *txdesc, bool success) rt2x00lib_fill_tx_status() argument
411 rt2x00lib_txdone_nomatch(struct queue_entry *entry, struct txdone_entry_desc *txdesc) rt2x00lib_txdone_nomatch() argument
461 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) rt2x00lib_txdone() argument
551 struct txdone_entry_desc txdesc; rt2x00lib_txdone_noinfo() local
[all...]
H A Drt2500pci.c1248 struct txentry_desc *txdesc) in rt2500pci_write_tx_desc()
1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc()
1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc()
1273 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc()
1275 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc()
1280 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)); in rt2500pci_write_tx_desc()
1292 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2500pci_write_tx_desc()
1294 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2500pci_write_tx_desc()
1296 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt2500pci_write_tx_desc()
1298 (txdesc in rt2500pci_write_tx_desc()
1247 rt2500pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) rt2500pci_write_tx_desc() argument
1317 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) rt2500pci_write_beacon() argument
1399 struct txdone_entry_desc txdesc; rt2500pci_txdone() local
[all...]
H A Drt2400pci.c1095 struct txentry_desc *txdesc) in rt2400pci_write_tx_desc()
1110 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length); in rt2400pci_write_tx_desc()
1111 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length); in rt2400pci_write_tx_desc()
1115 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2400pci_write_tx_desc()
1118 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2400pci_write_tx_desc()
1125 txdesc->u.plcp.length_low); in rt2400pci_write_tx_desc()
1129 txdesc->u.plcp.length_high); in rt2400pci_write_tx_desc()
1143 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2400pci_write_tx_desc()
1145 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2400pci_write_tx_desc()
1147 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc in rt2400pci_write_tx_desc()
1094 rt2400pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) rt2400pci_write_tx_desc() argument
1165 rt2400pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) rt2400pci_write_beacon() argument
1271 struct txdone_entry_desc txdesc; rt2400pci_txdone() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c37 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor()
45 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); in rt2x00crypto_create_tx_descriptor()
50 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
52 txdesc->key_idx = hw_key->hw_key_idx; in rt2x00crypto_create_tx_descriptor()
53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
54 txdesc->iv_len = hw_key->iv_len; in rt2x00crypto_create_tx_descriptor()
57 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
60 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc in rt2x00crypto_create_tx_descriptor()
35 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_create_tx_descriptor() argument
91 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_copy_iv() argument
102 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_remove_iv() argument
[all...]
H A Drt2x00queue.c178 struct txentry_desc *txdesc) in rt2x00queue_create_tx_descriptor_seq()
188 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
199 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
204 __clear_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); in rt2x00queue_create_tx_descriptor_seq()
218 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_seq()
229 struct txentry_desc *txdesc, in rt2x00queue_create_tx_descriptor_plcp()
243 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) in rt2x00queue_create_tx_descriptor_plcp()
244 txdesc->u.plcp.ifs = IFS_BACKOFF; in rt2x00queue_create_tx_descriptor_plcp()
246 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp()
256 txdesc in rt2x00queue_create_tx_descriptor_plcp()
176 rt2x00queue_create_tx_descriptor_seq(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00queue_create_tx_descriptor_seq() argument
227 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_plcp() argument
291 rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta, const struct rt2x00_rate *hwrate) rt2x00queue_create_tx_descriptor_ht() argument
384 rt2x00queue_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta) rt2x00queue_create_tx_descriptor() argument
488 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) rt2x00queue_write_tx_data() argument
529 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) rt2x00queue_write_tx_descriptor() argument
543 rt2x00queue_kick_tx_queue(struct data_queue *queue, struct txentry_desc *txdesc) rt2x00queue_kick_tx_queue() argument
607 struct txentry_desc txdesc; rt2x00queue_write_tx_frame() local
751 struct txentry_desc txdesc; rt2x00queue_update_beacon() local
[all...]
H A Drt2x00lib.h318 struct txentry_desc *txdesc);
322 struct txentry_desc *txdesc);
324 struct txentry_desc *txdesc);
337 struct txentry_desc *txdesc) in rt2x00crypto_create_tx_descriptor()
348 struct txentry_desc *txdesc) in rt2x00crypto_tx_copy_iv()
353 struct txentry_desc *txdesc) in rt2x00crypto_tx_remove_iv()
335 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_create_tx_descriptor() argument
347 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_copy_iv() argument
352 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) rt2x00crypto_tx_remove_iv() argument
H A Drt2x00dev.c308 struct txdone_entry_desc *txdesc, in rt2x00lib_fill_tx_status()
316 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? in rt2x00lib_fill_tx_status()
317 (txdesc->retry + 1) : 1; in rt2x00lib_fill_tx_status()
349 if (test_bit(TXDONE_NO_ACK_REQ, &txdesc->flags)) in rt2x00lib_fill_tx_status()
368 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || in rt2x00lib_fill_tx_status()
411 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone_nomatch()
441 test_bit(TXDONE_SUCCESS, &txdesc->flags); in rt2x00lib_txdone_nomatch()
443 if (!test_bit(TXDONE_UNKNOWN, &txdesc->flags)) { in rt2x00lib_txdone_nomatch()
450 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc, in rt2x00lib_txdone_nomatch()
461 struct txdone_entry_desc *txdesc) in rt2x00lib_txdone()
305 rt2x00lib_fill_tx_status(struct rt2x00_dev *rt2x00dev, struct ieee80211_tx_info *tx_info, struct skb_frame_desc *skbdesc, struct txdone_entry_desc *txdesc, bool success) rt2x00lib_fill_tx_status() argument
410 rt2x00lib_txdone_nomatch(struct queue_entry *entry, struct txdone_entry_desc *txdesc) rt2x00lib_txdone_nomatch() argument
460 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) rt2x00lib_txdone() argument
550 struct txdone_entry_desc txdesc; rt2x00lib_txdone_noinfo() local
[all...]
H A Drt2500pci.c1248 struct txentry_desc *txdesc) in rt2500pci_write_tx_desc()
1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc()
1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc()
1273 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc()
1275 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc()
1280 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)); in rt2500pci_write_tx_desc()
1292 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); in rt2500pci_write_tx_desc()
1294 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); in rt2500pci_write_tx_desc()
1296 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); in rt2500pci_write_tx_desc()
1298 (txdesc in rt2500pci_write_tx_desc()
1247 rt2500pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) rt2500pci_write_tx_desc() argument
1317 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) rt2500pci_write_beacon() argument
1399 struct txdone_entry_desc txdesc; rt2500pci_txdone() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c444 static void _rtl_fill_usb_tx_desc(__le32 *txdesc) in _rtl_fill_usb_tx_desc() argument
446 set_tx_desc_own(txdesc, 1); in _rtl_fill_usb_tx_desc()
447 set_tx_desc_last_seg(txdesc, 1); in _rtl_fill_usb_tx_desc()
448 set_tx_desc_first_seg(txdesc, 1); in _rtl_fill_usb_tx_desc()
454 static void _rtl_tx_desc_checksum(__le32 *txdesc) in _rtl_tx_desc_checksum() argument
456 __le16 *ptr = (__le16 *)txdesc; in _rtl_tx_desc_checksum()
461 set_tx_desc_tx_desc_checksum(txdesc, 0); in _rtl_tx_desc_checksum()
464 set_tx_desc_tx_desc_checksum(txdesc, checksum); in _rtl_tx_desc_checksum()
488 __le32 *txdesc; in rtl92cu_tx_fill_desc() local
493 txdesc in rtl92cu_tx_fill_desc()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c444 static void _rtl_fill_usb_tx_desc(__le32 *txdesc) in _rtl_fill_usb_tx_desc() argument
446 set_tx_desc_own(txdesc, 1); in _rtl_fill_usb_tx_desc()
447 set_tx_desc_last_seg(txdesc, 1); in _rtl_fill_usb_tx_desc()
448 set_tx_desc_first_seg(txdesc, 1); in _rtl_fill_usb_tx_desc()
454 static void _rtl_tx_desc_checksum(__le32 *txdesc) in _rtl_tx_desc_checksum() argument
456 __le16 *ptr = (__le16 *)txdesc; in _rtl_tx_desc_checksum()
461 set_tx_desc_tx_desc_checksum(txdesc, 0); in _rtl_tx_desc_checksum()
464 set_tx_desc_tx_desc_checksum(txdesc, checksum); in _rtl_tx_desc_checksum()
488 __le32 *txdesc; in rtl92cu_tx_fill_desc() local
493 txdesc in rtl92cu_tx_fill_desc()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Dhal_init.c167 struct tx_desc *txdesc; in rtl8712_dl_fw() local
185 txdesc = (struct tx_desc *)(tmpchar + FWBUFF_ALIGN_SZ - in rtl8712_dl_fw()
187 payload = (u8 *)(txdesc) + txdscp_sz; in rtl8712_dl_fw()
194 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw()
199 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw()
201 txdesc->txdw0 |= cpu_to_le32(dump_imem_sz & in rtl8712_dl_fw()
206 (u8 *)txdesc); in rtl8712_dl_fw()
223 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw()
228 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw()
230 txdesc in rtl8712_dl_fw()
[all...]
H A Drtl8712_xmit.h93 union txdesc { union
94 struct tx_desc txdesc; member
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Dhal_init.c166 struct tx_desc *txdesc; in rtl8712_dl_fw() local
184 txdesc = (struct tx_desc *)(tmpchar + FWBUFF_ALIGN_SZ - in rtl8712_dl_fw()
186 payload = (u8 *)(txdesc) + txdscp_sz; in rtl8712_dl_fw()
193 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw()
198 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw()
200 txdesc->txdw0 |= cpu_to_le32(dump_imem_sz & in rtl8712_dl_fw()
205 (u8 *)txdesc); in rtl8712_dl_fw()
222 memset(txdesc, 0, TXDESC_SIZE); in rtl8712_dl_fw()
227 txdesc->txdw0 |= cpu_to_le32(BIT(28)); in rtl8712_dl_fw()
229 txdesc in rtl8712_dl_fw()
[all...]
H A Drtl8712_xmit.h90 union txdesc { union
91 struct tx_desc txdesc; member
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/
H A Dhostap_hw.c14 * field in txdesc might be used to fix this (using Alloc event to increment
1794 struct hfa384x_tx_frame txdesc; in prism2_tx_80211() local
1815 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1817 /* skb->data starts with txdesc->frame_control */ in prism2_tx_80211()
1818 hdr_len = sizeof(txdesc.header); in prism2_tx_80211()
1820 skb_copy_from_linear_data(skb, &txdesc.header, hdr_len); in prism2_tx_80211()
1821 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1822 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
1825 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc in prism2_tx_80211()
2154 hostap_tx_callback(local_info_t *local, struct hfa384x_tx_frame *txdesc, int ok, char *payload) hostap_tx_callback() argument
2204 hostap_tx_compl_read(local_info_t *local, int error, struct hfa384x_tx_frame *txdesc, char **payload) hostap_tx_compl_read() argument
2257 struct hfa384x_tx_frame txdesc; prism2_tx_ev() local
2288 struct hfa384x_tx_frame *txdesc = hostap_sta_tx_exc_tasklet() local
2312 struct hfa384x_tx_frame txdesc; prism2_txexc() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
H A Dhostap_hw.c14 * field in txdesc might be used to fix this (using Alloc event to increment
1791 struct hfa384x_tx_frame txdesc; in prism2_tx_80211() local
1812 memset(&txdesc, 0, sizeof(txdesc)); in prism2_tx_80211()
1814 /* skb->data starts with txdesc->frame_control */ in prism2_tx_80211()
1816 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); in prism2_tx_80211()
1817 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1818 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
1821 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, in prism2_tx_80211()
1829 txdesc in prism2_tx_80211()
2150 hostap_tx_callback(local_info_t *local, struct hfa384x_tx_frame *txdesc, int ok, char *payload) hostap_tx_callback() argument
2200 hostap_tx_compl_read(local_info_t *local, int error, struct hfa384x_tx_frame *txdesc, char **payload) hostap_tx_compl_read() argument
2253 struct hfa384x_tx_frame txdesc; prism2_tx_ev() local
2284 struct hfa384x_tx_frame *txdesc = hostap_sta_tx_exc_tasklet() local
2308 struct hfa384x_tx_frame txdesc; prism2_txexc() local
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-stm32.c104 struct dma_async_tx_descriptor *txdesc; in stm32_i2c_prep_dma_xfer() local
128 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf, in stm32_i2c_prep_dma_xfer()
132 if (!txdesc) { in stm32_i2c_prep_dma_xfer()
140 txdesc->callback = callback; in stm32_i2c_prep_dma_xfer()
141 txdesc->callback_param = dma_async_param; in stm32_i2c_prep_dma_xfer()
142 ret = dma_submit_error(dmaengine_submit(txdesc)); in stm32_i2c_prep_dma_xfer()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-stm32.c104 struct dma_async_tx_descriptor *txdesc; in stm32_i2c_prep_dma_xfer() local
128 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf, in stm32_i2c_prep_dma_xfer()
132 if (!txdesc) { in stm32_i2c_prep_dma_xfer()
140 txdesc->callback = callback; in stm32_i2c_prep_dma_xfer()
141 txdesc->callback_param = dma_async_param; in stm32_i2c_prep_dma_xfer()
142 ret = dma_submit_error(dmaengine_submit(txdesc)); in stm32_i2c_prep_dma_xfer()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dtx.h116 void fill_txdesc_checksum_common(u8 *txdesc, size_t words) in fill_txdesc_checksum_common() argument
119 __le16 *data = (__le16 *)(txdesc); in fill_txdesc_checksum_common()
120 struct rtw_tx_desc *tx_desc = (struct rtw_tx_desc *)txdesc; in fill_txdesc_checksum_common()
133 u8 *txdesc) in rtw_tx_fill_txdesc_checksum()
137 chip->ops->fill_txdesc_checksum(rtwdev, pkt_info, txdesc); in rtw_tx_fill_txdesc_checksum()
131 rtw_tx_fill_txdesc_checksum(struct rtw_dev *rtwdev, struct rtw_tx_pkt_info *pkt_info, u8 *txdesc) rtw_tx_fill_txdesc_checksum() argument
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
H A Drtl8188e_xmit.h102 #define txdesc_set_ccx_sw_88e(txdesc, value) \
104 ((struct txdesc_88e *)(txdesc))->sw1 = (((value) >> 8) & 0x0f); \
105 ((struct txdesc_88e *)(txdesc))->sw0 = ((value) & 0xff); \

Completed in 21 milliseconds

12345