Searched refs:model (Results 1 - 25 of 65) sorted by relevance

123

/osnet-11/usr/src/cmd/hal/utils/
H A Dprinter.h14 char **manufacturer, char **model, char **description,
18 char *model, char *serial_number, char *description,
H A Dprinter.c45 char **model, char **description, char **class,
71 (model != NULL))
72 *model = strdup(strip_ws(u));
113 char *model, char *description, char *serial_number,
119 NP(udi), NP(manufacturer), NP(model), NP(description),
123 if (model != NULL)
125 "info.product", model);
129 if (model != NULL)
131 "printer.product", model);
44 ieee1284_devid_to_printer_info(char *devid_string, char **manufacturer, char **model, char **description, char **class, char **serial_no, char ***command_set) argument
112 add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer, char *model, char *description, char *serial_number, char **command_set, char *device) argument
/osnet-11/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-snmp.c26 hrDeviceDesc_to_info(char *string, char **manufacturer, char **model, argument
37 rc = ieee1284_devid_to_printer_info(string, manufacturer, model,
45 *model = strdup(s);
115 char **model, char **description, char **serial_no,
129 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
143 char **model, char **description, char **serial_no,
157 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
171 char **model, char **description, char **serial_no,
185 rc = ieee1284_devid_to_printer_info(tmp, manufacturer, model,
199 char **manufacturer, char **model, cha
114 snmp_brother_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
142 snmp_ricoh_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
170 snmp_lexmark_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
198 snmp_xerox_phaser_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument
260 snmp_qms_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument
297 snmp_oki_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
325 snmp_hp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
353 snmp_ppm_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
376 snmp_prt_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
407 snmp_host_resource_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set) argument
426 snmp_printer_info(char *hostname, char *community, char **manufacturer, char **model, char **description, char **serial_no, char ***command_set, char **uri) argument
482 char *hostname = av[i], *manufacturer = NULL, *model = NULL, local
[all...]
H A Dprobe-network-printer.c46 *model = NULL, local
52 char **manufacturer, char **model, char **description,
83 &model, &description, &serial_number, &command_set,
92 ret = add_printer_info(cs, udi, manufacturer, model, description,
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c168 char *model; local
198 * model property values. They should not be put under 'board'.
202 model = (char *)get_prop_val(find_prop(pnode, "model"));
208 if (model != NULL)
209 printf("model=%s", model);
212 if (model == NULL)
213 model = "";
221 printf("ADDED BOARD name=%s type=%s model
[all...]
H A Dio.c346 log_printf("%-19.19s", p->model, 0);
347 if (strlen(p->model) > 19)
409 * Print model number only if board_type bit 2
412 card.model[0] = '\0';
417 "model"));
421 (void) sprintf(card.model, "%s",
426 value = get_prop_val(find_prop(fb, "model"));
428 (void) sprintf(card.model, "%s",
524 char *model; local
551 model
715 get_pci_card_model(Prom_node *card_node, char *model) argument
[all...]
H A Dlibdevinfo_sun4u.c77 char *name, *type, *model, *compatible_array; local
102 model = (char *)get_prop_val(find_prop(pnode, "model"));
103 if (model == NULL)
104 model = "";
131 if (model != NULL)
132 printf("model=%s\n", model);
142 D_PRINTF("ADDED BOARD name=%s type=%s model=%s "
143 "portid =%d\n", name, type, model, porti
[all...]
/osnet-11/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c195 char *model, *defmodel = NULL; local
220 model = strtok(NULL, " \t\n");
221 if ((model == NULL) || (*model == COMMENTCHAR)) {
222 model = xkblay = NULL;
239 defmodel = strdup(model);
245 defmodel = strdup(model);
258 model = defmodel;
265 if ((model != NULL) && (strcmp(model, "
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_item.cc64 item::item(item *model) argument
66 len = model->len;
71 (void) memcpy(value, model->value, len);
/osnet-11/usr/src/lib/libprtdiag/inc/
H A Ddisplay_sun4u.h62 char model[MAXSTRLEN]; /* Card model */ member in struct:io_card
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/
H A Dopl_ioboard.c58 /* OPL model type */
160 * Only IKKAKU model has different IO topology.
222 * get the OPL model name from rootnode property "model"
225 opl_get_model(topo_mod_t *mp, di_node_t opl_devtree, char *model) argument
234 if (di_prom_prop_lookup_bytes(promh, opl_devtree, "model",
236 (void) strlcpy(model, bufp, MAXNAMELEN);
256 char model[MAXNAMELEN]; local
277 if (opl_get_model(mp, opl_devtree, model) == -1) {
280 if (strncmp(model, "F
[all...]
/osnet-11/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c39 prnio_printer_info(char *device_file, char **manufacturer, char **model, argument
61 rc = ieee1284_devid_to_printer_info(buf, manufacturer, model,
111 *model = NULL, local
139 ret = prnio_printer_info(device_file, &manufacturer, &model,
148 ret = add_printer_info(cs, udi, manufacturer, model, description,
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c75 char model[MAXSTRLEN]; local
116 if ((err = erie_get_model(nodeh, model, sizeof (model)))
147 if (strlen(model) > 10)
148 log_printf("%10.9s+", model);
150 log_printf("%11s", model);
512 * This function copies the node's model into model string
516 erie_get_model(picl_nodehdl_t nodeh, char model[], int size) argument
521 /* Get the model o
[all...]
H A Dhuron.c141 char model[MAXSTRLEN]; local
247 /* Get the model of this card */
250 &model, sizeof (model));
252 (void) strcpy(model, "");
255 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
271 if (strlen(pci_card.model) > 10)
272 log_printf("%10.9s+", pci_card.model);
[all...]
H A Dpelton.c145 char model[MAXSTRLEN]; local
245 /* Get the model of this card */
248 &model, sizeof (model));
250 (void) strcpy(model, "");
253 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
269 if (strlen(pci_card.model) > 10)
270 log_printf("%10.9s+", pci_card.model);
[all...]
H A Dstpaul.c78 char model[MAXSTRLEN]; local
208 /* Get the model of this card */
211 &model, sizeof (model));
213 (void) strlcpy(model, "", sizeof (model));
216 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
232 if (strlen(pci_card.model) > 1
[all...]
H A Derie.h83 #define OBP_PROP_MODEL "model"
108 int erie_get_model(picl_nodehdl_t nodeh, char model[], int size);
H A Dhuron.h90 #define OBP_PROP_MODEL "model"
112 int huron_get_model(picl_nodehdl_t nodeh, char model[], int size);
H A Dontario.c159 char model[MAXSTRLEN]; local
262 /* Get the model of this card */
265 &model, sizeof (model));
267 (void) strcpy(model, "");
270 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
286 if (strlen(pci_card.model) > 10)
287 log_printf("%10.9s+", pci_card.model);
[all...]
/osnet-11/usr/src/lib/libproc/common/
H A Dpr_meminfo.c53 int model; local
97 model = Pr->status.pr_dmodel;
98 if (model == PR_MODEL_ILP32) {
143 if (model == PR_MODEL_ILP32) {
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c31 char **manufacturer, char **model, char **description,
175 char *manufacturer = NULL, *model = NULL, *description = NULL, local
193 snmp_printer_info(hostaddr, community, &manufacturer, &model,
226 if (model != NULL)
228 "printer.product", model, &error);
239 NP(manufacturer), NP(model), NP(description), NP(serial),
246 if (model != NULL)
247 free(model);
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c127 char model[MAXSTRLEN]; local
232 /* Get the model of this card */
235 &model, sizeof (model));
237 (void) strcpy(model, "");
240 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
256 if (strlen(pci_card.model) > 10)
257 log_printf("%10.9s+", pci_card.model);
[all...]
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c154 char model[MAXSTRLEN]; local
269 /* Get the model of this card */
272 &model, sizeof (model));
274 (void) strcpy(model, "");
277 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model));
293 if (strlen(pci_card.model) > 10)
294 log_printf("%10.9s+", pci_card.model);
[all...]
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c45 #define PK11_MODEL "model"
241 if (uri->model != NULL)
246 if ((uri->model = (unsigned char *)strdup(l2)) == NULL)
348 if (uri->model != NULL)
349 free(uri->model);
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_util.c101 char model[MAXNAMELEN]; local
103 rv = get_str_prop(dnode, DI_PATH_NIL, "model", model);
105 if (cmp_str(model, MODEL_SAS) ||
106 cmp_str(model, MODEL_SCSI)) {
118 rv = get_str_prop(parent_node, DI_PATH_NIL, "model",
119 model);
124 "ddi-vhci-class", model);

Completed in 51 milliseconds

123