/titanic_41/usr/src/uts/common/io/ |
H A D | pci_intr_lib.c | 252 ddi_intr_msix_t *msix_p = i_ddi_get_msix(rdip); in pci_msi_configure() local 255 off = (uintptr_t)msix_p->msix_tbl_addr + in pci_msi_configure() 259 ddi_put32(msix_p->msix_tbl_hdl, in pci_msi_configure() 267 ddi_put32(msix_p->msix_tbl_hdl, in pci_msi_configure() 269 ddi_put32(msix_p->msix_tbl_hdl, in pci_msi_configure() 275 ddi_get32(msix_p->msix_tbl_hdl, in pci_msi_configure() 277 ddi_get32(msix_p->msix_tbl_hdl, in pci_msi_configure() 279 ddi_get32(msix_p->msix_tbl_hdl, in pci_msi_configure() 329 ddi_intr_msix_t *msix_p = i_ddi_get_msix(rdip); in pci_msi_unconfigure() local 332 off = (uintptr_t)msix_p->msix_tbl_addr + in pci_msi_unconfigure() [all …]
|
/titanic_41/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_intr.c | 329 ddi_intr_msix_t *msix_p; in apic_pci_msi_enable_mode() local 331 msix_p = i_ddi_get_msix(rdip); in apic_pci_msi_enable_mode() 333 ASSERT(msix_p != NULL); in apic_pci_msi_enable_mode() 336 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apic_pci_msi_enable_mode() 339 mask = ddi_get32(msix_p->msix_tbl_hdl, (uint32_t *)off); in apic_pci_msi_enable_mode() 341 ddi_put32(msix_p->msix_tbl_hdl, (uint32_t *)off, (mask & ~1)); in apic_pci_msi_enable_mode()
|
H A D | xpv_psm.c | 1128 ddi_intr_msix_t *msix_p = i_ddi_get_msix(dip); in xpv_psm_get_msi_vector() local 1131 off = (uintptr_t)msix_p->msix_tbl_addr + in xpv_psm_get_msi_vector() 1134 msi_data = ddi_get32(msix_p->msix_tbl_hdl, in xpv_psm_get_msi_vector() 1302 ddi_intr_msix_t *msix_p = i_ddi_get_msix(dip); in apic_alloc_msix_vectors() local 1306 if (msix_p == NULL) { in apic_alloc_msix_vectors() 1307 msix_p = pci_msix_init(dip); in apic_alloc_msix_vectors() 1308 if (msix_p != NULL) { in apic_alloc_msix_vectors() 1309 i_ddi_set_msix(dip, msix_p); in apic_alloc_msix_vectors() 1319 pfnum = hat_getpfnum(kas.a_hat, (caddr_t)msix_p->msix_tbl_addr) & in apic_alloc_msix_vectors() 1321 table_base = (uint64_t)((pfnum << PAGESHIFT) - msix_p->msix_tbl_offset | in apic_alloc_msix_vectors() [all …]
|
/titanic_41/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_introp.c | 130 ddi_intr_msix_t *msix_p = i_ddi_get_msix(dip); in apic_pci_msi_enable_vector() local 132 ASSERT(msix_p != NULL); in apic_pci_msi_enable_vector() 135 off = (uintptr_t)msix_p->msix_tbl_addr + in apic_pci_msi_enable_vector() 138 ddi_put32(msix_p->msix_tbl_hdl, in apic_pci_msi_enable_vector() 140 ddi_put32(msix_p->msix_tbl_hdl, in apic_pci_msi_enable_vector() 142 ddi_put32(msix_p->msix_tbl_hdl, in apic_pci_msi_enable_vector() 429 ddi_intr_msix_t *msix_p; in apic_pci_msi_enable_mode() local 431 msix_p = i_ddi_get_msix(rdip); in apic_pci_msi_enable_mode() 433 ASSERT(msix_p != NULL); in apic_pci_msi_enable_mode() 436 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apic_pci_msi_enable_mode() [all …]
|
H A D | apic_common.c | 1674 ddi_intr_msix_t *msix_p = i_ddi_get_msix(rdip); in apic_pci_msi_unconfigure() local 1676 ASSERT(msix_p != NULL); in apic_pci_msi_unconfigure() 1679 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apic_pci_msi_unconfigure() 1682 mask = ddi_get32(msix_p->msix_tbl_hdl, (uint32_t *)off); in apic_pci_msi_unconfigure() 1684 ddi_put32(msix_p->msix_tbl_hdl, (uint32_t *)off, (mask | 1)); in apic_pci_msi_unconfigure() 1687 off = (uintptr_t)msix_p->msix_tbl_addr + in apic_pci_msi_unconfigure() 1691 ddi_put32(msix_p->msix_tbl_hdl, in apic_pci_msi_unconfigure() 1693 ddi_put64(msix_p->msix_tbl_hdl, (uint64_t *)off, 0); in apic_pci_msi_unconfigure()
|
/titanic_41/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 360 ddi_intr_msix_t *msix_p = i_ddi_get_msix(dip); in apix_pci_msi_enable_vector() local 363 off = (uintptr_t)msix_p->msix_tbl_addr + in apix_pci_msi_enable_vector() 366 ddi_put32(msix_p->msix_tbl_hdl, in apix_pci_msi_enable_vector() 368 ddi_put32(msix_p->msix_tbl_hdl, in apix_pci_msi_enable_vector() 370 ddi_put32(msix_p->msix_tbl_hdl, in apix_pci_msi_enable_vector() 396 ddi_intr_msix_t *msix_p; in apix_pci_msi_enable_mode() local 398 msix_p = i_ddi_get_msix(dip); in apix_pci_msi_enable_mode() 401 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apix_pci_msi_enable_mode() 404 mask = ddi_get32(msix_p->msix_tbl_hdl, (uint32_t *)off); in apix_pci_msi_enable_mode() 406 ddi_put32(msix_p->msix_tbl_hdl, (uint32_t *)off, (mask & ~1)); in apix_pci_msi_enable_mode()
|
H A D | apix.c | 1595 ddi_intr_msix_t *msix_p = NULL; in apix_set_cpu() local 1627 msix_p = i_ddi_get_msix(dip); in apix_set_cpu() 1628 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apix_set_cpu() 1630 mask = ddi_get32(msix_p->msix_tbl_hdl, (uint32_t *)off); in apix_set_cpu() 1631 ddi_put32(msix_p->msix_tbl_hdl, (uint32_t *)off, in apix_set_cpu() 1641 if (msix_p != NULL) in apix_set_cpu() 1642 ddi_put32(msix_p->msix_tbl_hdl, (uint32_t *)off, mask); in apix_set_cpu()
|
/titanic_41/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 208 ddi_intr_msix_t *msix_p; in pci_common_intr_ops() local 391 if (!(msix_p = i_ddi_get_msix(hdlp->ih_dip))) { in pci_common_intr_ops() 392 msix_p = pci_msix_init(hdlp->ih_dip); in pci_common_intr_ops() 393 if (msix_p) { in pci_common_intr_ops() 395 msix_p); in pci_common_intr_ops() 445 msix_p = i_ddi_get_msix(hdlp->ih_dip); in pci_common_intr_ops() 446 if (msix_p && in pci_common_intr_ops() 449 pci_msix_fini(msix_p); in pci_common_intr_ops()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | pci_intr_lib.h | 55 extern void pci_msix_fini(ddi_intr_msix_t *msix_p);
|
H A D | ddi_intr_impl.h | 347 void i_ddi_set_msix(dev_info_t *dip, ddi_intr_msix_t *msix_p);
|
/titanic_41/usr/src/uts/common/os/ |
H A D | ddi_intr_impl.c | 318 i_ddi_set_msix(dev_info_t *dip, ddi_intr_msix_t *msix_p) in i_ddi_set_msix() argument 323 intr_p->devi_msix_p = msix_p; in i_ddi_set_msix()
|
/titanic_41/usr/src/uts/sun4/io/px/ |
H A D | px_intr.c | 607 ddi_intr_msix_t *msix_p; in px_msix_ops() local 609 if (msix_p = pci_msix_init(rdip)) { in px_msix_ops() 610 i_ddi_set_msix(rdip, msix_p); in px_msix_ops()
|