Lines Matching full:pack
25 struct b43_pio_txpacket *pack) in generate_cookie() argument
38 cookie |= pack->index; in generate_cookie()
46 struct b43_pio_txpacket **pack) in parse_cookie() argument
74 *pack = &q->packets[pack_index]; in parse_cookie()
180 struct b43_pio_txpacket *pack; in b43_pio_cancel_tx_packets() local
184 pack = &(q->packets[i]); in b43_pio_cancel_tx_packets()
185 if (pack->skb) { in b43_pio_cancel_tx_packets()
186 ieee80211_free_txskb(q->dev->wl->hw, pack->skb); in b43_pio_cancel_tx_packets()
187 pack->skb = NULL; in b43_pio_cancel_tx_packets()
349 static void pio_tx_frame_2byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_2byte_queue() argument
352 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_2byte_queue()
353 const char *frame = pack->skb->data; in pio_tx_frame_2byte_queue()
354 unsigned int frame_len = pack->skb->len; in pio_tx_frame_2byte_queue()
419 static void pio_tx_frame_4byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_4byte_queue() argument
422 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_4byte_queue()
423 const char *frame = pack->skb->data; in pio_tx_frame_4byte_queue()
424 unsigned int frame_len = pack->skb->len; in pio_tx_frame_4byte_queue()
445 struct b43_pio_txpacket *pack; in pio_tx_frame() local
453 pack = list_entry(q->packets_list.next, in pio_tx_frame()
456 cookie = generate_cookie(q, pack); in pio_tx_frame()
472 pack->skb = skb; in pio_tx_frame()
474 pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
476 pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
480 list_del(&pack->list); in pio_tx_frame()
567 struct b43_pio_txpacket *pack = NULL; in b43_pio_handle_txstatus() local
571 q = parse_cookie(dev, status->cookie, &pack); in b43_pio_handle_txstatus()
574 B43_WARN_ON(!pack); in b43_pio_handle_txstatus()
576 info = IEEE80211_SKB_CB(pack->skb); in b43_pio_handle_txstatus()
580 total_len = pack->skb->len + b43_txhdr_size(dev); in b43_pio_handle_txstatus()
585 ieee80211_tx_status_skb(dev->wl->hw, pack->skb); in b43_pio_handle_txstatus()
586 pack->skb = NULL; in b43_pio_handle_txstatus()
587 list_add(&pack->list, &q->packets_list); in b43_pio_handle_txstatus()