Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.c53 struct queue_entry_priv_mmio *entry_priv; in rt2x00mmio_rxdone() local
59 entry_priv = entry->priv_data; in rt2x00mmio_rxdone()
68 skbdesc->desc = entry_priv->desc; in rt2x00mmio_rxdone()
103 struct queue_entry_priv_mmio *entry_priv; in rt2x00mmio_alloc_queue_dma() local
121 entry_priv = queue->entries[i].priv_data; in rt2x00mmio_alloc_queue_dma()
122 entry_priv->desc = addr + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma()
123 entry_priv->desc_dma = dma + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma()
132 struct queue_entry_priv_mmio *entry_priv = in rt2x00mmio_free_queue_dma() local
135 if (entry_priv->desc) in rt2x00mmio_free_queue_dma()
138 entry_priv->desc, entry_priv->desc_dma); in rt2x00mmio_free_queue_dma()
[all …]
Drt2800mmio.c71 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_write_tx_desc() local
72 __le32 *txd = entry_priv->desc; in rt2800mmio_write_tx_desc()
127 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_fill_rxdone() local
128 __le32 *rxd = entry_priv->desc; in rt2800mmio_fill_rxdone()
612 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_get_entry_state() local
616 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
620 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2800mmio_get_entry_state()
629 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_clear_entry() local
635 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2800mmio_clear_entry()
637 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2800mmio_clear_entry()
[all …]
Drt2400pci.c716 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_get_entry_state() local
720 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
724 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
733 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2400pci_clear_entry() local
738 word = rt2x00_desc_read(entry_priv->desc, 2); in rt2400pci_clear_entry()
740 rt2x00_desc_write(entry_priv->desc, 2, word); in rt2400pci_clear_entry()
742 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2400pci_clear_entry()
744 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2400pci_clear_entry()
746 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_clear_entry()
748 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2400pci_clear_entry()
[all …]
Drt2x00usb.c300 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_tx_entry() local
325 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_tx_entry()
330 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); in rt2x00usb_kick_tx_entry()
403 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_rx_entry() local
411 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_rx_entry()
416 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC); in rt2x00usb_kick_rx_entry()
458 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_flush_entry() local
464 usb_kill_urb(entry_priv->urb); in rt2x00usb_flush_entry()
652 struct queue_entry_priv_usb *entry_priv; in rt2x00usb_alloc_entries() local
657 entry_priv = queue->entries[i].priv_data; in rt2x00usb_alloc_entries()
[all …]
Drt2500pci.c805 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_get_entry_state() local
809 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
813 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
822 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2500pci_clear_entry() local
827 word = rt2x00_desc_read(entry_priv->desc, 1); in rt2500pci_clear_entry()
829 rt2x00_desc_write(entry_priv->desc, 1, word); in rt2500pci_clear_entry()
831 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
833 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
835 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_clear_entry()
838 rt2x00_desc_write(entry_priv->desc, 0, word); in rt2500pci_clear_entry()
[all …]
Drt61pci.c1289 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_get_entry_state() local
1293 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_get_entry_state()
1297 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_get_entry_state()
1306 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt61pci_clear_entry() local
1311 word = rt2x00_desc_read(entry_priv->desc, 5); in rt61pci_clear_entry()
1314 rt2x00_desc_write(entry_priv->desc, 5, word); in rt61pci_clear_entry()
1316 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_clear_entry()
1318 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
1320 word = rt2x00_desc_read(entry_priv->desc, 0); in rt61pci_clear_entry()
1323 rt2x00_desc_write(entry_priv->desc, 0, word); in rt61pci_clear_entry()
[all …]
Drt2500usb.c1220 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2500usb_fill_rxdone() local
1224 (entry_priv->urb->actual_length - in rt2500usb_fill_rxdone()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_acl_tcam.c212 void *entry_priv, in mlxsw_sp2_acl_tcam_entry_add() argument
217 struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; in mlxsw_sp2_acl_tcam_entry_add()
227 void *entry_priv) in mlxsw_sp2_acl_tcam_entry_del() argument
231 struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; in mlxsw_sp2_acl_tcam_entry_del()
239 void *region_priv, void *entry_priv, in mlxsw_sp2_acl_tcam_entry_action_replace() argument
243 struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; in mlxsw_sp2_acl_tcam_entry_action_replace()
253 void *region_priv, void *entry_priv, in mlxsw_sp2_acl_tcam_entry_activity_get() argument
256 struct mlxsw_sp2_acl_tcam_entry *entry = entry_priv; in mlxsw_sp2_acl_tcam_entry_activity_get()
Dspectrum1_acl_tcam.c172 void *entry_priv, in mlxsw_sp1_acl_tcam_entry_add() argument
177 struct mlxsw_sp1_acl_tcam_entry *entry = entry_priv; in mlxsw_sp1_acl_tcam_entry_add()
186 void *entry_priv) in mlxsw_sp1_acl_tcam_entry_del() argument
190 struct mlxsw_sp1_acl_tcam_entry *entry = entry_priv; in mlxsw_sp1_acl_tcam_entry_del()
198 void *region_priv, void *entry_priv, in mlxsw_sp1_acl_tcam_entry_action_replace() argument
224 void *region_priv, void *entry_priv, in mlxsw_sp1_acl_tcam_entry_activity_get() argument
228 struct mlxsw_sp1_acl_tcam_entry *entry = entry_priv; in mlxsw_sp1_acl_tcam_entry_activity_get()
Dspectrum.h1137 void *entry_priv,
1141 void *entry_priv);
1143 void *region_priv, void *entry_priv,
1146 void *region_priv, void *entry_priv,