• Home
  • Raw
  • Download

Lines Matching full:pio

5   PIO Transmission
27 #include "pio.h"
122 /* We use the upper 4 bits for the PIO in generate_cookie()
153 struct b43legacy_pio *pio = &dev->pio; in parse_cookie() local
159 queue = pio->queue0; in parse_cookie()
162 queue = pio->queue1; in parse_cookie()
165 queue = pio->queue2; in parse_cookie()
168 queue = pio->queue3; in parse_cookie()
239 b43legacywarn(queue->dev->wl, "PIO queue too small. " in pio_tx_packet()
357 b43legacyerr(dev->wl, "This card does not support PIO " in b43legacy_setup_pioqueue()
359 "(module parameter pio=0).\n"); in b43legacy_setup_pioqueue()
363 b43legacyerr(dev->wl, "PIO tx device-queue too small (%u)\n", in b43legacy_setup_pioqueue()
404 struct b43legacy_pio *pio; in b43legacy_pio_free() local
408 pio = &dev->pio; in b43legacy_pio_free()
410 b43legacy_destroy_pioqueue(pio->queue3); in b43legacy_pio_free()
411 pio->queue3 = NULL; in b43legacy_pio_free()
412 b43legacy_destroy_pioqueue(pio->queue2); in b43legacy_pio_free()
413 pio->queue2 = NULL; in b43legacy_pio_free()
414 b43legacy_destroy_pioqueue(pio->queue1); in b43legacy_pio_free()
415 pio->queue1 = NULL; in b43legacy_pio_free()
416 b43legacy_destroy_pioqueue(pio->queue0); in b43legacy_pio_free()
417 pio->queue0 = NULL; in b43legacy_pio_free()
422 struct b43legacy_pio *pio = &dev->pio; in b43legacy_pio_init() local
429 pio->queue0 = queue; in b43legacy_pio_init()
434 pio->queue1 = queue; in b43legacy_pio_init()
439 pio->queue2 = queue; in b43legacy_pio_init()
444 pio->queue3 = queue; in b43legacy_pio_init()
449 b43legacydbg(dev->wl, "PIO initialized\n"); in b43legacy_pio_init()
455 b43legacy_destroy_pioqueue(pio->queue2); in b43legacy_pio_init()
456 pio->queue2 = NULL; in b43legacy_pio_init()
458 b43legacy_destroy_pioqueue(pio->queue1); in b43legacy_pio_init()
459 pio->queue1 = NULL; in b43legacy_pio_init()
461 b43legacy_destroy_pioqueue(pio->queue0); in b43legacy_pio_init()
462 pio->queue0 = NULL; in b43legacy_pio_init()
469 struct b43legacy_pioqueue *queue = dev->pio.queue1; in b43legacy_pio_tx()
555 b43legacyerr(queue->dev->wl, "PIO RX error: %s\n", error); in pio_rx_error()
590 b43legacydbg(queue->dev->wl, "PIO RX timed out\n"); in b43legacy_pio_rx()
667 struct b43legacy_pio *pio; in b43legacy_pio_freeze_txqueues() local
670 pio = &dev->pio; in b43legacy_pio_freeze_txqueues()
671 pio->queue0->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
672 pio->queue1->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
673 pio->queue2->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
674 pio->queue3->tx_frozen = 1; in b43legacy_pio_freeze_txqueues()
679 struct b43legacy_pio *pio; in b43legacy_pio_thaw_txqueues() local
682 pio = &dev->pio; in b43legacy_pio_thaw_txqueues()
683 pio->queue0->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
684 pio->queue1->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
685 pio->queue2->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
686 pio->queue3->tx_frozen = 0; in b43legacy_pio_thaw_txqueues()
687 if (!list_empty(&pio->queue0->txqueue)) in b43legacy_pio_thaw_txqueues()
688 tasklet_schedule(&pio->queue0->txtask); in b43legacy_pio_thaw_txqueues()
689 if (!list_empty(&pio->queue1->txqueue)) in b43legacy_pio_thaw_txqueues()
690 tasklet_schedule(&pio->queue1->txtask); in b43legacy_pio_thaw_txqueues()
691 if (!list_empty(&pio->queue2->txqueue)) in b43legacy_pio_thaw_txqueues()
692 tasklet_schedule(&pio->queue2->txtask); in b43legacy_pio_thaw_txqueues()
693 if (!list_empty(&pio->queue3->txqueue)) in b43legacy_pio_thaw_txqueues()
694 tasklet_schedule(&pio->queue3->txtask); in b43legacy_pio_thaw_txqueues()