Home
last modified time | relevance | path

Searched refs:dmai_flags (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.h44 (((mp)->dmai_flags & PX_DMAI_FLAGS_REDZONE) ? 1 : 0)
46 (((mp)->dmai_flags & PX_DMAI_FLAGS_MAP_BUFZONE) ? 1 :0)
62 uint_t dmai_flags; member
88 #define dmai_flags dmai_inuse macro
136 #define PX_HAS_NOFASTLIMIT(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_NOFASTLIMIT)
137 #define PX_HAS_NOSYSLIMIT(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_NOSYSLIMIT)
138 #define PX_DMA_ISPEERONLY(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_PEER_ONLY)
139 #define PX_DMA_ISPGPFN(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_PGPFN)
140 #define PX_DMA_TYPE(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_DMA_TYPE)
144 #define PX_DMA_ISPTP32(mp) ((mp)->dmai_flags & PX_DMAI_FLAGS_PTP32)
[all …]
H A Dpx_dma.c76 mp->dmai_flags = 0; in px_dma_allocmp()
209 mp->dmai_flags |= PX_DMAI_FLAGS_PEER_ONLY; in px_dma_lmts2hdl()
213 mp->dmai_flags |= PX_DMAI_FLAGS_NOFASTLIMIT | in px_dma_lmts2hdl()
217 mp->dmai_flags |= PX_DMAI_FLAGS_NOFASTLIMIT; in px_dma_lmts2hdl()
220 mp->dmai_flags |= PX_DMAI_FLAGS_NOCTX; in px_dma_lmts2hdl()
299 mp->dmai_flags |= PX_DMAI_FLAGS_BYPASSREQ; in px_dma_attr2hdl()
342 if ((mp->dmai_flags & PX_DMAI_FLAGS_BYPASSREQ) || in px_dma_attr2hdl()
346 mp->dmai_flags |= PX_DMAI_FLAGS_PEER_ONLY; in px_dma_attr2hdl()
351 mp->dmai_flags |= PX_DMAI_FLAGS_NOSYSLIMIT | in px_dma_attr2hdl()
356 mp->dmai_flags |= PX_DMAI_FLAGS_NOFASTLIMIT; in px_dma_attr2hdl()
[all …]
H A Dpx.c888 mp->dmai_flags |= PX_DMAI_FLAGS_INUSE; in px_dma_setup()
975 if (mp->dmai_flags & PX_DMAI_FLAGS_INUSE) in px_dma_bindhdl()
978 ASSERT((mp->dmai_flags & ~PX_DMAI_FLAGS_PRESERVE) == 0); in px_dma_bindhdl()
979 mp->dmai_flags |= PX_DMAI_FLAGS_INUSE; in px_dma_bindhdl()
1035 mp->dmai_flags &= PX_DMAI_FLAGS_PRESERVE; in px_dma_bindhdl()
1053 if ((mp->dmai_flags & PX_DMAI_FLAGS_INUSE) == 0) { in px_dma_unbindhdl()
1087 mp->dmai_flags &= PX_DMAI_FLAGS_PRESERVE; in px_dma_unbindhdl()
1242 mp->dmai_flags); in px_dma_ctlops()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_dma.h64 uint_t dmai_flags; member
89 #define dmai_flags dmai_inuse macro
136 #define HAS_NOFASTLIMIT(mp) ((mp)->dmai_flags & DMAI_FLAGS_NOFASTLIMIT)
137 #define HAS_NOSYSLIMIT(mp) ((mp)->dmai_flags & DMAI_FLAGS_NOSYSLIMIT)
138 #define PCI_DMA_ISPEERONLY(mp) ((mp)->dmai_flags & DMAI_FLAGS_PEER_ONLY)
139 #define PCI_DMA_ISPGPFN(mp) ((mp)->dmai_flags & DMAI_FLAGS_PGPFN)
140 #define PCI_DMA_TYPE(mp) ((mp)->dmai_flags & DMAI_FLAGS_DMA_TYPE)
149 #define PCI_DMA_CANRELOC(mp) ((mp)->dmai_flags & DMAI_FLAGS_RELOC)
150 #define PCI_DMA_ISMAPPED(mp) ((mp)->dmai_flags & DMAI_FLAGS_MAPPED)
182 #define PCI_DMA_USECTX(mp) (!(mp->dmai_flags & DMAI_FLAGS_NOCTX))
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c164 if (!(mp->dmai_flags & DMAI_FLAGS_INUSE)) { in pci_dma_sync()
170 if (mp->dmai_flags & DMAI_FLAGS_NOSYNC) in pci_dma_sync()
198 if (mp->dmai_flags & DMAI_FLAGS_CONTEXT && pci_sc_use_contexts) in pci_dma_sync()
214 mp->dmai_flags & DMAI_FLAGS_CONTEXT && pci_sc_use_contexts) in pci_dma_sync()
230 if ((mp->dmai_flags & DMAI_FLAGS_INUSE) == 0) in pci_dma_handle_clean()
233 mp->dmai_flags |= DMAI_FLAGS_NOSYNC; in pci_dma_handle_clean()
267 mp->dmai_flags = 0; in pci_dma_allocmp()
390 mp->dmai_flags |= DMAI_FLAGS_PEER_ONLY; in pci_dma_lmts2hdl()
394 mp->dmai_flags |= DMAI_FLAGS_NOFASTLIMIT | in pci_dma_lmts2hdl()
398 mp->dmai_flags |= DMAI_FLAGS_NOFASTLIMIT; in pci_dma_lmts2hdl()
[all …]
H A Dpci.c620 mp->dmai_flags |= (DMAI_FLAGS_INUSE | DMAI_FLAGS_MAPPED); in pci_dma_setup()
706 if (mp->dmai_flags & DMAI_FLAGS_INUSE) in pci_dma_bindhdl()
709 ASSERT((mp->dmai_flags & ~DMAI_FLAGS_PRESERVE) == 0); in pci_dma_bindhdl()
710 mp->dmai_flags |= DMAI_FLAGS_INUSE; in pci_dma_bindhdl()
760 mp->dmai_flags |= DMAI_FLAGS_MAPPED; in pci_dma_bindhdl()
766 mp->dmai_flags &= DMAI_FLAGS_PRESERVE; in pci_dma_bindhdl()
783 if ((mp->dmai_flags & DMAI_FLAGS_INUSE) == 0) { in pci_dma_unbindhdl()
788 mp->dmai_flags &= ~DMAI_FLAGS_MAPPED; in pci_dma_unbindhdl()
814 mp->dmai_flags &= DMAI_FLAGS_PRESERVE; in pci_dma_unbindhdl()
964 mp->dmai_flags); in pci_dma_ctlops()
H A Dpci_fdvma.c101 mp->dmai_flags |= DMAI_FLAGS_RELOC; in pci_fdvma_load()
116 mp->dmai_flags |= DMAI_FLAGS_MAPPED; in pci_fdvma_load()
253 mp->dmai_flags = DMAI_FLAGS_INUSE | in pci_fdvma_reserve()
H A Dpci_reloc.c93 mp->dmai_flags &= ~DMAI_FLAGS_RELOC; in pci_dvma_unregister_callbacks()
H A Dpci_iommu.c392 if (mp->dmai_flags & DMAI_FLAGS_CONTEXT) { in iommu_unmap_window()
H A Dpcisch.c3596 req_max_p->dur_flags = mp->dmai_flags & DMAI_FLAGS_VMEMCACHE; in tm_vmem_free()
3647 (mp->dmai_flags & DMAI_FLAGS_VMEMCACHE)); in pci_vmem_free()
H A Dpcipsy.c1947 (mp->dmai_flags & DMAI_FLAGS_VMEMCACHE)); in pci_vmem_free()
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c656 if (!(mp->dmai_flags & PX_DMAI_FLAGS_INUSE)) { in px_lib_dma_sync()
662 if (mp->dmai_flags & PX_DMAI_FLAGS_NOSYNC) in px_lib_dma_sync()
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.c678 if (!(mp->dmai_flags & PX_DMAI_FLAGS_INUSE)) { in px_lib_dma_sync()
685 if (mp->dmai_flags & PX_DMAI_FLAGS_NOSYNC) in px_lib_dma_sync()