Home
last modified time | relevance | path

Searched refs:skbdesc (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c104 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_copy_iv() local
110 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_copy_iv()
115 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_remove_iv() local
121 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_remove_iv()
131 skbdesc->flags |= SKBDESC_IV_STRIPPED; in rt2x00crypto_tx_remove_iv()
136 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_insert_iv() local
138 ((!!(skbdesc->iv[0])) * 4) + ((!!(skbdesc->iv[1])) * 4); in rt2x00crypto_tx_insert_iv()
140 if (!(skbdesc->flags & SKBDESC_IV_STRIPPED)) in rt2x00crypto_tx_insert_iv()
149 memcpy(skb->data + header_length, skbdesc->iv, iv_len); in rt2x00crypto_tx_insert_iv()
152 skbdesc->flags &= ~SKBDESC_IV_STRIPPED; in rt2x00crypto_tx_insert_iv()
Drt2x00queue.c39 struct skb_frame_desc *skbdesc; in rt2x00queue_alloc_rxskb() local
84 skbdesc = get_skb_frame_desc(skb); in rt2x00queue_alloc_rxskb()
85 memset(skbdesc, 0, sizeof(*skbdesc)); in rt2x00queue_alloc_rxskb()
97 skbdesc->skb_dma = skb_dma; in rt2x00queue_alloc_rxskb()
98 skbdesc->flags |= SKBDESC_DMA_MAPPED_RX; in rt2x00queue_alloc_rxskb()
107 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_map_txskb() local
109 skbdesc->skb_dma = in rt2x00queue_map_txskb()
112 if (unlikely(dma_mapping_error(dev, skbdesc->skb_dma))) in rt2x00queue_map_txskb()
115 skbdesc->flags |= SKBDESC_DMA_MAPPED_TX; in rt2x00queue_map_txskb()
123 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_unmap_skb() local
[all …]
Drt2x00mmio.c65 struct skb_frame_desc *skbdesc; in rt2x00mmio_rxdone() local
78 skbdesc = get_skb_frame_desc(entry->skb); in rt2x00mmio_rxdone()
79 skbdesc->desc = entry_priv->desc; in rt2x00mmio_rxdone()
80 skbdesc->desc_len = entry->queue->desc_size; in rt2x00mmio_rxdone()
Drt2x00debug.c164 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00debug_dump_frame() local
181 if (skbdesc->flags & SKBDESC_DESC_IN_SKB) in rt2x00debug_dump_frame()
182 data_len -= skbdesc->desc_len; in rt2x00debug_dump_frame()
184 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()
194 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame()
205 if (!(skbdesc->flags & SKBDESC_DESC_IN_SKB)) in rt2x00debug_dump_frame()
206 skb_put_data(skbcopy, skbdesc->desc, skbdesc->desc_len); in rt2x00debug_dump_frame()
Drt2800mmio.c51 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800mmio_write_tx_desc() local
69 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); in rt2800mmio_write_tx_desc()
85 skbdesc->skb_dma + txwi_size); in rt2800mmio_write_tx_desc()
97 skbdesc->desc = txd; in rt2800mmio_write_tx_desc()
98 skbdesc->desc_len = TXD_DESC_SIZE; in rt2800mmio_write_tx_desc()
722 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800mmio_clear_entry() local
728 rt2x00_set_field32(&word, RXD_W0_SDP0, skbdesc->skb_dma); in rt2800mmio_clear_entry()
Drt2x00dev.c318 struct skb_frame_desc *skbdesc, in rt2x00lib_fill_tx_status() argument
325 rate_idx = skbdesc->tx_rate_idx; in rt2x00lib_fill_tx_status()
326 rate_flags = skbdesc->tx_rate_flags; in rt2x00lib_fill_tx_status()
428 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00lib_txdone_nomatch() local
440 skbdesc->flags &= ~SKBDESC_DESC_IN_SKB; in rt2x00lib_txdone_nomatch()
464 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc, in rt2x00lib_txdone_nomatch()
466 ieee80211_tx_status_noskb(rt2x00dev->hw, skbdesc->sta, &txinfo); in rt2x00lib_txdone_nomatch()
479 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00lib_txdone() local
480 u8 skbdesc_flags = skbdesc->flags; in rt2x00lib_txdone()
497 skbdesc->flags &= ~SKBDESC_DESC_IN_SKB; in rt2x00lib_txdone()
[all …]
Drt2800usb.c452 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800usb_write_tx_desc() local
480 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2800usb_write_tx_desc()
481 skbdesc->desc = txi; in rt2800usb_write_tx_desc()
482 skbdesc->desc_len = TXINFO_DESC_SIZE + entry->queue->winfo_size; in rt2800usb_write_tx_desc()
638 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800usb_fill_rxdone() local
648 memcpy(skbdesc->desc, rxi, skbdesc->desc_len); in rt2800usb_fill_rxdone()
Drt2500usb.c1070 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500usb_write_tx_desc() local
1112 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt2500usb_write_tx_desc()
1113 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt2500usb_write_tx_desc()
1119 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2500usb_write_tx_desc()
1120 skbdesc->desc = txd; in rt2500usb_write_tx_desc()
1121 skbdesc->desc_len = TXD_DESC_SIZE; in rt2500usb_write_tx_desc()
1232 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500usb_fill_rxdone() local
1244 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt2500usb_fill_rxdone()
1245 rxd = (__le32 *)skbdesc->desc; in rt2500usb_fill_rxdone()
Drt73usb.c1458 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt73usb_write_tx_desc() local
1511 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt73usb_write_tx_desc()
1512 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt73usb_write_tx_desc()
1524 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt73usb_write_tx_desc()
1525 skbdesc->desc = txd; in rt73usb_write_tx_desc()
1526 skbdesc->desc_len = TXD_DESC_SIZE; in rt73usb_write_tx_desc()
1682 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt73usb_fill_rxdone() local
1691 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt73usb_fill_rxdone()
1692 rxd = (__le32 *)skbdesc->desc; in rt73usb_fill_rxdone()
Drt2x00usb.c341 struct skb_frame_desc *skbdesc; in rt2x00usb_work_rxdone() local
354 skbdesc = get_skb_frame_desc(entry->skb); in rt2x00usb_work_rxdone()
355 skbdesc->desc = rxd; in rt2x00usb_work_rxdone()
356 skbdesc->desc_len = entry->queue->desc_size; in rt2x00usb_work_rxdone()
Drt2400pci.c745 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2400pci_clear_entry() local
754 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_clear_entry()
1108 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2400pci_write_tx_desc() local
1117 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_write_tx_desc()
1169 skbdesc->desc = txd; in rt2400pci_write_tx_desc()
1170 skbdesc->desc_len = TXD_DESC_SIZE; in rt2400pci_write_tx_desc()
Drt2500pci.c834 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500pci_clear_entry() local
839 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_clear_entry()
1261 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500pci_write_tx_desc() local
1270 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_write_tx_desc()
1321 skbdesc->desc = txd; in rt2500pci_write_tx_desc()
1322 skbdesc->desc_len = TXD_DESC_SIZE; in rt2500pci_write_tx_desc()
Drt61pci.c1403 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt61pci_clear_entry() local
1409 skbdesc->skb_dma); in rt61pci_clear_entry()
1874 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt61pci_write_tx_desc() local
1903 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt61pci_write_tx_desc()
1904 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt61pci_write_tx_desc()
1918 skbdesc->skb_dma); in rt61pci_write_tx_desc()
1960 skbdesc->desc = txd; in rt61pci_write_tx_desc()
1961 skbdesc->desc_len = (entry->queue->qid == QID_BEACON) ? TXINFO_SIZE : in rt61pci_write_tx_desc()
Drt2800lib.c927 static void rt2800_rate_from_status(struct skb_frame_desc *skbdesc, in rt2800_rate_from_status() argument
956 skbdesc->tx_rate_idx = idx; in rt2800_rate_from_status()
957 skbdesc->tx_rate_flags = flags; in rt2800_rate_from_status()
965 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800_txdone_entry() local
1006 rt2800_rate_from_status(skbdesc, status, rt2x00dev->curr_band); in rt2800_txdone_entry()
1051 skbdesc->sta = drv_data->wcid_to_sta[wcid - WCID_START]; in rt2800_txdone_entry()
1053 skbdesc->sta = NULL; in rt2800_txdone_entry()
1109 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800_write_beacon() local
1132 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2800_write_beacon()
1133 skbdesc->desc = entry->skb->data; in rt2800_write_beacon()
[all …]