• Home
  • Raw
  • Download

Lines Matching refs:packet

56 			    const u8 *packet,  in tx_get_next_word()  argument
67 source = packet; in tx_get_next_word()
78 const u8 *packet, in tx_data() argument
85 data = tx_get_next_word(txhdr, packet, in tx_data()
93 data = tx_get_next_word(txhdr, packet, in tx_data()
98 tx_octet(queue, packet[octets - in tx_data()
117 struct b43legacy_pio_txpacket *packet) in generate_cookie() argument
141 packetindex = pio_txpacket_getindex(packet); in generate_cookie()
151 struct b43legacy_pio_txpacket **packet) in parse_cookie() argument
176 *packet = &(queue->tx_packets_cache[packetindex]); in parse_cookie()
187 struct b43legacy_pio_txpacket *packet, in pio_tx_write_fragment() argument
201 generate_cookie(queue, packet)); in pio_tx_write_fragment()
215 static void free_txpacket(struct b43legacy_pio_txpacket *packet, in free_txpacket() argument
218 struct b43legacy_pioqueue *queue = packet->queue; in free_txpacket()
220 if (packet->skb) { in free_txpacket()
222 dev_kfree_skb_irq(packet->skb); in free_txpacket()
224 dev_kfree_skb(packet->skb); in free_txpacket()
226 list_move(&packet->list, &queue->txfree); in free_txpacket()
230 static int pio_tx_packet(struct b43legacy_pio_txpacket *packet) in pio_tx_packet() argument
232 struct b43legacy_pioqueue *queue = packet->queue; in pio_tx_packet()
233 struct sk_buff *skb = packet->skb; in pio_tx_packet()
242 free_txpacket(packet, 1); in pio_tx_packet()
257 err = pio_tx_write_fragment(queue, skb, packet, in pio_tx_packet()
262 free_txpacket(packet, 1); in pio_tx_packet()
275 list_move_tail(&packet->list, &queue->txrunning); in pio_tx_packet()
285 struct b43legacy_pio_txpacket *packet, *tmp_packet; in tx_tasklet() local
296 list_for_each_entry_safe(packet, tmp_packet, &queue->txqueue, list) { in tx_tasklet()
304 err = pio_tx_packet(packet); in tx_tasklet()
314 struct b43legacy_pio_txpacket *packet; in setup_txqueues() local
319 packet = &(queue->tx_packets_cache[i]); in setup_txqueues()
321 packet->queue = queue; in setup_txqueues()
322 INIT_LIST_HEAD(&packet->list); in setup_txqueues()
324 list_add(&packet->list, &queue->txfree); in setup_txqueues()
383 struct b43legacy_pio_txpacket *packet, *tmp_packet; in cancel_transfers() local
387 list_for_each_entry_safe(packet, tmp_packet, &queue->txrunning, list) in cancel_transfers()
388 free_txpacket(packet, 0); in cancel_transfers()
389 list_for_each_entry_safe(packet, tmp_packet, &queue->txqueue, list) in cancel_transfers()
390 free_txpacket(packet, 0); in cancel_transfers()
470 struct b43legacy_pio_txpacket *packet; in b43legacy_pio_tx() local
475 packet = list_entry(queue->txfree.next, struct b43legacy_pio_txpacket, in b43legacy_pio_tx()
477 packet->skb = skb; in b43legacy_pio_tx()
479 list_move_tail(&packet->list, &queue->txqueue); in b43legacy_pio_tx()
492 struct b43legacy_pio_txpacket *packet; in b43legacy_pio_handle_txstatus() local
496 queue = parse_cookie(dev, status->cookie, &packet); in b43legacy_pio_handle_txstatus()
499 if (!packet->skb) in b43legacy_pio_handle_txstatus()
503 queue->tx_devq_used -= (packet->skb->len + in b43legacy_pio_handle_txstatus()
506 info = IEEE80211_SKB_CB(packet->skb); in b43legacy_pio_handle_txstatus()
538 ieee80211_tx_status_irqsafe(dev->wl->hw, packet->skb); in b43legacy_pio_handle_txstatus()
539 packet->skb = NULL; in b43legacy_pio_handle_txstatus()
541 free_txpacket(packet, 1); in b43legacy_pio_handle_txstatus()