Searched refs:entry_priv (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00mmio.c64 struct queue_entry_priv_mmio *entry_priv; rt2x00mmio_rxdone() local
70 entry_priv = entry->priv_data; rt2x00mmio_rxdone()
79 skbdesc->desc = entry_priv->desc; rt2x00mmio_rxdone()
114 struct queue_entry_priv_mmio *entry_priv; rt2x00mmio_alloc_queue_dma() local
132 entry_priv = queue->entries[i].priv_data; rt2x00mmio_alloc_queue_dma()
133 entry_priv->desc = addr + i * queue->desc_size; rt2x00mmio_alloc_queue_dma()
134 entry_priv->desc_dma = dma + i * queue->desc_size; rt2x00mmio_alloc_queue_dma()
143 struct queue_entry_priv_mmio *entry_priv = rt2x00mmio_free_queue_dma() local
146 if (entry_priv->desc) rt2x00mmio_free_queue_dma()
149 entry_priv->desc, entry_priv->desc_dma); rt2x00mmio_free_queue_dma()
150 entry_priv->desc = NULL; rt2x00mmio_free_queue_dma()
H A Drt2800mmio.c52 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2800mmio_write_tx_desc() local
53 __le32 *txd = entry_priv->desc; rt2800mmio_write_tx_desc()
108 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2800mmio_fill_rxdone() local
109 __le32 *rxd = entry_priv->desc; rt2800mmio_fill_rxdone()
695 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2800mmio_get_entry_state() local
699 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_get_entry_state()
703 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_get_entry_state()
712 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2800mmio_clear_entry() local
718 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2800mmio_clear_entry()
720 rt2x00_desc_write(entry_priv->desc, 0, word); rt2800mmio_clear_entry()
722 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_clear_entry()
724 rt2x00_desc_write(entry_priv->desc, 1, word); rt2800mmio_clear_entry()
733 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_clear_entry()
735 rt2x00_desc_write(entry_priv->desc, 1, word); rt2800mmio_clear_entry()
742 struct queue_entry_priv_mmio *entry_priv; rt2800mmio_init_queues() local
747 entry_priv = rt2x00dev->tx[0].entries[0].priv_data; rt2800mmio_init_queues()
749 entry_priv->desc_dma); rt2800mmio_init_queues()
755 entry_priv = rt2x00dev->tx[1].entries[0].priv_data; rt2800mmio_init_queues()
757 entry_priv->desc_dma); rt2800mmio_init_queues()
763 entry_priv = rt2x00dev->tx[2].entries[0].priv_data; rt2800mmio_init_queues()
765 entry_priv->desc_dma); rt2800mmio_init_queues()
771 entry_priv = rt2x00dev->tx[3].entries[0].priv_data; rt2800mmio_init_queues()
773 entry_priv->desc_dma); rt2800mmio_init_queues()
789 entry_priv = rt2x00dev->rx->entries[0].priv_data; rt2800mmio_init_queues()
791 entry_priv->desc_dma); rt2800mmio_init_queues()
H A Drt2400pci.c724 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2400pci_get_entry_state() local
728 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_get_entry_state()
732 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_get_entry_state()
741 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2400pci_clear_entry() local
746 rt2x00_desc_read(entry_priv->desc, 2, &word); rt2400pci_clear_entry()
748 rt2x00_desc_write(entry_priv->desc, 2, word); rt2400pci_clear_entry()
750 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2400pci_clear_entry()
752 rt2x00_desc_write(entry_priv->desc, 1, word); rt2400pci_clear_entry()
754 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_clear_entry()
756 rt2x00_desc_write(entry_priv->desc, 0, word); rt2400pci_clear_entry()
758 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_clear_entry()
761 rt2x00_desc_write(entry_priv->desc, 0, word); rt2400pci_clear_entry()
767 struct queue_entry_priv_mmio *entry_priv; rt2400pci_init_queues() local
780 entry_priv = rt2x00dev->tx[1].entries[0].priv_data; rt2400pci_init_queues()
783 entry_priv->desc_dma); rt2400pci_init_queues()
786 entry_priv = rt2x00dev->tx[0].entries[0].priv_data; rt2400pci_init_queues()
789 entry_priv->desc_dma); rt2400pci_init_queues()
792 entry_priv = rt2x00dev->atim->entries[0].priv_data; rt2400pci_init_queues()
795 entry_priv->desc_dma); rt2400pci_init_queues()
798 entry_priv = rt2x00dev->bcn->entries[0].priv_data; rt2400pci_init_queues()
801 entry_priv->desc_dma); rt2400pci_init_queues()
809 entry_priv = rt2x00dev->rx->entries[0].priv_data; rt2400pci_init_queues()
812 entry_priv->desc_dma); rt2400pci_init_queues()
1106 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2400pci_write_tx_desc() local
1107 __le32 *txd = entry_priv->desc; rt2400pci_write_tx_desc()
1219 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2400pci_fill_rxdone() local
1228 rt2x00_desc_read(entry_priv->desc, 0, &word0); rt2400pci_fill_rxdone()
1229 rt2x00_desc_read(entry_priv->desc, 2, &word2); rt2400pci_fill_rxdone()
1230 rt2x00_desc_read(entry_priv->desc, 3, &word3); rt2400pci_fill_rxdone()
1231 rt2x00_desc_read(entry_priv->desc, 4, &word4); rt2400pci_fill_rxdone()
1277 struct queue_entry_priv_mmio *entry_priv; rt2400pci_txdone() local
1284 entry_priv = entry->priv_data; rt2400pci_txdone()
1285 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_txdone()
H A Drt2x00usb.c286 struct queue_entry_priv_usb *entry_priv = entry->priv_data; rt2x00usb_kick_tx_entry() local
311 usb_fill_bulk_urb(entry_priv->urb, usb_dev, rt2x00usb_kick_tx_entry()
316 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); rt2x00usb_kick_tx_entry()
391 struct queue_entry_priv_usb *entry_priv = entry->priv_data; rt2x00usb_kick_rx_entry() local
400 usb_fill_bulk_urb(entry_priv->urb, usb_dev, rt2x00usb_kick_rx_entry()
405 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); rt2x00usb_kick_rx_entry()
447 struct queue_entry_priv_usb *entry_priv = entry->priv_data; rt2x00usb_flush_entry() local
453 usb_kill_urb(entry_priv->urb); rt2x00usb_flush_entry()
641 struct queue_entry_priv_usb *entry_priv; rt2x00usb_alloc_entries() local
646 entry_priv = queue->entries[i].priv_data; rt2x00usb_alloc_entries()
647 entry_priv->urb = usb_alloc_urb(0, GFP_KERNEL); rt2x00usb_alloc_entries()
648 if (!entry_priv->urb) rt2x00usb_alloc_entries()
674 struct queue_entry_priv_usb *entry_priv; rt2x00usb_free_entries() local
682 entry_priv = queue->entries[i].priv_data; rt2x00usb_free_entries()
683 usb_kill_urb(entry_priv->urb); rt2x00usb_free_entries()
684 usb_free_urb(entry_priv->urb); rt2x00usb_free_entries()
H A Drt2500pci.c813 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2500pci_get_entry_state() local
817 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_get_entry_state()
821 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_get_entry_state()
830 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2500pci_clear_entry() local
835 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2500pci_clear_entry()
837 rt2x00_desc_write(entry_priv->desc, 1, word); rt2500pci_clear_entry()
839 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_clear_entry()
841 rt2x00_desc_write(entry_priv->desc, 0, word); rt2500pci_clear_entry()
843 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_clear_entry()
846 rt2x00_desc_write(entry_priv->desc, 0, word); rt2500pci_clear_entry()
852 struct queue_entry_priv_mmio *entry_priv; rt2500pci_init_queues() local
865 entry_priv = rt2x00dev->tx[1].entries[0].priv_data; rt2500pci_init_queues()
868 entry_priv->desc_dma); rt2500pci_init_queues()
871 entry_priv = rt2x00dev->tx[0].entries[0].priv_data; rt2500pci_init_queues()
874 entry_priv->desc_dma); rt2500pci_init_queues()
877 entry_priv = rt2x00dev->atim->entries[0].priv_data; rt2500pci_init_queues()
880 entry_priv->desc_dma); rt2500pci_init_queues()
883 entry_priv = rt2x00dev->bcn->entries[0].priv_data; rt2500pci_init_queues()
886 entry_priv->desc_dma); rt2500pci_init_queues()
894 entry_priv = rt2x00dev->rx->entries[0].priv_data; rt2500pci_init_queues()
897 entry_priv->desc_dma); rt2500pci_init_queues()
1259 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2500pci_write_tx_desc() local
1260 __le32 *txd = entry_priv->desc; rt2500pci_write_tx_desc()
1367 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt2500pci_fill_rxdone() local
1371 rt2x00_desc_read(entry_priv->desc, 0, &word0); rt2500pci_fill_rxdone()
1372 rt2x00_desc_read(entry_priv->desc, 2, &word2); rt2500pci_fill_rxdone()
1405 struct queue_entry_priv_mmio *entry_priv; rt2500pci_txdone() local
1412 entry_priv = entry->priv_data; rt2500pci_txdone()
1413 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_txdone()
H A Drt61pci.c1382 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt61pci_get_entry_state() local
1386 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_get_entry_state()
1390 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_get_entry_state()
1399 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt61pci_clear_entry() local
1404 rt2x00_desc_read(entry_priv->desc, 5, &word); rt61pci_clear_entry()
1407 rt2x00_desc_write(entry_priv->desc, 5, word); rt61pci_clear_entry()
1409 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_clear_entry()
1411 rt2x00_desc_write(entry_priv->desc, 0, word); rt61pci_clear_entry()
1413 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_clear_entry()
1416 rt2x00_desc_write(entry_priv->desc, 0, word); rt61pci_clear_entry()
1422 struct queue_entry_priv_mmio *entry_priv; rt61pci_init_queues() local
1444 entry_priv = rt2x00dev->tx[0].entries[0].priv_data; rt61pci_init_queues()
1447 entry_priv->desc_dma); rt61pci_init_queues()
1450 entry_priv = rt2x00dev->tx[1].entries[0].priv_data; rt61pci_init_queues()
1453 entry_priv->desc_dma); rt61pci_init_queues()
1456 entry_priv = rt2x00dev->tx[2].entries[0].priv_data; rt61pci_init_queues()
1459 entry_priv->desc_dma); rt61pci_init_queues()
1462 entry_priv = rt2x00dev->tx[3].entries[0].priv_data; rt61pci_init_queues()
1465 entry_priv->desc_dma); rt61pci_init_queues()
1475 entry_priv = rt2x00dev->rx->entries[0].priv_data; rt61pci_init_queues()
1478 entry_priv->desc_dma); rt61pci_init_queues()
1872 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt61pci_write_tx_desc() local
1873 __le32 *txd = entry_priv->desc; rt61pci_write_tx_desc()
1970 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt61pci_write_beacon() local
2008 entry_priv->desc, TXINFO_SIZE); rt61pci_write_beacon()
2092 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; rt61pci_fill_rxdone() local
2096 rt2x00_desc_read(entry_priv->desc, 0, &word0); rt61pci_fill_rxdone()
2097 rt2x00_desc_read(entry_priv->desc, 1, &word1); rt61pci_fill_rxdone()
2106 _rt2x00_desc_read(entry_priv->desc, 2, &rxdesc->iv[0]); rt61pci_fill_rxdone()
2107 _rt2x00_desc_read(entry_priv->desc, 3, &rxdesc->iv[1]); rt61pci_fill_rxdone()
2110 _rt2x00_desc_read(entry_priv->desc, 4, &rxdesc->icv); rt61pci_fill_rxdone()
2158 struct queue_entry_priv_mmio *entry_priv; rt61pci_txdone() local
2198 entry_priv = entry->priv_data; rt61pci_txdone()
2199 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_txdone()
H A Drt2500usb.c1240 struct queue_entry_priv_usb *entry_priv = entry->priv_data; rt2500usb_fill_rxdone() local
1244 (entry_priv->urb->actual_length - rt2500usb_fill_rxdone()

Completed in 169 milliseconds