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()
704 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_get_entry_state() local
708 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
712 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
721 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_clear_entry() local
727 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2800mmio_clear_entry()
729 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2800mmio_clear_entry()
[all …]
Drt2400pci.c727 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_get_entry_state() local
731 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
735 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
744 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_clear_entry() local
749 word = rt2x00_desc_read(entry_priv->desc, 2); in rt2400pci_clear_entry()
751 rt2x00_desc_write(entry_priv->desc, 2, word); in rt2400pci_clear_entry()
753 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2400pci_clear_entry()
755 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2400pci_clear_entry()
757 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_clear_entry()
759 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.c816 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_get_entry_state() local
820 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
824 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
833 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_clear_entry() local
838 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2500pci_clear_entry()
840 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2500pci_clear_entry()
842 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
844 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
846 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
849 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
[all …]
Drt61pci.c1385 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_get_entry_state() local
1389 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_get_entry_state()
1393 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_get_entry_state()
1402 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_clear_entry() local
1407 word = rt2x00_desc_read(entry_priv->desc, 5); in rt61pci_clear_entry()
1410 rt2x00_desc_write(entry_priv->desc, 5, word); in rt61pci_clear_entry()
1412 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_clear_entry()
1414 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
1416 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_clear_entry()
1419 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
[all …]
Drt2500usb.c1231 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2500usb_fill_rxdone() local
1235 (entry_priv->urb->actual_length - in rt2500usb_fill_rxdone()