/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vnex.c | 308 int reglen; in vnex_ctl() local 324 "reg", (caddr_t)&vnex_regspec, ®len) != DDI_SUCCESS) in vnex_ctl() 330 kmem_free((caddr_t)vnex_regspec, reglen); in vnex_ctl() 359 "reg", (caddr_t)&vnex_regspec, ®len) != DDI_SUCCESS) in vnex_ctl() 361 *((uint_t *)result) = reglen / sizeof (uint32_t); in vnex_ctl() 362 kmem_free((caddr_t)vnex_regspec, reglen); in vnex_ctl() 464 int reglen, ret = DDI_SUCCESS; in vnex_add_intr() local 473 ®len) != DDI_SUCCESS) { in vnex_add_intr() 482 kmem_free(reg_p, reglen); in vnex_add_intr()
|
H A D | cnex.c | 1014 int rv, instance, reglen; in cnex_attach() local 1041 "reg", (caddr_t)®_p, ®len) != DDI_SUCCESS) { in cnex_attach() 1047 kmem_free(reg_p, reglen); in cnex_attach() 1184 uint32_t reglen; in cnex_ctl() local 1201 &cnex_regspec, ®len) != DDI_SUCCESS) { in cnex_ctl() 1338 uint32_t reglen; in cnex_find_chan_dip() local 1355 &cnex_regspec, ®len) != DDI_SUCCESS) { in cnex_find_chan_dip()
|
H A D | vnet_dds.c | 695 uint_t reglen; in vdds_match_niu_nexus() local 707 DDI_PROP_DONTPASS, "reg", (int **)®_p, ®len); in vdds_match_niu_nexus() 738 uint_t reglen; in vdds_match_niu_node() local 747 DDI_PROP_DONTPASS, "reg", (int **)®_p, ®len); in vdds_match_niu_node()
|
/titanic_41/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 253 uint_t reglen; in niumx_attach() local 259 DDI_PROP_DONTPASS, "reg", (int **)®_p, ®len) in niumx_attach() 375 int i, rn = mp->map_obj.rnumber, reglen, rnglen, rngnum, ret; in niumx_map() local 384 "reg", (caddr_t)®_p, ®len) != DDI_SUCCESS) in niumx_map() 387 if (rn < 0 || (rn >= reglen / sizeof (niu_regspec_t))) { in niumx_map() 389 kmem_free(reg_p, reglen); in niumx_map() 402 kmem_free(reg_p, reglen); in niumx_map() 447 kmem_free(reg_p - rn, reglen); in niumx_map() 459 int reglen, totreg; in niumx_ctlops() local 493 DDI_PROP_CANSLEEP, "reg", (caddr_t)®_p, ®len) != DDI_SUCCESS) in niumx_ctlops() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/px/ |
H A D | px_tools_4u.c | 349 uint32_t reglen; in pxtool_bus_reg_ops() local 370 "reg", (int **)&px_rp, ®len) == DDI_SUCCESS) { in pxtool_bus_reg_ops() 371 if (((reglen * sizeof (int)) % in pxtool_bus_reg_ops() 380 numbanks = (reglen * sizeof (int)) / sizeof (px_nexus_regspec_t); in pxtool_bus_reg_ops()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | pcifm.c | 1211 int reglen; in pci_check_regs() local 1224 "reg", (caddr_t)&drv_regp, ®len) != DDI_SUCCESS) in pci_check_regs() 1227 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs() 1236 kmem_free(drv_regp, reglen); in pci_check_regs() 1240 kmem_free(drv_regp, reglen); in pci_check_regs() 1248 "reg", (caddr_t)&drv_regp, ®len) != DDI_SUCCESS) in pci_check_regs() 1251 totreg = reglen / sizeof (pci_regspec_t); in pci_check_regs() 1266 kmem_free(drv_regp, reglen); in pci_check_regs() 1270 kmem_free(drv_regp, reglen); in pci_check_regs() 1273 "assigned-addresses", (caddr_t)&drv_regp, ®len) != in pci_check_regs() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | pmubus.c | 858 int reglen; in pmubus_ctlops() local 865 ®len) != DDI_SUCCESS) { in pmubus_ctlops() 870 if ((reglen % sizeof (pmubus_obpregspec_t)) != 0) { in pmubus_ctlops() 873 "%s size=%d\n", ddi_node_name(child), reglen); in pmubus_ctlops() 874 kmem_free(pmubus_rp, reglen); in pmubus_ctlops() 881 kmem_free(pmubus_rp, reglen); in pmubus_ctlops()
|
H A D | isadma.c | 629 int32_t reglen; in isadma_map() local 637 "reg", (caddr_t)®p, ®len) != DDI_SUCCESS) { in isadma_map() 702 kmem_free(regp, reglen); in isadma_map()
|
/titanic_41/usr/src/uts/sun4v/io/fpc/ |
H A D | fpc-impl-4v.c | 121 uint_t reglen; in fpc_platform_node_init() local 141 DDI_PROP_DONTPASS, "reg", (uchar_t **)&rp, ®len) != in fpc_platform_node_init()
|
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 760 int32_t reglen; in cpqary3_update_ctlrdetails() local 796 "reg", (caddr_t)®p, ®len) != DDI_PROP_SUCCESS) in cpqary3_update_ctlrdetails() 803 for (regset_index = 0; regset_index < reglen / 20; regset_index ++) { in cpqary3_update_ctlrdetails() 818 for (regset_index = 0; regset_index < reglen / 20; regset_index ++) { in cpqary3_update_ctlrdetails() 833 MEM_SFREE(regp, reglen); in cpqary3_update_ctlrdetails()
|
/titanic_41/usr/src/uts/sparc/io/pciex/ |
H A D | pcieb_sparc.c | 75 int reglen, len; in pcieb_plat_intr_ops() local 99 "reg", (caddr_t)&pci_rp, ®len) != DDI_SUCCESS) in pcieb_plat_intr_ops() 115 kmem_free(pci_rp, reglen); in pcieb_plat_intr_ops()
|
/titanic_41/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 156 int reglen, i; in nx1394_bus_ctl() local 165 (uint_t *)®len); in nx1394_bus_ctl() 179 ASSERT(reglen != 0); in nx1394_bus_ctl()
|
/titanic_41/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pci.c | 561 int reglen; in ppb_ctlops() local 625 (caddr_t)&drv_regp, ®len) != DDI_SUCCESS) in ppb_ctlops() 628 totreg = reglen / sizeof (pci_regspec_t); in ppb_ctlops() 634 kmem_free(drv_regp, reglen); in ppb_ctlops() 641 kmem_free(drv_regp, reglen); in ppb_ctlops() 664 int reglen, len; in ppb_intr_ops() local 688 "reg", (caddr_t)&pci_rp, ®len) != DDI_SUCCESS) in ppb_intr_ops() 703 kmem_free(pci_rp, reglen); in ppb_intr_ops()
|
H A D | simba.c | 582 int reglen; in simba_ctlops() local 626 (caddr_t)&drv_regp, ®len) != DDI_SUCCESS) in simba_ctlops() 629 totreg = reglen / sizeof (pci_regspec_t); in simba_ctlops() 635 kmem_free(drv_regp, reglen); in simba_ctlops() 642 kmem_free(drv_regp, reglen); in simba_ctlops()
|
H A D | pci_tools.c | 632 uint32_t reglen; in pcitool_bus_reg_ops() local 651 "reg", (int **)&pci_rp, ®len) == DDI_SUCCESS) { in pcitool_bus_reg_ops() 652 if (((reglen * sizeof (int)) % in pcitool_bus_reg_ops() 663 (reglen * sizeof (int)) / sizeof (pci_nexus_regspec_t)) { in pcitool_bus_reg_ops()
|
H A D | pci_util.c | 312 int reglen; in name_child() local 342 "reg", (int **)&pci_rp, (uint_t *)®len) == DDI_SUCCESS) { in name_child() 343 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in name_child()
|
H A D | pci.c | 487 int reglen, rval, r_no; in pci_map() local 506 "reg", (caddr_t)&rp, ®len) != DDI_SUCCESS) in pci_map() 509 if (r_no < 0 || r_no >= reglen / sizeof (pci_regspec_t)) { in pci_map() 510 kmem_free(rp, reglen); in pci_map() 553 kmem_free(rp - r_no, reglen); in pci_map()
|
/titanic_41/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 477 int reglen; in ppb_ctlops() local 557 (caddr_t)&drv_regp, ®len) != DDI_SUCCESS) in ppb_ctlops() 560 totreg = reglen / sizeof (pci_regspec_t); in ppb_ctlops() 566 kmem_free(drv_regp, reglen); in ppb_ctlops() 572 kmem_free(drv_regp, reglen); in ppb_ctlops()
|
/titanic_41/usr/src/uts/sun4/io/px/ |
H A D | px_util.c | 315 int reglen; in px_name_child() local 345 "reg", (int **)&pci_rp, (uint_t *)®len) == DDI_SUCCESS) { in px_name_child() 346 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in px_name_child()
|
H A D | px.c | 733 int reglen, rval, r_no; in px_map() local 752 "reg", (caddr_t)&rp, ®len) != DDI_SUCCESS) in px_map() 755 if (r_no < 0 || r_no >= reglen / sizeof (pci_regspec_t)) { in px_map() 756 kmem_free(rp, reglen); in px_map() 823 kmem_free(rp - r_no, reglen); in px_map()
|
/titanic_41/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_util.c | 280 int reglen; in name_child() local 310 "reg", (int **)&pcmu_rp, (uint_t *)®len) == DDI_SUCCESS) { in name_child() 311 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in name_child()
|
/titanic_41/usr/src/uts/sun4u/sys/ |
H A D | mc-us3i.h | 75 int reglen; member
|
/titanic_41/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 539 uint_t reglen; in pci_ctlops() local 572 ®len) != DDI_PROP_SUCCESS) { in pci_ctlops() 576 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in pci_ctlops()
|
/titanic_41/usr/src/uts/sun4/io/ |
H A D | ebus.c | 625 int reglen; in ebus_name_child() local 632 "reg", (caddr_t)&ebus_rp, ®len) != DDI_SUCCESS) { in ebus_name_child() 638 kmem_free(ebus_rp, reglen); in ebus_name_child()
|
/titanic_41/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 707 uint_t reglen; in npe_ctlops() local 740 ®len) != DDI_PROP_SUCCESS) { in npe_ctlops() 744 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in npe_ctlops()
|