Searched defs:txdesc (Results 1 - 24 of 24) sorted by relevance

/drivers/net/wireless/rt2x00/
H A Drt2x00crypto.c50 struct txentry_desc *txdesc)
58 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags);
60 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key);
63 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags);
65 txdesc->key_idx = hw_key->hw_key_idx;
66 txdesc->iv_offset = txdesc->header_length;
67 txdesc->iv_len = hw_key->iv_len;
70 __set_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags);
73 __set_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc
48 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
104 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
115 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
[all...]
H A Drt2x00lib.h354 struct txentry_desc *txdesc);
358 struct txentry_desc *txdesc);
360 struct txentry_desc *txdesc);
373 struct txentry_desc *txdesc)
384 struct txentry_desc *txdesc)
389 struct txentry_desc *txdesc)
371 rt2x00crypto_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
383 rt2x00crypto_tx_copy_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
388 rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) argument
H A Drt2800usb.c451 struct txentry_desc *txdesc)
470 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags));
475 test_bit(ENTRY_TXD_BURST, &txdesc->flags));
450 rt2800usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
H A Drt2x00dev.c274 struct txdone_entry_desc *txdesc)
329 test_bit(TXDONE_SUCCESS, &txdesc->flags) ||
330 test_bit(TXDONE_UNKNOWN, &txdesc->flags);
340 retry_rates = test_bit(TXDONE_FALLBACK, &txdesc->flags) ?
341 (txdesc->retry + 1) : 1;
389 if (test_bit(TXDONE_AMPDU, &txdesc->flags) ||
446 struct txdone_entry_desc txdesc; local
448 txdesc.flags = 0;
449 __set_bit(status, &txdesc.flags);
450 txdesc
273 rt2x00lib_txdone(struct queue_entry *entry, struct txdone_entry_desc *txdesc) argument
[all...]
H A Drt2800pci.c604 struct txentry_desc *txdesc)
629 !test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
631 test_bit(ENTRY_TXD_BURST, &txdesc->flags));
644 !test_bit(ENTRY_TXD_ENCRYPT_IV, &txdesc->flags));
603 rt2800pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
H A Drt2x00queue.c205 struct txentry_desc *txdesc)
215 __set_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags);
231 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags))
242 struct txentry_desc *txdesc,
256 if (test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags))
257 txdesc->u.plcp.ifs = IFS_BACKOFF;
259 txdesc->u.plcp.ifs = IFS_SIFS;
269 txdesc->u.plcp.signal = hwrate->plcp;
270 txdesc->u.plcp.service = 0x04;
273 txdesc
203 rt2x00queue_create_tx_descriptor_seq(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
240 rt2x00queue_create_tx_descriptor_plcp(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument
304 rt2x00queue_create_tx_descriptor_ht(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc, const struct rt2x00_rate *hwrate) argument
389 rt2x00queue_create_tx_descriptor(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb, struct txentry_desc *txdesc) argument
491 rt2x00queue_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) argument
531 rt2x00queue_write_tx_descriptor(struct queue_entry *entry, struct txentry_desc *txdesc) argument
545 rt2x00queue_kick_tx_queue(struct data_queue *queue, struct txentry_desc *txdesc) argument
567 struct txentry_desc txdesc; local
703 struct txentry_desc txdesc; local
[all...]
H A Drt2400pci.c1104 struct txentry_desc *txdesc)
1119 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length);
1120 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length);
1124 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal);
1127 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
1134 txdesc->u.plcp.length_low);
1138 txdesc->u.plcp.length_high);
1152 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1154 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1156 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc
1103 rt2400pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1174 rt2400pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1274 struct txdone_entry_desc txdesc; local
[all...]
H A Drt2500pci.c1258 struct txentry_desc *txdesc)
1280 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal);
1281 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
1283 txdesc->u.plcp.length_low);
1285 txdesc->u.plcp.length_high);
1290 test_bit(ENTRY_TXD_RTS_FRAME, &txdesc->flags));
1302 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1304 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1306 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1308 (txdesc
1257 rt2500pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1327 rt2500pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1406 struct txdone_entry_desc txdesc; local
[all...]
H A Drt2500usb.c1082 struct txentry_desc *txdesc)
1092 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit);
1094 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1096 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1098 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1100 (txdesc->rate_mode == RATE_MODE_OFDM));
1102 test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags));
1103 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs);
1104 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length);
1105 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc
1081 rt2500usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1143 rt2500usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
[all...]
H A Drt73usb.c1456 struct txentry_desc *txdesc)
1467 test_bit(ENTRY_TXD_BURST, &txdesc->flags));
1470 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
1472 test_bit(ENTRY_TXD_ACK, &txdesc->flags));
1474 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
1476 (txdesc->rate_mode == RATE_MODE_OFDM));
1477 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs);
1479 test_bit(ENTRY_TXD_RETRY_MODE, &txdesc->flags));
1481 test_bit(ENTRY_TXD_ENCRYPT_MMIC, &txdesc->flags));
1483 test_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc
1455 rt73usb_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1532 rt73usb_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
[all...]
H A Drt2800lib.c458 struct txentry_desc *txdesc)
468 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc->flags));
470 test_bit(ENTRY_TXD_HT_MIMO_PS, &txdesc->flags));
473 test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags));
475 test_bit(ENTRY_TXD_HT_AMPDU, &txdesc->flags));
477 txdesc->u.ht.mpdu_density);
478 rt2x00_set_field32(&word, TXWI_W0_TX_OP, txdesc->u.ht.txop);
479 rt2x00_set_field32(&word, TXWI_W0_MCS, txdesc->u.ht.mcs);
481 test_bit(ENTRY_TXD_HT_BW_40, &txdesc->flags));
483 test_bit(ENTRY_TXD_HT_SHORT_GI, &txdesc
457 rt2800_write_tx_data(struct queue_entry *entry, struct txentry_desc *txdesc) argument
608 struct txdone_entry_desc txdesc; local
684 rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
[all...]
H A Drt61pci.c1868 struct txentry_desc *txdesc)
1883 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset);
1885 test_bit(ENTRY_TXD_GENERATE_SEQ, &txdesc->flags));
1890 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal);
1891 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service);
1893 txdesc->u.plcp.length_low);
1895 txdesc->u.plcp.length_high);
1898 if (test_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags)) {
1920 txdesc->length);
1933 test_bit(ENTRY_TXD_MORE_FRAG, &txdesc
1867 rt61pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
1965 rt61pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument
2158 struct txdone_entry_desc txdesc; local
[all...]
/drivers/spi/
H A Dspi-dw-mid.c112 struct dma_async_tx_descriptor *txdesc = NULL, *rxdesc = NULL; local
149 txdesc = dmaengine_prep_slave_sg(txchan,
154 txdesc->callback = dw_spi_dma_done;
155 txdesc->callback_param = dws;
182 txdesc->tx_submit(txdesc);
H A Dspi-pl022.c896 struct dma_async_tx_descriptor *txdesc; local
1030 txdesc = dmaengine_prep_slave_sg(txchan,
1035 if (!txdesc)
1044 dmaengine_submit(txdesc);
/drivers/staging/rtl8712/
H A Drtl8712_xmit.h105 union txdesc { union
106 struct tx_desc txdesc; member in union:txdesc
H A Drtl871x_xmit.c193 struct tx_cmd txdesc; local
240 i = _r8712_pktfile_read(&pktfile, (u8 *)&txdesc, TXDESC_SIZE);
343 pattrib->priority = (txdesc.txdw1 >> QSEL_SHT) & 0x1f;
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Dtrx.c475 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, cpu_to_le16(checksum));
516 u8 *txdesc; local
520 txdesc
[all...]
/drivers/net/ethernet/dlink/
H A Ddl2k.c605 struct netdev_desc *txdesc; local
617 txdesc = &np->tx_ring[entry];
621 txdesc->status |=
631 txdesc->fraginfo = cpu_to_le64 (pci_map_single (np->pdev, skb->data,
634 txdesc->fraginfo |= cpu_to_le64((u64)skb->len << 48);
639 txdesc->status = cpu_to_le64 (entry | tfc_vlan_tag |
644 txdesc->status = cpu_to_le64 (entry | tfc_vlan_tag |
H A Dsundance.c1053 struct netdev_desc *txdesc = local
1059 txdesc = &np->tx_ring[entry];
1064 np->last_tx = txdesc;
1067 txdesc->status |= cpu_to_le32(DescIntrOnTx);
1078 struct netdev_desc *txdesc; local
1084 txdesc = &np->tx_ring[entry];
1086 txdesc->next_desc = 0;
1087 txdesc->status = cpu_to_le32 ((entry << 2) | DisableAlign);
1088 txdesc->frag[0].addr = cpu_to_le32(dma_map_single(&np->pci_dev->dev,
1091 txdesc
[all...]
/drivers/net/ethernet/
H A Djme.c1449 struct txdesc *txdesc = txring->desc; local
1472 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) {
1477 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR;
1481 txdesc[(i + j) & (mask)].dw[0] = 0;
1988 struct txdesc *txdesc,
2008 txdesc->dw[0] = 0;
2009 txdesc->dw[1] = 0;
2010 txdesc
1987 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
2025 struct txdesc *txdesc = txring->desc, *ctxdesc; local
2139 struct txdesc *txdesc; local
[all...]
H A Djme.h182 struct txdesc { struct
/drivers/net/ethernet/renesas/
H A Dsh_eth.c658 struct sh_eth_txdesc *txdesc = NULL; local
660 int tx_ringsize = sizeof(*txdesc) * TX_RING_SIZE;
704 txdesc = &mdp->tx_ring[i];
705 txdesc->status = cpu_to_edmac(mdp, TD_TFP);
706 txdesc->buffer_length = 0;
715 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE);
878 struct sh_eth_txdesc *txdesc; local
884 txdesc = &mdp->tx_ring[entry];
885 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT))
889 dma_unmap_single(&ndev->dev, txdesc
1494 struct sh_eth_txdesc *txdesc; local
[all...]
/drivers/net/wireless/hostap/
H A Dhostap_hw.c18 * 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/net/wan/
H A Dfarsync.c133 struct txdesc { /* Transmit descriptor */ struct
271 struct txdesc txDescrRing[FST_MAX_PORTS][NUM_TX_BUFFER];

Completed in 356 milliseconds