Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/sun4v/io/iospc/
H A Drfios_iospc.c81 uint32_t regprop[4]; in rfios_access_init() local
87 len = sizeof (regprop); in rfios_access_init()
89 DDI_PROP_DONTPASS, "reg", (caddr_t)regprop, &len) != in rfios_access_init()
94 iospc_handle = (regprop[0] & 0xfffffff); in rfios_access_init()
/titanic_44/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc.c182 uint32_t regprop[4]; in n2piupc_attach() local
202 len = sizeof (regprop); in n2piupc_attach()
204 "reg", (caddr_t)regprop, &len) != DDI_SUCCESS) { in n2piupc_attach()
213 n2piupc_p->n2piupc_handle = regprop[0] & 0xfffffff; in n2piupc_attach()
/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c356 struct regprop { in mii_sync() struct
359 } *regprop; in mii_sync() local
372 DDI_PROP_DONTPASS, "phy-registers", (caddr_t)&regprop, in mii_sync()
374 numprop = len / sizeof (struct regprop); in mii_sync()
377 regprop[i].reg, regprop[i].value); in mii_sync()
381 regprop[i].reg, regprop[i].value); in mii_sync()
384 kmem_free(regprop, len); in mii_sync()
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c3076 encode_default_unitaddr(char *buf, int sz, uint32_t *regprop, uint_t addrcells) in encode_default_unitaddr() argument
3086 len = snprintf(buf, sz, "%x", *regprop); in encode_default_unitaddr()
3088 len += snprintf(&buf[len], sz-len, ",%x", regprop[i]); in encode_default_unitaddr()
3098 encode_optional_unitaddr(char *buf, int sz, uint32_t *regprop, uint_t addrcells) in encode_optional_unitaddr() argument
3106 if (addrcells > 1 && regprop[addrcells-1] == 0) in encode_optional_unitaddr()
3107 retval = encode_default_unitaddr(buf, sz, regprop, addrcells-1); in encode_optional_unitaddr()
3109 retval = encode_default_unitaddr(buf, sz, regprop, addrcells); in encode_optional_unitaddr()
3119 encode_scsi_unitaddr(char *buf, int sz, uint32_t *regprop, uint_t addrcells) in encode_scsi_unitaddr() argument
3132 retval = encode_optional_unitaddr(buf, sz, regprop, addrcells); in encode_scsi_unitaddr()
3134 len = snprintf(buf, sz, "w%08x%08x,%x", regprop[0], regprop[1], in encode_scsi_unitaddr()
[all …]
/titanic_44/usr/src/uts/sun4v/sys/
H A Dvsw.h123 uint64_t regprop; /* "reg" property */ member
H A Dvnet_gen.h418 uint64_t regprop; /* "reg" property */ member
/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Diosram.c2554 iosram_reg_t *regprop = (iosram_reg_t *)propvalue; in iosram_setup_map() local
2557 instance, regprop->addr_hi, in iosram_setup_map()
2558 regprop->addr_lo, regprop->size)); in iosram_setup_map()
2560 softp->iosramlen = regprop->size; in iosram_setup_map()
/titanic_44/usr/src/uts/sun4v/io/
H A Dvsw.c1392 VSW_SET_MDEG_PROP_INST(pspecp, vswp->regprop); in vsw_mdeg_register()
1400 vswp->regprop); in vsw_mdeg_register()
1555 if (inst != vswp->regprop) { in vsw_mdeg_cb()
1675 vswp->regprop = inst; in vsw_read_mdprops()
H A Dvnet_gen.c71 int vgen_init(void *vnetp, uint64_t regprop, dev_info_t *vnetdip,
493 vgen_init(void *vnetp, uint64_t regprop, dev_info_t *vnetdip, in vgen_init() argument
512 vgenp->regprop = regprop; in vgen_init()
1343 if (vgenp->regprop != cfgh) in vgen_read_mdprops()
1737 VGEN_SET_MDEG_PROP_INST(pspecp, vgenp->regprop); in vgen_mdeg_reg()
1967 if (inst != vgenp->regprop) { in vgen_mdeg_cb()
H A Dvnet.c155 extern int vgen_init(void *vnetp, uint64_t regprop, dev_info_t *vnetdip,