Lines Matching refs:pack

38 			   struct b43_pio_txpacket *pack)  in generate_cookie()  argument
51 cookie |= pack->index; in generate_cookie()
59 struct b43_pio_txpacket **pack) in parse_cookie() argument
87 *pack = &q->packets[pack_index]; in parse_cookie()
193 struct b43_pio_txpacket *pack; in b43_pio_cancel_tx_packets() local
197 pack = &(q->packets[i]); in b43_pio_cancel_tx_packets()
198 if (pack->skb) { in b43_pio_cancel_tx_packets()
199 ieee80211_free_txskb(q->dev->wl->hw, pack->skb); in b43_pio_cancel_tx_packets()
200 pack->skb = NULL; in b43_pio_cancel_tx_packets()
362 static void pio_tx_frame_2byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_2byte_queue() argument
365 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_2byte_queue()
366 const char *frame = pack->skb->data; in pio_tx_frame_2byte_queue()
367 unsigned int frame_len = pack->skb->len; in pio_tx_frame_2byte_queue()
432 static void pio_tx_frame_4byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_4byte_queue() argument
435 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_4byte_queue()
436 const char *frame = pack->skb->data; in pio_tx_frame_4byte_queue()
437 unsigned int frame_len = pack->skb->len; in pio_tx_frame_4byte_queue()
458 struct b43_pio_txpacket *pack; in pio_tx_frame() local
466 pack = list_entry(q->packets_list.next, in pio_tx_frame()
469 cookie = generate_cookie(q, pack); in pio_tx_frame()
485 pack->skb = skb; in pio_tx_frame()
487 pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
489 pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); in pio_tx_frame()
493 list_del(&pack->list); in pio_tx_frame()
580 struct b43_pio_txpacket *pack = NULL; in b43_pio_handle_txstatus() local
584 q = parse_cookie(dev, status->cookie, &pack); in b43_pio_handle_txstatus()
587 B43_WARN_ON(!pack); in b43_pio_handle_txstatus()
589 info = IEEE80211_SKB_CB(pack->skb); in b43_pio_handle_txstatus()
593 total_len = pack->skb->len + b43_txhdr_size(dev); in b43_pio_handle_txstatus()
598 ieee80211_tx_status(dev->wl->hw, pack->skb); in b43_pio_handle_txstatus()
599 pack->skb = NULL; in b43_pio_handle_txstatus()
600 list_add(&pack->list, &q->packets_list); in b43_pio_handle_txstatus()