Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_sc.c49 sc_t *sc_p; in sc_create() local
63 sc_p = (sc_t *)kmem_zalloc(sizeof (sc_t), KM_SLEEP); in sc_create()
64 pci_p->pci_sc_p = sc_p; in sc_create()
65 sc_p->sc_pci_p = pci_p; in sc_create()
67 pci_sc_setup(sc_p); in sc_create()
68 sc_p->sc_sync_reg_pa = va_to_pa((char *)sc_p->sc_sync_reg); in sc_create()
71 sc_p->sc_ctrl_reg, sc_p->sc_invl_reg, in sc_create()
72 sc_p->sc_sync_reg); in sc_create()
74 sc_p->sc_ctx_invl_reg, sc_p->sc_ctx_match_reg); in sc_create()
77 sc_p->sc_data_diag_acc, sc_p->sc_tag_diag_acc, in sc_create()
[all …]
H A Dpci_dma.c49 pci_sc_pg_inv(dev_info_t *dip, sc_t *sc_p, ddi_dma_impl_t *mp, off_t off, in pci_sc_pg_inv() argument
53 volatile uint64_t *invl_va = sc_p->sc_invl_reg; in pci_sc_pg_inv()
84 pci_dma_sync_flag_wait(ddi_dma_impl_t *mp, sc_t *sc_p, uint32_t onstack) in pci_dma_sync_flag_wait() argument
89 uint64_t sync_reg_pa = sc_p->sc_sync_reg_pa; in pci_dma_sync_flag_wait()
98 sync_flag_pa = sc_p->sc_sync_flag_pa; in pci_dma_sync_flag_wait()
108 mutex_enter(&sc_p->sc_sync_mutex); in pci_dma_sync_flag_wait()
127 mutex_exit(&sc_p->sc_sync_mutex); in pci_dma_sync_flag_wait()
156 sc_t *sc_p; in pci_dma_sync() local
192 sc_p = pci_p->pci_sc_p; in pci_dma_sync()
199 ret = pci_sc_ctx_inv(dip, sc_p, mp); in pci_dma_sync()
[all …]
H A Dpcipsy.c1102 pci_sc_ctx_inv(dev_info_t *dip, sc_t *sc_p, ddi_dma_impl_t *mp) in pci_sc_ctx_inv() argument
1265 pci_sc_setup(sc_t *sc_p) in pci_sc_setup() argument
1267 pci_t *pci_p = sc_p->sc_pci_p; in pci_sc_setup()
1274 sc_p->sc_ctrl_reg = (uint64_t *)(a + PSYCHO_SC_CTRL_REG_OFFSET); in pci_sc_setup()
1275 sc_p->sc_invl_reg = (uint64_t *)(a + PSYCHO_SC_INVL_REG_OFFSET); in pci_sc_setup()
1276 sc_p->sc_sync_reg = (uint64_t *)(a + PSYCHO_SC_SYNC_REG_OFFSET); in pci_sc_setup()
1284 sc_p->sc_data_diag_acc = (uint64_t *) in pci_sc_setup()
1286 sc_p->sc_tag_diag_acc = (uint64_t *) in pci_sc_setup()
1288 sc_p->sc_ltag_diag_acc = (uint64_t *) in pci_sc_setup()
1291 sc_p->sc_data_diag_acc = (uint64_t *) in pci_sc_setup()
[all …]
H A Dpcisch.c1068 pci_sc_ctx_inv(dev_info_t *dip, sc_t *sc_p, ddi_dma_impl_t *mp) in pci_sc_ctx_inv() argument
1071 volatile uint64_t *reg_addr = sc_p->sc_ctx_match_reg + ctx; in pci_sc_ctx_inv()
1079 *sc_p->sc_ctx_invl_reg = ctx; /* 1st flush write */ in pci_sc_ctx_inv()
1087 *sc_p->sc_ctx_invl_reg = ctx; in pci_sc_ctx_inv()
1401 pci_sc_setup(sc_t *sc_p) in pci_sc_setup() argument
1403 pci_t *pci_p = sc_p->sc_pci_p; in pci_sc_setup()
1411 sc_p->sc_ctrl_reg = (uint64_t *)(a + SCHIZO_SC_CTRL_REG_OFFSET); in pci_sc_setup()
1412 sc_p->sc_invl_reg = (uint64_t *)(a + SCHIZO_SC_INVL_REG_OFFSET); in pci_sc_setup()
1413 sc_p->sc_sync_reg = (uint64_t *)(a + SCHIZO_SC_SYNC_REG_OFFSET); in pci_sc_setup()
1414 sc_p->sc_ctx_invl_reg = (uint64_t *)(a + SCHIZO_SC_CTX_INVL_REG_OFFSET); in pci_sc_setup()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_chip.h91 extern void pci_sc_setup(sc_t *sc_p);
92 extern int pci_sc_ctx_inv(dev_info_t *dip, sc_t *sc_p, ddi_dma_impl_t *mp);
H A Dpci_sc.h84 extern void sc_configure(sc_t *sc_p);