Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.c64 struct queue_entry_priv_mmio *entry_priv; in rt2x00mmio_rxdone() local
70 entry_priv = entry->priv_data; in rt2x00mmio_rxdone()
79 skbdesc->desc = entry_priv->desc; in rt2x00mmio_rxdone()
114 struct queue_entry_priv_mmio *entry_priv; in rt2x00mmio_alloc_queue_dma() local
132 entry_priv = queue->entries[i].priv_data; in rt2x00mmio_alloc_queue_dma()
133 entry_priv->desc = addr + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma()
134 entry_priv->desc_dma = dma + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma()
143 struct queue_entry_priv_mmio *entry_priv = in rt2x00mmio_free_queue_dma() local
146 if (entry_priv->desc) in rt2x00mmio_free_queue_dma()
149 entry_priv->desc, entry_priv->desc_dma); in rt2x00mmio_free_queue_dma()
[all …]
Drt2800mmio.c52 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_write_tx_desc() local
53 __le32 *txd = entry_priv->desc; in rt2800mmio_write_tx_desc()
108 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_fill_rxdone() local
109 __le32 *rxd = entry_priv->desc; in rt2800mmio_fill_rxdone()
695 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_get_entry_state() local
699 rt2x00_desc_read(entry_priv->desc, 1, &word); in rt2800mmio_get_entry_state()
703 rt2x00_desc_read(entry_priv->desc, 1, &word); in rt2800mmio_get_entry_state()
712 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_clear_entry() local
718 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2800mmio_clear_entry()
720 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2800mmio_clear_entry()
[all …]
Drt2400pci.c724 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_get_entry_state() local
728 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2400pci_get_entry_state()
732 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2400pci_get_entry_state()
741 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_clear_entry() local
746 rt2x00_desc_read(entry_priv->desc, 2, &word); in rt2400pci_clear_entry()
748 rt2x00_desc_write(entry_priv->desc, 2, word); in rt2400pci_clear_entry()
750 rt2x00_desc_read(entry_priv->desc, 1, &word); in rt2400pci_clear_entry()
752 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2400pci_clear_entry()
754 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2400pci_clear_entry()
756 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2400pci_clear_entry()
[all …]
Drt2x00usb.c292 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_tx_entry() local
317 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_tx_entry()
322 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); in rt2x00usb_kick_tx_entry()
397 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_rx_entry() local
406 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_rx_entry()
411 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); in rt2x00usb_kick_rx_entry()
453 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_flush_entry() local
459 usb_kill_urb(entry_priv->urb); in rt2x00usb_flush_entry()
647 struct queue_entry_priv_usb *entry_priv; in rt2x00usb_alloc_entries() local
652 entry_priv = queue->entries[i].priv_data; in rt2x00usb_alloc_entries()
[all …]
Drt2500pci.c813 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_get_entry_state() local
817 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2500pci_get_entry_state()
821 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2500pci_get_entry_state()
830 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_clear_entry() local
835 rt2x00_desc_read(entry_priv->desc, 1, &word); in rt2500pci_clear_entry()
837 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2500pci_clear_entry()
839 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2500pci_clear_entry()
841 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
843 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt2500pci_clear_entry()
846 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
[all …]
Drt61pci.c1382 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_get_entry_state() local
1386 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt61pci_get_entry_state()
1390 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt61pci_get_entry_state()
1399 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_clear_entry() local
1404 rt2x00_desc_read(entry_priv->desc, 5, &word); in rt61pci_clear_entry()
1407 rt2x00_desc_write(entry_priv->desc, 5, word); in rt61pci_clear_entry()
1409 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt61pci_clear_entry()
1411 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
1413 rt2x00_desc_read(entry_priv->desc, 0, &word); in rt61pci_clear_entry()
1416 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
[all …]
Drt2500usb.c1243 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2500usb_fill_rxdone() local
1247 (entry_priv->urb->actual_length - in rt2500usb_fill_rxdone()