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

123

/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c37 struct txentry_desc *txdesc)
45 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags);
47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key);
50 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags);
52 txdesc->key_idx = hw_key->hw_key_idx;
53 txdesc->iv_offset = txdesc->header_length;
54 txdesc->iv_len = hw_key->iv_len;
57 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags);
60 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc
35 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
91 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
102 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
[all...]
H A Drt2x00queue.c178 struct txentry_desc *txdesc)
188 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags);
199 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags);
204 __clear_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags);
218 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags))
229 struct txentry_desc *txdesc,
243 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags))
244 txdesc->u.plcp.ifs = IFS_BACKOFF;
246 txdesc->u.plcp.ifs = IFS_SIFS;
256 txdesc
176 rt2x00queue_create_tx_descriptor_seq(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
227 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) 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) argument
384 rt2x00queue_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta) argument
485 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) argument
526 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument
540 rt2x00queue_kick_tx_queue(struct data_queue *queue, struct txentry_desc *txdesc) argument
604 struct txentry_desc txdesc; local
748 struct txentry_desc txdesc; 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)
348 struct txentry_desc *txdesc)
353 struct txentry_desc *txdesc)
335 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
347 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
352 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
H A Drt2x00dev.c308 struct txdone_entry_desc *txdesc,
316 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ?
317 (txdesc->retry + 1) : 1;
349 if (test_bit(TXDONE_NO_ACK_REQ, &txdesc->flags))
368 if (test_bit(TXDONE_AMPDU, &txdesc->flags) ||
411 struct txdone_entry_desc *txdesc)
441 test_bit(TXDONE_SUCCESS, &txdesc->flags);
443 if (!test_bit(TXDONE_UNKNOWN, &txdesc->flags)) {
450 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc,
461 struct txdone_entry_desc *txdesc)
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) argument
410 rt2x00lib_txdone_nomatch(struct queue_entry *entry, struct txdone_entry_desc *txdesc) argument
460 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) argument
550 struct txdone_entry_desc txdesc; local
[all...]
H A Drt2400pci.c1095 struct txentry_desc *txdesc)
1110 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length);
1111 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length);
1115 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal);
1118 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
1125 txdesc->u.plcp.length_low);
1129 txdesc->u.plcp.length_high);
1143 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1145 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1147 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc
1094 rt2400pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1165 rt2400pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1271 struct txdone_entry_desc txdesc; local
[all...]
H A Drt2500usb.c1057 struct txentry_desc *txdesc)
1067 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit);
1069 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1071 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1073 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1075 (txdesc->rate_mode == RATE_MODE_OFDM));
1077 test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags));
1078 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs);
1079 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length);
1080 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc
1056 rt2500usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1118 rt2500usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
[all...]
H A Drt2800lib.h200 struct txentry_desc *txdesc);
201 void rt2800_process_rxwi(struct queue_entry *entry, struct rxdone_entry_desc *txdesc);
212 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc);
H A Drt2800mmio.h122 struct txentry_desc *txdesc);
H A Drt73usb.c1445 struct txentry_desc *txdesc)
1456 test_bit(ENTRY_TXD_BURST, &txdesc->flags));
1459 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1461 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1463 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1465 (txdesc->rate_mode == RATE_MODE_OFDM));
1466 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs);
1468 test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags));
1470 test_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags));
1472 test_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc
1444 rt73usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1521 rt73usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
[all...]
H A Drt2500pci.c1248 struct txentry_desc *txdesc)
1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal);
1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
1273 txdesc->u.plcp.length_low);
1275 txdesc->u.plcp.length_high);
1280 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags));
1292 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1294 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1296 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1298 (txdesc
1247 rt2500pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1317 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1399 struct txdone_entry_desc txdesc; local
[all...]
H A Drt61pci.c1776 struct txentry_desc *txdesc)
1791 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset);
1793 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags));
1798 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal);
1799 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service);
1801 txdesc->u.plcp.length_low);
1803 txdesc->u.plcp.length_high);
1806 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) {
1827 txdesc->length);
1840 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc
1775 rt61pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1872 rt61pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
2065 struct txdone_entry_desc txdesc; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c451 static void _rtl_fill_usb_tx_desc(__le32 *txdesc) argument
453 set_tx_desc_own(txdesc, 1);
454 set_tx_desc_last_seg(txdesc, 1);
455 set_tx_desc_first_seg(txdesc, 1);
461 static void _rtl_tx_desc_checksum(__le32 *txdesc) argument
463 __le16 *ptr = (__le16 *)txdesc;
468 set_tx_desc_tx_desc_checksum(txdesc, 0);
471 set_tx_desc_tx_desc_checksum(txdesc, checksum);
495 __le32 *txdesc; local
501 txdesc
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-stm32.c104 struct dma_async_tx_descriptor *txdesc; local
128 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf,
132 if (!txdesc) {
140 txdesc->callback = callback;
141 txdesc->callback_param = dma_async_param;
142 ret = dma_submit_error(dmaengine_submit(txdesc));
H A Di2c-at91-master.c196 struct dma_async_tx_descriptor *txdesc; local
250 txdesc = dmaengine_prep_slave_sg(chan_tx, dma->sg, sg_len,
253 if (!txdesc) {
258 txdesc->callback = at91_twi_write_data_dma_callback;
259 txdesc->callback_param = dev;
262 dmaengine_submit(txdesc);
/linux-master/drivers/staging/rtl8712/
H A Dhal_init.c166 struct tx_desc *txdesc; local
184 txdesc = (struct tx_desc *)(tmpchar + FWBUFF_ALIGN_SZ -
186 payload = (u8 *)(txdesc) + txdscp_sz;
193 memset(txdesc, 0, TXDESC_SIZE);
198 txdesc->txdw0 |= cpu_to_le32(BIT(28));
200 txdesc->txdw0 |= cpu_to_le32(dump_imem_sz &
205 (u8 *)txdesc);
222 memset(txdesc, 0, TXDESC_SIZE);
227 txdesc->txdw0 |= cpu_to_le32(BIT(28));
229 txdesc
[all...]
H A Drtl8712_xmit.h90 union txdesc { union
91 struct tx_desc txdesc; member in union:txdesc
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dtx.h116 void fill_txdesc_checksum_common(u8 *txdesc, size_t words) argument
119 __le16 *data = (__le16 *)(txdesc);
120 struct rtw_tx_desc *tx_desc = (struct rtw_tx_desc *)txdesc;
133 u8 *txdesc)
137 chip->ops->fill_txdesc_checksum(rtwdev, pkt_info, txdesc);
131 rtw_tx_fill_txdesc_checksum(struct rtw_dev *rtwdev, struct rtw_tx_pkt_info *pkt_info, u8 *txdesc) argument
/linux-master/drivers/net/ethernet/sunplus/
H A Dspl2sw_driver.c71 struct spl2sw_mac_desc *txdesc; local
103 txdesc = &comm->tx_desc[tx_pos];
117 txdesc->addr1 = skbinfo->mapping;
118 txdesc->cmd2 = cmd2;
120 txdesc->cmd1 = cmd1;
/linux-master/drivers/spi/
H A Dspi-dw-dma.c342 struct dma_async_tx_descriptor *txdesc; local
346 txdesc = dmaengine_prep_slave_sg(dws->txchan, sgl, nents,
349 if (!txdesc)
352 txdesc->callback = dw_spi_dma_tx_done;
353 txdesc->callback_param = dws;
355 cookie = dmaengine_submit(txdesc);
H A Dspi-rockchip.c441 struct dma_async_tx_descriptor *rxdesc, *txdesc; local
470 txdesc = NULL;
481 txdesc = dmaengine_prep_slave_sg(
485 if (!txdesc) {
491 txdesc->callback = rockchip_spi_dma_txcb;
492 txdesc->callback_param = ctlr;
507 if (txdesc) {
509 dmaengine_submit(txdesc);
H A Dspi-at91-usart.c208 struct dma_async_tx_descriptor *txdesc; local
223 txdesc = dmaengine_prep_slave_sg(txchan,
229 if (!txdesc)
239 cookie = txdesc->tx_submit(txdesc);
H A Dspi-sun6i.c214 struct dma_async_tx_descriptor *rxdesc, *txdesc; local
239 txdesc = NULL;
250 txdesc = dmaengine_prep_slave_sg(host->dma_tx,
255 if (!txdesc) {
268 dmaengine_submit(txdesc);
H A Dspi-img-spfi.c311 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; local
354 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl,
358 if (!txdesc)
361 txdesc->callback = img_spfi_dma_tx_cb;
362 txdesc->callback_param = spfi;
375 dmaengine_submit(txdesc);
H A Dspi-uniphier.c393 struct dma_async_tx_descriptor *rxdesc = NULL, *txdesc = NULL; local
444 txdesc = dmaengine_prep_slave_sg(
448 if (!txdesc)
451 txdesc->callback = uniphier_spi_dma_txcb;
452 txdesc->callback_param = host;
457 dmaengine_submit(txdesc);
/linux-master/drivers/net/ethernet/
H A Djme.c1417 struct txdesc *txdesc = txring->desc; local
1440 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) {
1445 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR;
1449 txdesc[(i + j) & (mask)].dw[0] = 0;
1954 struct txdesc *txdesc,
1971 txdesc->dw[0] = 0;
1972 txdesc->dw[1] = 0;
1973 txdesc
1953 jme_fill_tx_map(struct pci_dev *pdev, struct txdesc *txdesc, struct jme_buffer_info *txbi, struct page *page, u32 page_offset, u32 len, bool hidma) argument
2006 struct txdesc *txdesc = txring->desc, *ctxdesc; local
2113 struct txdesc *txdesc; local
[all...]

Completed in 203 milliseconds

123