/illumos-gate/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-snmp.c | 24 hrDeviceDesc_to_info(char *string, char **manufacturer, char **model, in hrDeviceDesc_to_info() argument 35 rc = ieee1284_devid_to_printer_info(string, manufacturer, model, in hrDeviceDesc_to_info() 43 *model = strdup(s); in hrDeviceDesc_to_info() 112 char **model, char **description, char **serial_no, in snmp_brother_printer_info() argument 126 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_brother_printer_info() 140 char **model, char **description, char **serial_no, in snmp_ricoh_printer_info() argument 154 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_ricoh_printer_info() 168 char **model, char **description, char **serial_no, in snmp_lexmark_printer_info() argument 182 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_lexmark_printer_info() 196 char **manufacturer, char **model, char **description, in snmp_xerox_phaser_printer_info() argument [all …]
|
/illumos-gate/usr/src/uts/sun4u/enchilada/io/ |
H A D | ppm.conf | 96 domain_cpu-model="CPU"; 113 domain_scsifet1-model = "FET"; 119 domain_scsifet2-model = "FET"; 131 domain_idefet-model = "FET"; 145 domain_led-model = "LED"; 165 domain_pcislot_0-model = "PCI"; 175 domain_pcislot_1-model = "PCI_PROP"; 186 domain_pcislot_2-model = "PCI_PROP"; 197 domain_pcislot_3-model = "PCI_PROP"; 208 domain_pcislot_4-model = "PCI_PROP"; [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 166 char *model; in walk() local 200 model = (char *)get_prop_val(find_prop(pnode, "model")); in walk() 206 if (model != NULL) in walk() 207 printf("model=%s", model); in walk() 210 if (model == NULL) in walk() 211 model = ""; in walk() 220 name, type, model); in walk() 230 (strcmp(model, "SUNW,psycho") == 0)) || in walk() 233 (strcmp(model, "SUNW,sabre") == 0)) || in walk() 236 (strcmp(model, "SUNW,schizo") == 0)) || in walk() [all …]
|
H A D | io.c | 344 log_printf("%-19.19s", p->model, 0); in display_io_cards() 345 if (strlen(p->model) > 19) in display_io_cards() 410 card.model[0] = '\0'; in display_ffb() 419 (void) sprintf(card.model, "%s", in display_ffb() 426 (void) sprintf(card.model, "%s", in display_ffb() 522 char *model; in display_sbus() local 549 model = (char *)get_prop_val(find_prop(card_node, in display_sbus() 557 card.model[0] = '\0'; in display_sbus() 576 if (model != NULL) in display_sbus() 577 (void) strncpy(card.model, model, MAXSTRLEN); in display_sbus() [all …]
|
H A D | libdevinfo_sun4u.c | 75 char *name, *type, *model, *compatible_array; in walk_di_tree() local 102 model = (char *)get_prop_val(find_prop(pnode, "model")); in walk_di_tree() 103 if (model == NULL) in walk_di_tree() 104 model = ""; in walk_di_tree() 131 if (model != NULL) in walk_di_tree() 132 printf("model=%s\n", model); in walk_di_tree() 143 "portid =%d\n", name, type, model, portid); in walk_di_tree() 151 (strcmp(model, "SUNW,psycho") == 0)) || in walk_di_tree() 154 (strcmp(model, "SUNW,sabre") == 0)) || in walk_di_tree() 165 name, type, model); in walk_di_tree()
|
/illumos-gate/usr/src/uts/sun4u/taco/io/ |
H A D | ppm.conf | 87 domain_cpu-model="CPU"; 105 domain_idefet-model = "FET"; 111 domain_led-model = "LED"; 134 domain_pcislot_0-model = "PCI_PROP"; 145 domain_pcislot_1-model = "PCI_PROP"; 156 domain_pcislot_2-model = "PCI_PROP"; 167 domain_pcislot_3-model = "PCI_PROP"; 178 domain_pcislot_4-model = "PCI_PROP";
|
/illumos-gate/usr/src/uts/common/io/mii/ |
H A D | mii_intel.c | 96 const char *model; in phy_intel_probe() local 104 model = "82553 C-step"; in phy_intel_probe() 108 model = "82555"; in phy_intel_probe() 111 model = "Intel 82562 EH"; in phy_intel_probe() 114 model = "Intel 82562 ET"; in phy_intel_probe() 117 model = "Intel 82562 EM"; in phy_intel_probe() 124 ph->phy_model = model; in phy_intel_probe()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | printer.c | 45 char **model, char **description, char **class, in ieee1284_devid_to_printer_info() argument 71 (model != NULL)) in ieee1284_devid_to_printer_info() 72 *model = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info() 113 char *model, char *description, char *serial_number, in add_printer_info() argument 119 NP(udi), NP(manufacturer), NP(model), NP(description), in add_printer_info() 123 if (model != NULL) in add_printer_info() 125 "info.product", model); in add_printer_info() 129 if (model != NULL) in add_printer_info() 131 "printer.product", model); in add_printer_info()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | model.h | 91 model_t model; \ 99 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \ 107 ((handle).model == DATAMODEL_ILP32 ? \ 118 ((handle).model == DATAMODEL_ILP32 ? \ 123 (((handle).model == DATAMODEL_ILP32) ? \ 128 ((handle).model == DATAMODEL_ILP32 ? \ 133 ((handle).model == DATAMODEL_ILP32 ? \ 138 ((handle).model == DATAMODEL_ILP32 ? \ 159 model_t model; \ 167 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \
|
/illumos-gate/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 195 char *model, *defmodel = NULL; in sun_find_xkbnames() local 220 model = strtok(NULL, " \t\n"); in sun_find_xkbnames() 221 if ((model == NULL) || (*model == COMMENTCHAR)) { in sun_find_xkbnames() 222 model = xkblay = NULL; in sun_find_xkbnames() 239 defmodel = strdup(model); in sun_find_xkbnames() 245 defmodel = strdup(model); in sun_find_xkbnames() 258 model = defmodel; in sun_find_xkbnames() 265 if ((model != NULL) && (strcmp(model, "-") != 0)) { in sun_find_xkbnames() 266 *xkb_model = model; in sun_find_xkbnames()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_hostbridge.c | 87 const char *model = get_config_value_node(nvl, "model"); in pci_hostbridge_init() local 89 if (model != NULL && (vendor != 0 || device != 0)) { in pci_hostbridge_init() 98 if (model == NULL && vendor == 0 && device == 0) in pci_hostbridge_init() 99 model = "netapp"; in pci_hostbridge_init() 101 if (model != NULL) { in pci_hostbridge_init() 103 if (strcmp(model, pci_hb_models[i].phm_model) != 0) in pci_hostbridge_init() 112 warnx("pci_hostbridge: invalid model '%s'", model); in pci_hostbridge_init()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 173 model_t model; in getaudit() local 178 model = get_udatamodel(); in getaudit() 179 STRUCT_INIT(info, model); in getaudit() 192 if (model == DATAMODEL_ILP32) { in getaudit() 222 model_t model; in getaudit_addr() local 227 model = get_udatamodel(); in getaudit_addr() 228 STRUCT_INIT(info, model); in getaudit_addr() 241 if (model == DATAMODEL_ILP32) { in getaudit_addr() 276 model_t model; in setaudit() local 282 model = get_udatamodel(); in setaudit() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 417 char *name, *model, *compat, *regval; in display_dev_node() local 426 model = get_prop_val(find_prop(np, "model")); in display_dev_node() 435 if (!model) in display_dev_node() 436 model = ""; in display_dev_node() 451 log_printf("%-22.22s", model, 0); in display_dev_node() 452 log_printf(strlen(model) > 22 ? "+" : "", 0); in display_dev_node() 459 PCI_BUS(reghi), PCI_DEVICE(reghi), name, model, compat); in display_dev_node() 502 char *model; in display_sbus() local 543 model = (char *)get_prop_val(find_prop(card_node, in display_sbus() 551 card.model[0] = '\0'; in display_sbus() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/ |
H A D | fdd_msg.c | 66 int32_t model; member 101 int32_t family, model; in fma_cap_cpu_info() local 121 nvlist_lookup_int32(nvl, FM_PHYSCPU_INFO_MODEL, &model) != 0) { in fma_cap_cpu_info() 130 ci->model = model; in fma_cap_cpu_info() 149 "model=%d\n", ci.vendor, ci.family, ci.model); in get_cap_conf() 154 ci.model == cl->model) { in get_cap_conf()
|
/illumos-gate/usr/src/uts/sun4u/chicago/io/ |
H A D | ppm.conf | 90 domain_cpu-model="CPU"; 104 domain_diskfet-model = "FET"; 115 domain_led-model = "LED"; 124 domain_pciegfx-model = "PCIE";
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 383 model_t model; in lib_va_add_hash() local 387 model = get_udatamodel(); in lib_va_add_hash() 454 if (model == DATAMODEL_LP64) { in lib_va_add_hash() 457 ASSERT(model == DATAMODEL_ILP32); in lib_va_add_hash() 462 if (model == DATAMODEL_LP64) { in lib_va_add_hash() 465 ASSERT(model == DATAMODEL_ILP32); in lib_va_add_hash() 714 model_t model; in mmapobj_alloc_start_addr() local 726 model = get_udatamodel(); in mmapobj_alloc_start_addr() 728 if (model == DATAMODEL_LP64) { in mmapobj_alloc_start_addr() 732 ASSERT(model == DATAMODEL_ILP32); in mmapobj_alloc_start_addr() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpuid_subr.c | 898 synth_amd_info(uint_t family, uint_t model, uint_t step, in synth_amd_info() argument 911 model >= rmp->rm_modello && model <= rmp->rm_modelhi && in synth_amd_info() 948 *skt_p = amd_skts[rmp->rm_sktidx][model & 0x3]; in synth_amd_info() 956 _cpuid_skt(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_skt() argument 963 synth_amd_info(family, model, step, &skt, NULL, NULL, NULL); in _cpuid_skt() 975 _cpuid_sktstr(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_sktstr() argument 984 synth_amd_info(family, model, step, &skt, NULL, NULL, NULL); in _cpuid_sktstr() 1004 _cpuid_chiprev(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_chiprev() argument 1011 synth_amd_info(family, model, step, NULL, &chiprev, NULL, NULL); in _cpuid_chiprev() 1023 _cpuid_uarchrev(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_uarchrev() argument [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 236 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; in main() local 247 model = optarg; in main() 283 if (model == NULL) in main() 284 model = get_model(ctf); in main() 285 else if (strcmp(model, get_model(ctf)) != 0) in main() 286 die("Model argument %s doesn't match the object file\n", model); in main() 293 if ((ops->po_init != NULL && ops->po_init(model) < 0) || in main()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 67 char model[256]; member 235 uint16_t model = ha->subsys_id; in ql_populate_hba_fru_details() local 375 if (model == 0x13e) { in ql_populate_hba_fru_details() 417 if ((model == models[i].ssid) && in ql_populate_hba_fru_details() 424 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", in ql_populate_hba_fru_details() 425 models[i].model); in ql_populate_hba_fru_details() 430 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details() 439 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", in ql_populate_hba_fru_details() 454 (uint8_t *)attrs->model, FCHBA_MODEL_LEN)) >= 0) { in ql_populate_hba_fru_details() 459 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ufm.c | 256 uint_t model; in ufm_do_reportsz() local 265 model = ddi_model_convert_from(mode); in ufm_do_reportsz() 267 switch (model) { in ufm_do_reportsz() 328 switch (model) { in ufm_do_reportsz() 351 uint_t model; in ufm_do_report() local 362 model = ddi_model_convert_from(mode); in ufm_do_report() 364 switch (model) { in ufm_do_report() 441 switch (model) { in ufm_do_report() 465 uint_t model; in ufm_do_readimg() local 474 model = ddi_model_convert_from(mode); in ufm_do_readimg() [all …]
|
/illumos-gate/usr/src/cmd/lp/ |
H A D | Makefile | 31 SUBDIRS = filter crontab lib cmd model 33 MSGSUBDIRS = filter lib cmd model 38 $(ROOTLIBLP)/model \ 61 SYMDIR5 = $(ROOTVARSP)/lp/model 67 $(SYMDIR5) := SYMLNKDEST = ../../../usr/lib/lp/model
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | instr_size.c | 87 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) in dtrace_dis_isize() argument 93 mode = (model == DATAMODEL_LP64) ? SIZE64 : SIZE32; in dtrace_dis_isize() 113 dtrace_instr_size_isa(uchar_t *instr, model_t model, int *rmindex) in dtrace_instr_size_isa() argument 115 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, model, rmindex)); in dtrace_instr_size_isa()
|
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 37 prnio_printer_info(char *device_file, char **manufacturer, char **model, in prnio_printer_info() argument 59 rc = ieee1284_devid_to_printer_info(buf, manufacturer, model, in prnio_printer_info() 109 *model = NULL, in main() local 137 ret = prnio_printer_info(device_file, &manufacturer, &model, in main() 146 ret = add_printer_info(cs, udi, manufacturer, model, description, in main()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 139 char model[MAXSTRLEN]; in huron_pci_callback() local 248 &model, sizeof (model)); in huron_pci_callback() 250 (void) strcpy(model, ""); in huron_pci_callback() 253 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); in huron_pci_callback() 269 if (strlen(pci_card.model) > 10) in huron_pci_callback() 270 log_printf("%10.9s+", pci_card.model); in huron_pci_callback() 272 log_printf("%10s", pci_card.model); in huron_pci_callback()
|
H A D | pelton.c | 143 char model[MAXSTRLEN]; in pelton_pci_callback() local 246 &model, sizeof (model)); in pelton_pci_callback() 248 (void) strcpy(model, ""); in pelton_pci_callback() 251 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); in pelton_pci_callback() 267 if (strlen(pci_card.model) > 10) in pelton_pci_callback() 268 log_printf("%10.9s+", pci_card.model); in pelton_pci_callback() 270 log_printf("%10s", pci_card.model); in pelton_pci_callback()
|