/drivers/net/wireless/rt2x00/ |
H A D | rt2x00crypto.c | 48 struct txentry_desc *txdesc) 56 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); 58 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); 61 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); 63 txdesc->key_idx = hw_key->hw_key_idx; 64 txdesc->iv_offset = txdesc->header_length; 65 txdesc->iv_len = hw_key->iv_len; 68 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags); 71 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc 46 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 102 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument 113 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2x00queue.c | 189 struct txentry_desc *txdesc) 199 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); 209 __clear_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags); 226 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) 237 struct txentry_desc *txdesc, 251 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)) 252 txdesc->u.plcp.ifs = IFS_BACKOFF; 254 txdesc->u.plcp.ifs = IFS_SIFS; 264 txdesc->u.plcp.signal = hwrate->plcp; 265 txdesc 187 rt2x00queue_create_tx_descriptor_seq(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 235 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument 299 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 392 rt2x00queue_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, struct ieee80211_sta *sta) argument 495 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) argument 536 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument 550 rt2x00queue_kick_tx_queue(struct data_queue *queue, struct txentry_desc *txdesc) argument 614 struct txentry_desc txdesc; local 751 struct txentry_desc txdesc; local [all...] |
H A D | rt2x00lib.h | 352 struct txentry_desc *txdesc); 356 struct txentry_desc *txdesc); 358 struct txentry_desc *txdesc); 371 struct txentry_desc *txdesc) 382 struct txentry_desc *txdesc) 387 struct txentry_desc *txdesc) 369 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument 381 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument 386 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
|
H A D | rt2400pci.c | 1103 struct txentry_desc *txdesc) 1118 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length); 1119 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length); 1123 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); 1126 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); 1133 txdesc->u.plcp.length_low); 1137 txdesc->u.plcp.length_high); 1151 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1153 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1155 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc 1102 rt2400pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1173 rt2400pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1279 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt2800lib.h | 167 struct txentry_desc *txdesc); 168 void rt2800_process_rxwi(struct queue_entry *entry, struct rxdone_entry_desc *txdesc); 172 void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc);
|
H A D | rt2x00dev.c | 321 struct txdone_entry_desc *txdesc) 379 test_bit(TXDONE_SUCCESS, &txdesc->flags) || 380 test_bit(TXDONE_UNKNOWN, &txdesc->flags); 390 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ? 391 (txdesc->retry + 1) : 1; 439 if (test_bit(TXDONE_AMPDU, &txdesc->flags) || 496 struct txdone_entry_desc txdesc; local 498 txdesc.flags = 0; 499 __set_bit(status, &txdesc.flags); 500 txdesc 320 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) argument [all...] |
H A D | rt2500usb.c | 1079 struct txentry_desc *txdesc) 1089 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit); 1091 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1093 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1095 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 1097 (txdesc->rate_mode == RATE_MODE_OFDM)); 1099 test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)); 1100 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); 1101 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); 1102 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc 1078 rt2500usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1140 rt2500usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2800mmio.h | 132 struct txentry_desc *txdesc);
|
H A D | rt73usb.c | 1453 struct txentry_desc *txdesc) 1464 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); 1467 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1469 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1471 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 1473 (txdesc->rate_mode == RATE_MODE_OFDM)); 1474 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); 1476 test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags)); 1478 test_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags)); 1480 test_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc 1452 rt73usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1529 rt73usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument [all...] |
H A D | rt2500pci.c | 1256 struct txentry_desc *txdesc) 1278 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); 1279 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); 1281 txdesc->u.plcp.length_low); 1283 txdesc->u.plcp.length_high); 1288 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags)); 1300 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 1302 test_bit(ENTRY_TXD_ACK, &txdesc->flags)); 1304 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); 1306 (txdesc 1255 rt2500pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1325 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1407 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt61pci.c | 1869 struct txentry_desc *txdesc) 1884 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); 1886 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags)); 1891 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); 1892 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); 1894 txdesc->u.plcp.length_low); 1896 txdesc->u.plcp.length_high); 1899 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) { 1921 txdesc->length); 1934 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc 1868 rt61pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument 1966 rt61pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 2159 struct txdone_entry_desc txdesc; local [all...] |
H A D | rt2800mmio.c | 49 struct txentry_desc *txdesc) 75 !test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags)); 77 test_bit(ENTRY_TXD_BURST, &txdesc->flags)); 90 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags)); 48 rt2800mmio_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | trx.c | 475 static void _rtl_fill_usb_tx_desc(u8 *txdesc) argument 477 SET_TX_DESC_OWN(txdesc, 1); 478 SET_TX_DESC_LAST_SEG(txdesc, 1); 479 SET_TX_DESC_FIRST_SEG(txdesc, 1); 484 static void _rtl_tx_desc_checksum(u8 *txdesc) argument 486 u16 *ptr = (u16 *)txdesc; 491 SET_TX_DESC_TX_DESC_CHECKSUM(txdesc, 0); 494 SET_TX_DESC_TX_DESC_CHECKSUM(txdesc, checksum); 517 u8 *txdesc; local 521 txdesc [all...] |
/drivers/staging/rtl8712/ |
H A D | rtl8712_xmit.h | 105 union txdesc { union 106 struct tx_desc txdesc; member in union:txdesc
|
/drivers/spi/ |
H A D | spi-dw-mid.c | 116 struct dma_async_tx_descriptor *txdesc, *rxdesc; local 149 txdesc = dmaengine_prep_slave_sg(dws->txchan, 154 txdesc->callback = dw_spi_dma_done; 155 txdesc->callback_param = dws; 183 dmaengine_submit(txdesc);
|
H A D | spi-davinci.c | 645 struct dma_async_tx_descriptor *txdesc; local 689 txdesc = dmaengine_prep_slave_sg(dspi->dma_tx, 692 if (!txdesc) 697 txdesc->callback = davinci_spi_dma_tx_callback; 698 txdesc->callback_param = (void *)dspi; 704 dmaengine_submit(txdesc);
|
H A D | spi-rockchip.c | 433 struct dma_async_tx_descriptor *rxdesc, *txdesc; local 463 txdesc = dmaengine_prep_slave_sg( 468 txdesc->callback = rockchip_spi_dma_txcb; 469 txdesc->callback_param = rs; 485 dmaengine_submit(txdesc);
|
/drivers/staging/rtl8188eu/include/ |
H A D | rtl8188e_xmit.h | 115 #define txdesc_set_ccx_sw_88e(txdesc, value) \ 117 ((struct txdesc_88e *)(txdesc))->sw1 = (((value)>>8) & 0x0f); \ 118 ((struct txdesc_88e *)(txdesc))->sw0 = ((value) & 0xff); \
|
/drivers/net/wireless/hostap/ |
H A D | hostap_hw.c | 18 * field in txdesc might be used to fix this (using Alloc event to increment 1809 struct hfa384x_tx_frame txdesc; local 1830 memset(&txdesc, 0, sizeof(txdesc)); 1832 /* skb->data starts with txdesc->frame_control */ 1834 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); 1835 fc = le16_to_cpu(txdesc.frame_control); 1836 if (ieee80211_is_data(txdesc.frame_control) && 1837 ieee80211_has_a4(txdesc.frame_control) && 1840 skb_copy_from_linear_data_offset(skb, hdr_len, txdesc 2169 hostap_tx_callback(local_info_t *local, struct hfa384x_tx_frame *txdesc, int ok, char *payload) argument 2219 hostap_tx_compl_read(local_info_t *local, int error, struct hfa384x_tx_frame *txdesc, char **payload) argument 2272 struct hfa384x_tx_frame txdesc; local 2303 struct hfa384x_tx_frame *txdesc = local 2327 struct hfa384x_tx_frame txdesc; local 2360 memcpy(skb_put(skb, sizeof(txdesc)), &txdesc, local [all...] |
/drivers/staging/rtl8723au/include/ |
H A D | rtl8723a_xmit.h | 170 #define txdesc_set_ccx_sw_8723a(txdesc, value) \ 172 ((struct txdesc_8723a *)(txdesc))->mcsg4_max_len = (((value)>>8) & 0x0f); \ 173 ((struct txdesc_8723a *)(txdesc))->mcs15_sgi_max_len= (((value)>>4) & 0x0f); \ 174 ((struct txdesc_8723a *)(txdesc))->mcsg6_max_len = ((value) & 0x0f); \
|
H A D | rtw_xmit.h | 105 union txdesc { union 106 struct tx_desc txdesc; member in union:txdesc 149 u8 pctrl;/* per packet txdesc control enable */
|
/drivers/net/wireless/ath/ath10k/ |
H A D | htt_tx.c | 371 struct sk_buff *txdesc = NULL; local 396 txdesc = ath10k_htc_alloc_skb(ar, len); 397 if (!txdesc) { 408 skb_put(txdesc, len); 409 cmd = (struct htt_cmd *)txdesc->data; 420 res = ath10k_htc_send(&htt->ar->htc, htt->eid, txdesc); 429 dev_kfree_skb_any(txdesc);
|
/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 1111 struct sh_eth_txdesc *txdesc = NULL; local 1113 int tx_ringsize = sizeof(*txdesc) * mdp->num_tx_ring; 1161 txdesc = &mdp->tx_ring[i]; 1162 txdesc->status = cpu_to_edmac(mdp, TD_TFP); 1163 txdesc->buffer_length = 0; 1173 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); 1355 struct sh_eth_txdesc *txdesc; local 1361 txdesc = &mdp->tx_ring[entry]; 1362 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT)) 1366 dma_unmap_single(&ndev->dev, txdesc 2088 struct sh_eth_txdesc *txdesc; local [all...] |
/drivers/net/ethernet/ |
H A D | jme.c | 1450 struct txdesc *txdesc = txring->desc; local 1473 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) { 1478 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR; 1482 txdesc[(i + j) & (mask)].dw[0] = 0; 1993 struct txdesc *txdesc, 2016 txdesc->dw[0] = 0; 2017 txdesc->dw[1] = 0; 2018 txdesc 1992 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 2054 struct txdesc *txdesc = txring->desc, *ctxdesc; local 2167 struct txdesc *txdesc; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-at91.c | 222 struct dma_async_tx_descriptor *txdesc; local 243 txdesc = dmaengine_prep_slave_sg(chan_tx, &dma->sg, 1, DMA_MEM_TO_DEV, 245 if (!txdesc) { 250 txdesc->callback = at91_twi_write_data_dma_callback; 251 txdesc->callback_param = dev; 254 dmaengine_submit(txdesc);
|