Home
last modified time | relevance | path

Searched refs:nac (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c76 char nac[MAXSTRLEN]; in erie_pci_callback() local
121 erie_get_nac(bus_type, path, slot, name, nac, sizeof (nac)); in erie_pci_callback()
127 log_printf("%-11s", nac); in erie_pci_callback()
174 char nac[MAXSTRLEN]; in erie_hw_rev_callback() local
191 (void) snprintf(nac, sizeof (nac), "%s/%s%d", MOTHERBOARD, in erie_hw_rev_callback()
197 (void) snprintf(nac, sizeof (nac), "%s/%s%d", MOTHERBOARD, in erie_hw_rev_callback()
202 (void) snprintf(nac, sizeof (nac), "%s/%s", MOTHERBOARD, in erie_hw_rev_callback()
207 (void) snprintf(nac, sizeof (nac), "%s/%s", MOTHERBOARD, in erie_hw_rev_callback()
213 (void) snprintf(nac, sizeof (nac), "%s/%s", MOTHERBOARD, in erie_hw_rev_callback()
228 log_printf("%-20s", nac); in erie_hw_rev_callback()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c53 char *type, *nac, *pri_path, *saved_path; in io_dev_addlabel() local
119 if (md_get_prop_str(mdp, components[i], "nac", &nac) == -1) { in io_dev_addlabel()
125 nac_size = strlen(nac) + 1; in io_dev_addlabel()
138 "%d, type <%s>, nac <%s>, path <%s>\n", i, type, nac, in io_dev_addlabel()
180 PICL_PROP_BUS_ADDR, p, nac, in io_dev_addlabel()
203 nac_size = strlen((const char *)nac) + 1; in io_dev_addlabel()
228 PICL_PROP_LABEL, nac, in io_dev_addlabel()
H A Dmem_prop_update.c206 char *pc, *nac; in add_bank_props() local
256 (char **)&nac) == 0) { in add_bank_props()
257 nac_size = strlen(nac) + 1; in add_bank_props()
263 "nac", nac, in add_bank_props()
265 if ((pc = strrchr(nac, '/')) != NULL) in add_bank_props()
266 nac = ++pc; in add_bank_props()
267 nac_size = strlen(nac) + 1; in add_bank_props()
269 PICL_PROP_LABEL, nac, in add_bank_props()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c64 char *nac = NULL; in platform_pci_label() local
83 nac = alloca(locsiz+1); in platform_pci_label()
84 (void) memset(nac, 0, locsiz+1); in platform_pci_label()
85 (void) memcpy(nac, loc, locsiz); in platform_pci_label()
86 result = topo_node_label_set(node, nac, &err); in platform_pci_label()
/titanic_44/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_hc_sun4v.c175 char *nac, *nac_name; in cmd_mkboard_fru() local
187 nac = fmd_hdl_zalloc(hdl, len, FMD_SLEEP); in cmd_mkboard_fru()
188 (void) strcpy(nac, nac_name); in cmd_mkboard_fru()
190 n = cmd_count_components(nac, '/'); in cmd_mkboard_fru()
192 fmd_hdl_debug(hdl, "cmd_mkboard_fru: nac=%s components=%d\n", nac, n); in cmd_mkboard_fru()
201 if (cmd_breakup_components(nac, "/", hc_list) < 0) { in cmd_mkboard_fru()
206 fmd_hdl_free(hdl, nac, len); in cmd_mkboard_fru()
215 fmd_hdl_free(hdl, nac, len); in cmd_mkboard_fru()
228 fmd_hdl_free(hdl, nac, len); in cmd_mkboard_fru()
237 fmd_hdl_free(hdl, nac, len); in cmd_mkboard_fru()
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c52 char *cfgpath, *dev_path, *nac; in disk_discovery() local
88 &nac) != 0) { in disk_discovery()
105 (void *)nac, &proph); in disk_discovery()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c270 char *type, *sp, *jnum, *nac; in mdesc_init_n2() local
282 &nac) < 0) in mdesc_init_n2()
283 nac = ""; in mdesc_init_n2()
304 if ((strcmp(nac, "") != 0) && in mdesc_init_n2()
306 ss = strlen(nac) + strlen(jnum) + 2; in mdesc_init_n2()
308 (void) snprintf(unum, ss, "%s/%s", nac, in mdesc_init_n2()
312 unum = nac; in mdesc_init_n2()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.h66 char *nac; /* FRU or nac */ member
H A Dcpu_mdesc.c315 frup->nac = topo_mod_strdup(mod, str); in cpu_n2_mdesc_init()
317 frup->nac = topo_mod_strdup(mod, MD_FRU_DEF); in cpu_n2_mdesc_init()
412 topo_mod_strfree(mod, frup->nac); in cpu_mdesc_fini()
H A Dcpu.c316 frup->nac ? frup->nac : MD_STR_BLANK); in cpu_expand()
/titanic_44/usr/src/uts/i86pc/io/acpi_drv/
H A Dacpi_drv.c148 static int nac = 0; variable
426 for (i = 0; i < nac; i++) { in acpi_drv_attach()
685 if (copyout(&nac, (void *)arg, sizeof (nac))) { in acpi_drv_ac_ioctl()
1606 p->index = nac - 1; in acpi_drv_obj_init()
1665 if (nac == ACPI_DRV_MAX_AC_NUM) { in acpi_drv_find_cb()
1670 ap = &acpi_drv_ac[nac++]; in acpi_drv_find_cb()
1714 &type, (void *)&retp)) && nac) { in acpi_drv_acpi_init()
1753 for (i = 0; i < nac; i++) { in acpi_drv_acpi_fini()