Home
last modified time | relevance | path

Searched refs:reglen (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/uts/sun4v/io/
H A Dvnex.c308 int reglen; in vnex_ctl() local
324 "reg", (caddr_t)&vnex_regspec, &reglen) != DDI_SUCCESS) in vnex_ctl()
330 kmem_free((caddr_t)vnex_regspec, reglen); in vnex_ctl()
359 "reg", (caddr_t)&vnex_regspec, &reglen) != 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 &reglen) != DDI_SUCCESS) { in vnex_add_intr()
482 kmem_free(reg_p, reglen); in vnex_add_intr()
H A Dcnex.c1014 int rv, instance, reglen; in cnex_attach() local
1041 "reg", (caddr_t)&reg_p, &reglen) != 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, &reglen) != DDI_SUCCESS) { in cnex_ctl()
1338 uint32_t reglen; in cnex_find_chan_dip() local
1355 &cnex_regspec, &reglen) != DDI_SUCCESS) { in cnex_find_chan_dip()
H A Dvnet_dds.c695 uint_t reglen; in vdds_match_niu_nexus() local
707 DDI_PROP_DONTPASS, "reg", (int **)&reg_p, &reglen); in vdds_match_niu_nexus()
738 uint_t reglen; in vdds_match_niu_node() local
747 DDI_PROP_DONTPASS, "reg", (int **)&reg_p, &reglen); in vdds_match_niu_node()
/titanic_41/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c253 uint_t reglen; in niumx_attach() local
259 DDI_PROP_DONTPASS, "reg", (int **)&reg_p, &reglen) in niumx_attach()
375 int i, rn = mp->map_obj.rnumber, reglen, rnglen, rngnum, ret; in niumx_map() local
384 "reg", (caddr_t)&reg_p, &reglen) != 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)&reg_p, &reglen) != DDI_SUCCESS) in niumx_ctlops()
[all …]
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c349 uint32_t reglen; in pxtool_bus_reg_ops() local
370 "reg", (int **)&px_rp, &reglen) == 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 Dpcifm.c1211 int reglen; in pci_check_regs() local
1224 "reg", (caddr_t)&drv_regp, &reglen) != 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, &reglen) != 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, &reglen) != in pci_check_regs()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dpmubus.c858 int reglen; in pmubus_ctlops() local
865 &reglen) != 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 Disadma.c629 int32_t reglen; in isadma_map() local
637 "reg", (caddr_t)&regp, &reglen) != DDI_SUCCESS) { in isadma_map()
702 kmem_free(regp, reglen); in isadma_map()
/titanic_41/usr/src/uts/sun4v/io/fpc/
H A Dfpc-impl-4v.c121 uint_t reglen; in fpc_platform_node_init() local
141 DDI_PROP_DONTPASS, "reg", (uchar_t **)&rp, &reglen) != in fpc_platform_node_init()
/titanic_41/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.c760 int32_t reglen; in cpqary3_update_ctlrdetails() local
796 "reg", (caddr_t)&regp, &reglen) != 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 Dpcieb_sparc.c75 int reglen, len; in pcieb_plat_intr_ops() local
99 "reg", (caddr_t)&pci_rp, &reglen) != 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 Dnx1394.c156 int reglen, i; in nx1394_bus_ctl() local
165 (uint_t *)&reglen); in nx1394_bus_ctl()
179 ASSERT(reglen != 0); in nx1394_bus_ctl()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c561 int reglen; in ppb_ctlops() local
625 (caddr_t)&drv_regp, &reglen) != 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, &reglen) != DDI_SUCCESS) in ppb_intr_ops()
703 kmem_free(pci_rp, reglen); in ppb_intr_ops()
H A Dsimba.c582 int reglen; in simba_ctlops() local
626 (caddr_t)&drv_regp, &reglen) != 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 Dpci_tools.c632 uint32_t reglen; in pcitool_bus_reg_ops() local
651 "reg", (int **)&pci_rp, &reglen) == 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 Dpci_util.c312 int reglen; in name_child() local
342 "reg", (int **)&pci_rp, (uint_t *)&reglen) == DDI_SUCCESS) { in name_child()
343 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in name_child()
H A Dpci.c487 int reglen, rval, r_no; in pci_map() local
506 "reg", (caddr_t)&rp, &reglen) != 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 Dpci_pci.c477 int reglen; in ppb_ctlops() local
557 (caddr_t)&drv_regp, &reglen) != 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 Dpx_util.c315 int reglen; in px_name_child() local
345 "reg", (int **)&pci_rp, (uint_t *)&reglen) == DDI_SUCCESS) { in px_name_child()
346 if (((reglen * sizeof (int)) % sizeof (pci_regspec_t)) != 0) { in px_name_child()
H A Dpx.c733 int reglen, rval, r_no; in px_map() local
752 "reg", (caddr_t)&rp, &reglen) != 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 Dpcmu_util.c280 int reglen; in name_child() local
310 "reg", (int **)&pcmu_rp, (uint_t *)&reglen) == 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 Dmc-us3i.h75 int reglen; member
/titanic_41/usr/src/uts/i86pc/io/pci/
H A Dpci.c539 uint_t reglen; in pci_ctlops() local
572 &reglen) != 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 Debus.c625 int reglen; in ebus_name_child() local
632 "reg", (caddr_t)&ebus_rp, &reglen) != 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 Dnpe.c707 uint_t reglen; in npe_ctlops() local
740 &reglen) != DDI_PROP_SUCCESS) { in npe_ctlops()
744 totreg = (reglen * sizeof (int)) / sizeof (pci_regspec_t); in npe_ctlops()

12