Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c88 uint64_t sync_flag_pa = SYNC_BUF_PA(mp); in pci_dma_sync_flag_wait() local
95 if (sync_flag_pa) in pci_dma_sync_flag_wait()
98 sync_flag_pa = sc_p->sc_sync_flag_pa; in pci_dma_sync_flag_wait()
101 sync_flag_pa = va_to_pa(stack_buf); in pci_dma_sync_flag_wait()
102 sync_flag_pa += PCI_SYNC_FLAG_SIZE; in pci_dma_sync_flag_wait()
103 sync_flag_pa >>= PCI_SYNC_FLAG_SZSHIFT; in pci_dma_sync_flag_wait()
104 sync_flag_pa <<= PCI_SYNC_FLAG_SZSHIFT; in pci_dma_sync_flag_wait()
110 ASSERT(!(sync_flag_pa & PCI_SYNC_FLAG_SIZE - 1)); in pci_dma_sync_flag_wait()
111 stdphys(sync_flag_pa, 0); /* reset sync flag to 0 */ in pci_dma_sync_flag_wait()
113 stdphysio(sync_reg_pa, sync_flag_pa); in pci_dma_sync_flag_wait()
[all …]