/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00crypto.c | 104 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()
|
D | rt2x00queue.c | 39 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 …]
|
D | rt2x00mmio.c | 65 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()
|
D | rt2x00debug.c | 164 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()
|
D | rt2800mmio.c | 51 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()
|
D | rt2x00dev.c | 318 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 …]
|
D | rt2800usb.c | 452 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()
|
D | rt2500usb.c | 1070 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()
|
D | rt73usb.c | 1458 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()
|
D | rt2x00usb.c | 341 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()
|
D | rt2400pci.c | 745 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()
|
D | rt2500pci.c | 834 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()
|
D | rt61pci.c | 1403 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()
|
D | rt2800lib.c | 927 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 …]
|