/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00crypto.c | 93 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_copy_iv() local 99 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_copy_iv() 104 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_remove_iv() local 110 memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); in rt2x00crypto_tx_remove_iv() 120 skbdesc->flags |= SKBDESC_IV_STRIPPED; in rt2x00crypto_tx_remove_iv() 125 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00crypto_tx_insert_iv() local 127 ((!!(skbdesc->iv[0])) * 4) + ((!!(skbdesc->iv[1])) * 4); in rt2x00crypto_tx_insert_iv() 129 if (!(skbdesc->flags & SKBDESC_IV_STRIPPED)) in rt2x00crypto_tx_insert_iv() 138 memcpy(skb->data + header_length, skbdesc->iv, iv_len); in rt2x00crypto_tx_insert_iv() 141 skbdesc->flags &= ~SKBDESC_IV_STRIPPED; in rt2x00crypto_tx_insert_iv()
|
A D | rt2x00queue.c | 28 struct skb_frame_desc *skbdesc; in rt2x00queue_alloc_rxskb() local 73 skbdesc = get_skb_frame_desc(skb); in rt2x00queue_alloc_rxskb() 74 memset(skbdesc, 0, sizeof(*skbdesc)); in rt2x00queue_alloc_rxskb() 86 skbdesc->skb_dma = skb_dma; in rt2x00queue_alloc_rxskb() 98 skbdesc->skb_dma = in rt2x00queue_map_txskb() 608 struct skb_frame_desc *skbdesc; in rt2x00queue_write_tx_frame() local 627 skbdesc = get_skb_frame_desc(skb); in rt2x00queue_write_tx_frame() 628 memset(skbdesc, 0, sizeof(*skbdesc)); in rt2x00queue_write_tx_frame() 629 skbdesc->tx_rate_idx = rate_idx; in rt2x00queue_write_tx_frame() 750 struct skb_frame_desc *skbdesc; in rt2x00queue_update_beacon() local [all …]
|
A D | rt2x00mmio.c | 54 struct skb_frame_desc *skbdesc; in rt2x00mmio_rxdone() local 67 skbdesc = get_skb_frame_desc(entry->skb); in rt2x00mmio_rxdone() 68 skbdesc->desc = entry_priv->desc; in rt2x00mmio_rxdone() 69 skbdesc->desc_len = entry->queue->desc_size; in rt2x00mmio_rxdone()
|
A D | rt2x00debug.c | 135 struct skb_frame_desc *skbdesc = get_skb_frame_desc(skb); in rt2x00debug_dump_frame() local 152 if (skbdesc->flags & SKBDESC_DESC_IN_SKB) in rt2x00debug_dump_frame() 153 data_len -= skbdesc->desc_len; in rt2x00debug_dump_frame() 155 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame() 165 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame() 177 if (!(skbdesc->flags & SKBDESC_DESC_IN_SKB)) in rt2x00debug_dump_frame() 178 skb_put_data(skbcopy, skbdesc->desc, skbdesc->desc_len); in rt2x00debug_dump_frame()
|
A D | rt2800mmio.c | 70 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800mmio_write_tx_desc() local 88 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); in rt2800mmio_write_tx_desc() 104 skbdesc->skb_dma + txwi_size); in rt2800mmio_write_tx_desc() 116 skbdesc->desc = txd; in rt2800mmio_write_tx_desc() 117 skbdesc->desc_len = TXD_DESC_SIZE; in rt2800mmio_write_tx_desc() 630 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800mmio_clear_entry() local 636 rt2x00_set_field32(&word, RXD_W0_SDP0, skbdesc->skb_dma); in rt2800mmio_clear_entry()
|
A D | rt2x00dev.c | 306 struct skb_frame_desc *skbdesc, in rt2x00lib_fill_tx_status() argument 313 rate_idx = skbdesc->tx_rate_idx; in rt2x00lib_fill_tx_status() 314 rate_flags = skbdesc->tx_rate_flags; in rt2x00lib_fill_tx_status() 413 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00lib_txdone_nomatch() local 425 skbdesc->flags &= ~SKBDESC_DESC_IN_SKB; in rt2x00lib_txdone_nomatch() 449 rt2x00lib_fill_tx_status(rt2x00dev, &txinfo, skbdesc, txdesc, in rt2x00lib_txdone_nomatch() 451 ieee80211_tx_status_noskb(rt2x00dev->hw, skbdesc->sta, &txinfo); in rt2x00lib_txdone_nomatch() 464 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00lib_txdone() local 465 u8 skbdesc_flags = skbdesc->flags; in rt2x00lib_txdone() 482 skbdesc->flags &= ~SKBDESC_DESC_IN_SKB; in rt2x00lib_txdone() [all …]
|
A D | rt2800usb.c | 404 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800usb_write_tx_desc() local 432 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2800usb_write_tx_desc() 433 skbdesc->desc = txi; in rt2800usb_write_tx_desc() 434 skbdesc->desc_len = TXINFO_DESC_SIZE + entry->queue->winfo_size; in rt2800usb_write_tx_desc() 484 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800usb_fill_rxdone() local 494 memcpy(skbdesc->desc, rxi, skbdesc->desc_len); in rt2800usb_fill_rxdone()
|
A D | rt2500usb.c | 1059 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500usb_write_tx_desc() local 1101 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt2500usb_write_tx_desc() 1102 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt2500usb_write_tx_desc() 1108 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2500usb_write_tx_desc() 1109 skbdesc->desc = txd; in rt2500usb_write_tx_desc() 1110 skbdesc->desc_len = TXD_DESC_SIZE; in rt2500usb_write_tx_desc() 1221 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500usb_fill_rxdone() local 1233 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt2500usb_fill_rxdone() 1234 rxd = (__le32 *)skbdesc->desc; in rt2500usb_fill_rxdone()
|
A D | rt2x00usb.c | 349 struct skb_frame_desc *skbdesc; in rt2x00usb_work_rxdone() local 361 skbdesc = get_skb_frame_desc(entry->skb); in rt2x00usb_work_rxdone() 362 skbdesc->desc = rxd; in rt2x00usb_work_rxdone() 363 skbdesc->desc_len = entry->queue->desc_size; in rt2x00usb_work_rxdone()
|
A D | rt73usb.c | 1447 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt73usb_write_tx_desc() local 1500 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt73usb_write_tx_desc() 1501 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt73usb_write_tx_desc() 1513 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt73usb_write_tx_desc() 1514 skbdesc->desc = txd; in rt73usb_write_tx_desc() 1515 skbdesc->desc_len = TXD_DESC_SIZE; in rt73usb_write_tx_desc() 1671 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt73usb_fill_rxdone() local 1680 memcpy(skbdesc->desc, rxd, skbdesc->desc_len); in rt73usb_fill_rxdone() 1681 rxd = (__le32 *)skbdesc->desc; in rt73usb_fill_rxdone()
|
A D | rt2400pci.c | 734 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2400pci_clear_entry() local 743 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_clear_entry() 1097 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2400pci_write_tx_desc() local 1106 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_write_tx_desc() 1158 skbdesc->desc = txd; in rt2400pci_write_tx_desc() 1159 skbdesc->desc_len = TXD_DESC_SIZE; in rt2400pci_write_tx_desc()
|
A D | rt2500pci.c | 823 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500pci_clear_entry() local 828 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_clear_entry() 1250 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2500pci_write_tx_desc() local 1259 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_write_tx_desc() 1310 skbdesc->desc = txd; in rt2500pci_write_tx_desc() 1311 skbdesc->desc_len = TXD_DESC_SIZE; in rt2500pci_write_tx_desc()
|
A D | rt61pci.c | 1307 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt61pci_clear_entry() local 1313 skbdesc->skb_dma); in rt61pci_clear_entry() 1778 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt61pci_write_tx_desc() local 1807 _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); in rt61pci_write_tx_desc() 1808 _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); in rt61pci_write_tx_desc() 1822 skbdesc->skb_dma); in rt61pci_write_tx_desc() 1864 skbdesc->desc = txd; in rt61pci_write_tx_desc() 1865 skbdesc->desc_len = (entry->queue->qid == QID_BEACON) ? TXINFO_SIZE : in rt61pci_write_tx_desc()
|
A D | rt2800lib.c | 942 static void rt2800_rate_from_status(struct skb_frame_desc *skbdesc, in rt2800_rate_from_status() argument 971 skbdesc->tx_rate_idx = idx; in rt2800_rate_from_status() 972 skbdesc->tx_rate_flags = flags; in rt2800_rate_from_status() 1021 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800_txdone_entry() local 1062 rt2800_rate_from_status(skbdesc, status, rt2x00dev->curr_band); in rt2800_txdone_entry() 1107 skbdesc->sta = drv_data->wcid_to_sta[wcid - WCID_START]; in rt2800_txdone_entry() 1109 skbdesc->sta = NULL; in rt2800_txdone_entry() 1356 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2800_write_beacon() local 1379 skbdesc->flags |= SKBDESC_DESC_IN_SKB; in rt2800_write_beacon() 1380 skbdesc->desc = entry->skb->data; in rt2800_write_beacon() [all …]
|