Lines Matching full:pio

6   PIO Transmission
14 #include "pio.h"
109 /* We use the upper 4 bits for the PIO in generate_cookie()
140 struct b43legacy_pio *pio = &dev->pio; in parse_cookie() local
146 queue = pio->queue0; in parse_cookie()
149 queue = pio->queue1; in parse_cookie()
152 queue = pio->queue2; in parse_cookie()
155 queue = pio->queue3; in parse_cookie()
226 b43legacywarn(queue->dev->wl, "PIO queue too small. " in pio_tx_packet()
343 b43legacyerr(dev->wl, "This card does not support PIO " in b43legacy_setup_pioqueue()
345 "(module parameter pio=0).\n"); in b43legacy_setup_pioqueue()
349 b43legacyerr(dev->wl, "PIO tx device-queue too small (%u)\n", in b43legacy_setup_pioqueue()
390 struct b43legacy_pio *pio; in b43legacy_pio_free() local
394 pio = &dev->pio; in b43legacy_pio_free()
396 b43legacy_destroy_pioqueue(pio->queue3); in b43legacy_pio_free()
397 pio->queue3 = NULL; in b43legacy_pio_free()
398 b43legacy_destroy_pioqueue(pio->queue2); in b43legacy_pio_free()
399 pio->queue2 = NULL; in b43legacy_pio_free()
400 b43legacy_destroy_pioqueue(pio->queue1); in b43legacy_pio_free()
401 pio->queue1 = NULL; in b43legacy_pio_free()
402 b43legacy_destroy_pioqueue(pio->queue0); in b43legacy_pio_free()
403 pio->queue0 = NULL; in b43legacy_pio_free()
408 struct b43legacy_pio *pio = &dev->pio; in b43legacy_pio_init() local
415 pio->queue0 = queue; in b43legacy_pio_init()
420 pio->queue1 = queue; in b43legacy_pio_init()
425 pio->queue2 = queue; in b43legacy_pio_init()
430 pio->queue3 = queue; in b43legacy_pio_init()
435 b43legacydbg(dev->wl, "PIO initialized\n"); in b43legacy_pio_init()
441 b43legacy_destroy_pioqueue(pio->queue2); in b43legacy_pio_init()
442 pio->queue2 = NULL; in b43legacy_pio_init()
444 b43legacy_destroy_pioqueue(pio->queue1); in b43legacy_pio_init()
445 pio->queue1 = NULL; in b43legacy_pio_init()
447 b43legacy_destroy_pioqueue(pio->queue0); in b43legacy_pio_init()
448 pio->queue0 = NULL; in b43legacy_pio_init()
455 struct b43legacy_pioqueue *queue = dev->pio.queue1; in b43legacy_pio_tx()
541 b43legacyerr(queue->dev->wl, "PIO RX error: %s\n", error); in pio_rx_error()
576 b43legacydbg(queue->dev->wl, "PIO RX timed out\n"); in b43legacy_pio_rx()
653 struct b43legacy_pio *pio; in b43legacy_pio_freeze_txqueues() local
656 pio = &dev->pio; in b43legacy_pio_freeze_txqueues()
657 pio->queue0->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
658 pio->queue1->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
659 pio->queue2->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
660 pio->queue3->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
665 struct b43legacy_pio *pio; in b43legacy_pio_thaw_txqueues() local
668 pio = &dev->pio; in b43legacy_pio_thaw_txqueues()
669 pio->queue0->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
670 pio->queue1->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
671 pio->queue2->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
672 pio->queue3->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
673 if (!list_empty(&pio->queue0->txqueue)) in b43legacy_pio_thaw_txqueues()
674 tasklet_schedule(&pio->queue0->txtask); in b43legacy_pio_thaw_txqueues()
675 if (!list_empty(&pio->queue1->txqueue)) in b43legacy_pio_thaw_txqueues()
676 tasklet_schedule(&pio->queue1->txtask); in b43legacy_pio_thaw_txqueues()
677 if (!list_empty(&pio->queue2->txqueue)) in b43legacy_pio_thaw_txqueues()
678 tasklet_schedule(&pio->queue2->txtask); in b43legacy_pio_thaw_txqueues()
679 if (!list_empty(&pio->queue3->txqueue)) in b43legacy_pio_thaw_txqueues()
680 tasklet_schedule(&pio->queue3->txtask); in b43legacy_pio_thaw_txqueues()