Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 263) sorted by relevance

1234567891011

/titanic_50/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-snmp.c26 hrDeviceDesc_to_info(char *string, char **manufacturer, char **model, in hrDeviceDesc_to_info() argument
37 rc = ieee1284_devid_to_printer_info(string, manufacturer, model, in hrDeviceDesc_to_info()
45 *model = strdup(s); in hrDeviceDesc_to_info()
115 char **model, char **description, char **serial_no, in snmp_brother_printer_info() argument
129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_brother_printer_info()
143 char **model, char **description, char **serial_no, in snmp_ricoh_printer_info() argument
157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_ricoh_printer_info()
171 char **model, char **description, char **serial_no, in snmp_lexmark_printer_info() argument
185 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model, in snmp_lexmark_printer_info()
199 char **manufacturer, char **model, char **description, in snmp_xerox_phaser_printer_info() argument
[all …]
/titanic_50/usr/src/uts/sun4u/enchilada/io/
H A Dppm.conf96 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 …]
/titanic_50/usr/src/uts/sun4u/taco/io/
H A Dppm.conf87 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";
/titanic_50/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c168 char *model; in walk() local
202 model = (char *)get_prop_val(find_prop(pnode, "model")); in walk()
208 if (model != NULL) in walk()
209 printf("model=%s", model); in walk()
212 if (model == NULL) in walk()
213 model = ""; in walk()
222 name, type, model); in walk()
232 (strcmp(model, "SUNW,psycho") == 0)) || in walk()
235 (strcmp(model, "SUNW,sabre") == 0)) || in walk()
238 (strcmp(model, "SUNW,schizo") == 0)) || in walk()
[all …]
H A Dio.c346 log_printf("%-19.19s", p->model, 0); in display_io_cards()
347 if (strlen(p->model) > 19) in display_io_cards()
412 card.model[0] = '\0'; in display_ffb()
421 (void) sprintf(card.model, "%s", in display_ffb()
428 (void) sprintf(card.model, "%s", in display_ffb()
524 char *model; in display_sbus() local
551 model = (char *)get_prop_val(find_prop(card_node, in display_sbus()
559 card.model[0] = '\0'; in display_sbus()
578 if (model != NULL) in display_sbus()
579 (void) strncpy(card.model, model, MAXSTRLEN); in display_sbus()
[all …]
H A Dlibdevinfo_sun4u.c77 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()
/titanic_50/usr/src/uts/common/io/mii/
H A Dmii_intel.c96 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()
/titanic_50/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_vercheck.c42 char *model; member
169 check_timestamp(char *model, int tstamp) in check_timestamp() argument
174 for (ortp = obp_min_revs; ortp->model != NULL; ortp++) { in check_timestamp()
175 if (prom_strcmp(model, ortp->model) == 0) { in check_timestamp()
205 char vers[512], model[64]; in visit() local
216 (void) prom_getprop(node, OBP_NAME, model); in visit()
217 if (prom_strncmp(model, flashprom, sizeof (flashprom)) != 0) in visit()
231 if (plen <= 0 || plen > sizeof (model)) in visit()
233 (void) prom_getprop(node, model_name, model); in visit()
234 model[plen] = '\0'; in visit()
[all …]
/titanic_50/usr/src/cmd/hal/utils/
H A Dprinter.c47 char **model, char **description, char **class, in ieee1284_devid_to_printer_info() argument
73 (model != NULL)) in ieee1284_devid_to_printer_info()
74 *model = strdup(strip_ws(u)); in ieee1284_devid_to_printer_info()
115 char *model, char *description, char *serial_number, in add_printer_info() argument
121 NP(udi), NP(manufacturer), NP(model), NP(description), in add_printer_info()
125 if (model != NULL) in add_printer_info()
127 "info.product", model); in add_printer_info()
131 if (model != NULL) in add_printer_info()
133 "printer.product", model); in add_printer_info()
/titanic_50/usr/src/uts/i86pc/os/
H A Dcpuid_subr.c356 synth_amd_info(uint_t family, uint_t model, uint_t step, in synth_amd_info() argument
369 model >= rmp->rm_modello && model <= rmp->rm_modelhi && in synth_amd_info()
399 *skt_p = amd_skts[rmp->rm_sktidx][model & 0x3]; in synth_amd_info()
441 _cpuid_skt(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_skt() argument
447 synth_amd_info(family, model, step, &skt, NULL, NULL); in _cpuid_skt()
459 _cpuid_sktstr(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_sktstr() argument
467 synth_amd_info(family, model, step, &skt, NULL, NULL); in _cpuid_sktstr()
487 _cpuid_chiprev(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_chiprev() argument
493 synth_amd_info(family, model, step, NULL, &chiprev, NULL); in _cpuid_chiprev()
505 _cpuid_chiprevstr(uint_t vendor, uint_t family, uint_t model, uint_t step) in _cpuid_chiprevstr() argument
[all …]
H A Dinstr_size.c89 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) in dtrace_dis_isize() argument
95 mode = (model == DATAMODEL_LP64) ? SIZE64 : SIZE32; in dtrace_dis_isize()
115 dtrace_instr_size_isa(uchar_t *instr, model_t model, int *rmindex) in dtrace_instr_size_isa() argument
117 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, model, rmindex)); in dtrace_instr_size_isa()
/titanic_50/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c195 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()
/titanic_50/usr/src/tools/stabs/
H A Dmain.c80 struct model_info *model; variable
133 for (model = models; model->name != NULL; model++) { in main()
134 if (strcmp(model->name, model_name) == 0) in main()
137 if (model->name == NULL) in main()
151 for (model = models; model->name != NULL; model++) in main()
152 fprintf(stderr, "\t\t%s\n", model->name); in main()
350 if (strncmp(cp + c, model->name, strlen(model->name)) in parse_dbg()
351 == 0 && *(cp + c + strlen(model->name)) == '\n') in parse_dbg()
/titanic_50/usr/src/uts/common/sys/
H A Dmodel.h93 model_t model; \
101 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \
109 ((handle).model == DATAMODEL_ILP32 ? \
120 ((handle).model == DATAMODEL_ILP32 ? \
125 (((handle).model == DATAMODEL_ILP32) ? \
130 ((handle).model == DATAMODEL_ILP32 ? \
135 ((handle).model == DATAMODEL_ILP32 ? \
140 ((handle).model == DATAMODEL_ILP32 ? \
/titanic_50/usr/src/uts/sun4u/chicago/io/
H A Dppm.conf90 domain_cpu-model="CPU";
104 domain_diskfet-model = "FET";
115 domain_led-model = "LED";
124 domain_pciegfx-model = "PCIE";
/titanic_50/usr/src/cmd/print/printer-info/
H A Dprinter-info.c41 char *model; member
88 info->model = strdup(u); in get_printer_description()
128 int manufacturer = 0, model = 0, description = 0, command_set = 0, in main() local
135 model++; in main()
144 model++; in main()
175 if (model != 0) in main()
177 NP(info.model)); in main()
/titanic_50/usr/src/uts/common/syscall/
H A Dauditsys.c171 model_t model; in getaudit() local
176 model = get_udatamodel(); in getaudit()
177 STRUCT_INIT(info, model); in getaudit()
190 if (model == DATAMODEL_ILP32) { in getaudit()
220 model_t model; in getaudit_addr() local
225 model = get_udatamodel(); in getaudit_addr()
226 STRUCT_INIT(info, model); in getaudit_addr()
239 if (model == DATAMODEL_ILP32) { in getaudit_addr()
274 model_t model; in setaudit() local
280 model = get_udatamodel(); in setaudit()
[all …]
/titanic_50/usr/src/uts/common/avs/ns/
H A Dmodel.h102 model_t model; \
110 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \
118 ((handle).model == DATAMODEL_ILP32 ? \
129 ((handle).model == DATAMODEL_ILP32 ? \
134 (((handle).model == DATAMODEL_ILP32) ? \
139 ((handle).model == DATAMODEL_ILP32 ? \
144 ((handle).model == DATAMODEL_ILP32 ? \
149 ((handle).model == DATAMODEL_ILP32 ? \
/titanic_50/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c66 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()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c445 char *name, *model, *compat, *regval; in display_dev_node() local
454 model = get_prop_val(find_prop(np, "model")); in display_dev_node()
463 if (!model) in display_dev_node()
464 model = ""; in display_dev_node()
479 log_printf("%-22.22s", model, 0); in display_dev_node()
480 log_printf(strlen(model) > 22 ? "+" : "", 0); in display_dev_node()
487 PCI_BUS(reghi), PCI_DEVICE(reghi), name, model, compat); in display_dev_node()
530 char *model; in display_sbus() local
571 model = (char *)get_prop_val(find_prop(card_node, in display_sbus()
579 card.model[0] = '\0'; in display_sbus()
[all …]
/titanic_50/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c238 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; in main() local
249 model = optarg; in main()
285 if (model == NULL) in main()
286 model = get_model(ctf); in main()
287 else if (strcmp(model, get_model(ctf)) != 0) in main()
288 die("Model argument %s doesn't match the object file\n", model); in main()
295 if ((ops->po_init != NULL && ops->po_init(model) < 0) || in main()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c69 char model[256]; member
237 uint16_t model = ha->subsys_id; in ql_populate_hba_fru_details() local
380 if (model == 0x13e) { in ql_populate_hba_fru_details()
422 if ((model == models[i].ssid) && in ql_populate_hba_fru_details()
429 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", in ql_populate_hba_fru_details()
430 models[i].model); in ql_populate_hba_fru_details()
435 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details()
444 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, "%s", in ql_populate_hba_fru_details()
459 (uint8_t *)attrs->model, FCHBA_MODEL_LEN)) >= 0) { in ql_populate_hba_fru_details()
464 (void) snprintf(attrs->model, FCHBA_MODEL_LEN, in ql_populate_hba_fru_details()
/titanic_50/usr/src/cmd/lp/
H A DMakefile31 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
/titanic_50/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_ioboard.c226 opl_get_model(topo_mod_t *mp, di_node_t opl_devtree, char *model) in opl_get_model() argument
237 (void) strlcpy(model, bufp, MAXNAMELEN); in opl_get_model()
257 char model[MAXNAMELEN]; in opl_iob_enum() local
278 if (opl_get_model(mp, opl_devtree, model) == -1) { in opl_iob_enum()
281 if (strncmp(model, "FF", 2) == 0) in opl_iob_enum()
283 else if (strncmp(model, "DC", 2) == 0) in opl_iob_enum()
285 else if (strcmp(model, "IKKAKU") == 0) in opl_iob_enum()
288 topo_mod_dprintf(mp, "opl_get_model %s found.\n", model); in opl_iob_enum()
/titanic_50/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c39 prnio_printer_info(char *device_file, char **manufacturer, char **model, in prnio_printer_info() argument
61 rc = ieee1284_devid_to_printer_info(buf, manufacturer, model, in prnio_printer_info()
111 *model = NULL, in main() local
139 ret = prnio_printer_info(device_file, &manufacturer, &model, in main()
148 ret = add_printer_info(cs, udi, manufacturer, model, description, in main()

1234567891011