Lines Matching refs:skbdesc
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()
87 skbdesc->flags |= SKBDESC_DMA_MAPPED_RX; in rt2x00queue_alloc_rxskb()
96 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_map_txskb() local
98 skbdesc->skb_dma = in rt2x00queue_map_txskb()
101 if (unlikely(dma_mapping_error(dev, skbdesc->skb_dma))) in rt2x00queue_map_txskb()
104 skbdesc->flags |= SKBDESC_DMA_MAPPED_TX; in rt2x00queue_map_txskb()
113 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); in rt2x00queue_unmap_skb() local
115 if (skbdesc->flags & SKBDESC_DMA_MAPPED_RX) { in rt2x00queue_unmap_skb()
116 dma_unmap_single(dev, skbdesc->skb_dma, entry->skb->len, in rt2x00queue_unmap_skb()
118 skbdesc->flags &= ~SKBDESC_DMA_MAPPED_RX; in rt2x00queue_unmap_skb()
119 } else if (skbdesc->flags & SKBDESC_DMA_MAPPED_TX) { in rt2x00queue_unmap_skb()
120 dma_unmap_single(dev, skbdesc->skb_dma, entry->skb->len, in rt2x00queue_unmap_skb()
122 skbdesc->flags &= ~SKBDESC_DMA_MAPPED_TX; in rt2x00queue_unmap_skb()
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()
630 skbdesc->tx_rate_flags = rate_flags; in rt2x00queue_write_tx_frame()
633 skbdesc->flags |= SKBDESC_NOT_MAC80211; in rt2x00queue_write_tx_frame()
750 struct skb_frame_desc *skbdesc; in rt2x00queue_update_beacon() local
775 skbdesc = get_skb_frame_desc(intf->beacon->skb); in rt2x00queue_update_beacon()
776 memset(skbdesc, 0, sizeof(*skbdesc)); in rt2x00queue_update_beacon()