/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_device.c | 179 char *compatible[] = { local 186 ACPIDEV_ARRAY_PARAM(compatible)))) {
|
H A D | acpidev_memory.c | 176 char *compatible[] = { local 191 ACPIDEV_ARRAY_PARAM(compatible)))) {
|
H A D | acpidev_scope.c | 175 char *compatible[] = { local 186 ACPIDEV_ARRAY_PARAM(compatible)))) {
|
H A D | acpidev_container.c | 284 static char *compatible[] = { local 295 ACPIDEV_ARRAY_PARAM(compatible)))) {
|
H A D | acpidev_cpu.c | 627 static char *compatible[] = { local 664 /* Set "compatible" property for CPU dip */ 665 count = sizeof (compatible) / sizeof (compatible[0]); 667 compatpp = compatible; 673 compatpp = &compatible[1];
|
H A D | acpidev_util.c | 784 char **compatible = NULL; local 788 * Generate compatible list for device based on: 813 compatible = kmem_zalloc(sizeof (char *) * count, KM_SLEEP); 818 compatible[i++] = di->HardwareId.String; 822 compatible[i++] = di->CompatibleIdList.Ids[j].String; 826 compatible[i++] = compat[j]; 830 /* Set "compatible" property. */ 832 OBP_COMPATIBLE, compatible, count) != NDI_SUCCESS) { 833 cmn_err(CE_WARN, "!acpidev: failed to set compatible " 836 kmem_free(compatible, coun [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4v.c | 154 char *compatible; local 183 compatible = (char *)get_prop_val(find_prop(pnode, "compatible")); 192 if (compatible == NULL) 193 compatible = ""; 201 printf("ADDED BOARD name=%s type=%s compatible=%s\n", 202 name, type, compatible); 208 printf("ADDED BOARD name=%s type=%s compatible=%s\n", 209 name, type, compatible);
|
H A D | pdevinfo_funcs.c | 754 * return the first node with the matching compatible. 757 dev_find_node_by_compatible(Prom_node *root, char *compatible) argument 764 if (root == NULL || compatible == NULL) 767 if ((prop = find_prop(root, "compatible")) != NULL && 772 * compatible property is. Since it is an array of strings 777 * is examine the first string in the compatible property. 781 if (strcmp(compatible_array, compatible) == 0) 789 node = dev_find_node_by_compatible(root->child, compatible); 804 return (dev_find_node_by_compatible(root->sibling, compatible)); 809 * the current one which has the requested compatible propert 812 dev_next_node_by_compatible(Prom_node *root, char *compatible) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 142 char *compatible; local 226 * if compatible prop is found, name will be 227 * <nodename>-<compatible> 230 &compatible); 233 (void) strlcat(name, compatible, MAXSTRLEN); 234 free(compatible); 299 char *compatible; local 360 err = huron_get_first_compatible_value(pcih, &compatible); 371 log_printf("%31s", compatible); 372 free(compatible); [all...] |
H A D | pelton.c | 146 char *compatible; local 224 * if compatible prop is found, name will be 225 * <nodename>-<compatible> 228 &compatible); 231 (void) strlcat(name, compatible, MAXSTRLEN); 232 free(compatible); 297 char *compatible; local 370 err = pelton_get_first_compatible_value(pcih, &compatible); 381 log_printf("%31s", compatible); 382 free(compatible); [all...] |
H A D | erie.c | 175 char *compatible; local 221 /* Get first compatible value from picl compatible list */ 222 err = erie_get_first_compatible_value(pcih, &compatible); 234 log_printf("%31s", compatible); 235 free(compatible); 254 * This function returns the first picl compatible value 446 char *compatible; local 469 * if compatible prop is not found, name will be 470 * <nodename>-<compatible> [all...] |
H A D | ontario.c | 160 char *compatible; local 241 * if compatible prop is found, name will be 242 * <nodename>-<compatible> 245 &compatible); 248 (void) strlcat(name, compatible, MAXSTRLEN); 249 free(compatible); 412 char *compatible; local 483 err = ontario_get_first_compatible_value(pcih, &compatible); 494 log_printf("%31s", compatible); 495 free(compatible); [all...] |
H A D | stpaul.c | 79 char *compatible; local 188 * if compatible prop is found, name will be 189 * <nodename>-<compatible> 192 &compatible); 195 (void) strlcat(name, compatible, MAXSTRLEN); 196 free(compatible); 254 char *compatible; local 345 err = stpaul_get_first_compatible_value(pcih, &compatible); 356 log_printf("%31s", compatible); 357 free(compatible); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 128 char *compatible; local 211 * if compatible prop is found, name will be 212 * <nodename>-<compatible> 215 &compatible); 218 (void) strlcat(name, compatible, MAXSTRLEN); 219 free(compatible); 347 char *compatible; local 411 err = montoya_get_first_compatible_value(pcih, &compatible); 423 log_printf("%31s", compatible); 424 free(compatible); [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 155 char *compatible; local 248 * if compatible prop is found, name will be 249 * <nodename>-<compatible> 252 &compatible); 255 (void) strlcat(name, compatible, MAXSTRLEN); 256 free(compatible); 384 char *compatible; local 458 err = monza_get_first_compatible_value(pcih, &compatible); 470 log_printf("%31s", compatible); 471 free(compatible); [all...] |
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/ |
H A D | fpc-impl-4u.c | 136 char *compatible = NULL; local 141 "compatible", &compatible) != DDI_PROP_SUCCESS) 144 if (strcmp(compatible, CHIP_COMPATIBLE_NAME) != 0) { 145 ddi_prop_free(compatible); 148 ddi_prop_free(compatible);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 305 char **compatible = NULL; local 315 * Generate compatible property 318 inq->inq_dtype, NULL, &nodename, &compatible, &ncompatible); 322 cmn_err(CE_WARN, "iscsi driver found no compatible driver " 333 ilp->lun_guid, ilp->lun_addr, compatible, ncompatible, 366 if (mdi_prop_update_string_array(pip, "compatible", 367 compatible, ncompatible) != 398 scsi_hba_nodename_compatible_free(nodename, compatible); 416 char **compatible = NULL; local 435 /* generate compatible propert [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 107 char *compatible; local 120 compatible = (char *)get_prop_val(find_prop(root, "compatible")); 122 if (compatible == NULL) 125 if ((strcmp(name, "pci") == 0) && (compatible != NULL) && 126 (strcmp(compatible, compat) == 0)) { 701 "compatible")); 703 /* use 'name'-'compatible' */
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwo_cpu.c | 629 * compatible 655 char *compatible; local 672 compatible = "SUNW,UltraSPARC-IV"; 704 compatible = "SUNW,UltraSPARC-IV+"; 742 "compatible", compatible) != DDI_SUCCESS) { 744 "to create compatible property\n"); 920 "compatible", "SUNW,UltraSPARC-III,mc") != DDI_SUCCESS) { 922 "to create compatible property\n");
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | workfile.c | 305 char *compatible; local 318 compatible = (char *)get_prop_val(find_prop(root, "compatible")); 320 if (compatible == NULL) 323 if ((strcmp(name, "pci") == 0) && (compatible != NULL) && 324 (strcmp(compatible, compat) == 0)) { 791 "compatible")); 793 /* use 'name'-'compatible' */
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | workfile.c | 186 char *compatible; local 199 compatible = (char *)get_prop_val(find_prop(root, "compatible")); 201 if (compatible == NULL) 204 if ((strcmp(name, "pci") == 0) && (compatible != NULL) && 205 (strcmp(compatible, compat) == 0)) { 809 "compatible")); 811 /* use 'name'-'compatible' */
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 99 char *compatible; local 249 * if compatible prop is found, name will be 250 * <nodename>-<compatible> 253 &compatible); 256 (void) strlcat(name, compatible, MAXSTRLEN); 257 free(compatible); 260 /* No binding-name or compatible */ 412 * return the first compatible value
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 242 boolean_t compatible; local 260 compatible = B_FALSE; 272 * its a good bet that it will be compatible 279 compatible = B_TRUE; 287 compatible = B_TRUE; 304 getminor(dev), (compatible) ? "compatible" : "incompatible"); 306 return (compatible);
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 492 (void) GETPROP(node, (cmpnode ? "compatible" : "name"), namebuf); 495 proplen = GETPROPLEN(node, (cmpnode ? "compatible" : "name")); 719 DDI_PROP_DONTPASS, (cmpnode ? "compatible" : "name"), 1084 char compatible[OBP_MAXDRVNAME]; local 1101 * Need two physical TSBs for Schizo compatible nodes, 1104 compatible[0] = '\0'; 1105 (void) prom_getprop(node, OBP_COMPATIBLE, compatible); 1106 if (strcmp(compatible, "pci108e,8001") == 0) 1255 * In all cases, the first entries are compatible.
|
/illumos-gate/usr/src/uts/sun4u/daktari/os/ |
H A D | daktari.c | 177 char *compatible = NULL; /* Search tree for "i2c-ssc050" */ local 183 "compatible", &compatible) != DDI_PROP_SUCCESS) 186 if (strcmp(compatible, "i2c-ssc050") == 0) { 187 ddi_prop_free(compatible); 207 ddi_prop_free(compatible);
|