Searched defs:compat (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c52 char *compat; local
59 if ((di_compatible_names (node, &compat) < 1) ||
60 (strncmp (compat, "firewire", sizeof ("firewire") - 1) != 0)) {
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c445 char *name, *model, *compat, *regval; local
455 compat = get_prop_val(find_prop(np, "compatible"));
470 if (compat)
471 (void) sprintf(buf, "%s-%s", name, compat);
484 if (!compat)
485 compat = "";
486 printf("bus=%d slot=%d name=%s model=%s compat=%s\n",
487 PCI_BUS(reghi), PCI_DEVICE(reghi), name, model, compat);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c243 char *compat; local
251 if (md_get_prop_data(mdp, mnode, "compatible", (uint8_t **)&compat,
255 if (compat[0] == '\0' || compat[len - 1] != '\0')
257 count = get_string_count(compat, len);
259 add_md_prop(pnode, len, "compatible", compat,
263 (void) add_string_list_prop(pnode, "compatible", compat, count);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c269 __inet_pton(int af, char *inp, void *outp, int compat) argument
278 if (!compat)
311 if (ret > 0 && !compat) {
333 if (compat) {
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.h78 uint32_t compat; member in struct:aac_revision
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c463 int len, compat; local
488 compat = strcmp(platname, defname) == 0;
518 if (!compat) {
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c81 dev_next_node_by_compat(Prom_node *root, char *compat) argument
89 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
93 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL)
104 dev_find_node_by_compat(Prom_node *root, char *compat) argument
113 if (compat == NULL)
126 (strcmp(compatible, compat) == 0)) {
131 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
135 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL)
/illumos-gate/usr/src/uts/common/sys/
H A Dpshot.h51 #define PSHOT_PROP_DEVCOMPAT "dev-compat"
132 char *compat; member in struct:pshot_device
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dsas.h85 uint8_t compat[4]; /* 'more' compatible features */ member in struct:__anon8967
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_io.c251 char *compat; local
279 (uint8_t **)&compat, &len)) {
286 curr = compat;
287 while (curr < (compat + len)) {
H A Dvnet_dds.c774 char *compat[] = { "SUNW,niumx" }; local
791 compat, 1) != DDI_SUCCESS) {
873 char *compat[] = { "SUNW,niusl" }; local
916 compat, 1) != DDI_SUCCESS) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_ident.c55 int i, compat, mismatch, arglimit, iskey; local
83 compat = dt_node_is_argcompat(&isp->dis_args[i], args);
85 compat = 1; /* "@" matches any type */
87 if (!compat) {
H A Ddt_parser.c1050 int lp_is_void, rp_is_void, lp_is_int, rp_is_int, compat; local
1133 compat = (lkind == CTF_K_POINTER || lkind == CTF_K_ARRAY) &&
1137 if (compat) {
1144 return (compat);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c127 static Prom_node *dev_next_node_by_compat(Prom_node *root, char *compat);
128 static Prom_node *dev_find_node_by_compat(Prom_node *root, char *compat);
279 dev_next_node_by_compat(Prom_node *root, char *compat) argument
287 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
291 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL)
302 dev_find_node_by_compat(Prom_node *root, char *compat) argument
311 if (compat == NULL)
324 (strcmp(compatible, compat) == 0)) {
329 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
333 if ((node = dev_find_node_by_compat(root->sibling, compat)) !
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c471 Prop *compat = NULL; local
568 compat = find_prop(card_node, "compatible");
571 (compat->size - index))
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c160 dev_next_node_by_compat(Prom_node *root, char *compat) argument
168 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
172 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL)
183 dev_find_node_by_compat(Prom_node *root, char *compat) argument
192 if (compat == NULL)
205 (strcmp(compatible, compat) == 0)) {
210 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
214 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL)
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c781 acpidev_set_compatible(acpidev_walk_info_t *infop, char **compat, int acount) argument
796 ASSERT(compat != NULL || acount == 0);
798 infop->awi_info == NULL || (compat == NULL && acount != 0)) {
826 compatible[i++] = compat[j];
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c476 Prop *compat = NULL; local
572 compat = find_prop(card_node, "compatible");
575 (compat->size - index))
/illumos-gate/usr/src/uts/intel/os/
H A Dfmsmb.c538 int compat = 0; local
562 for (i = 0; i < oemstypes->count && compat == 0; i++) {
573 compat = 1;
583 if ((compat != 0) && (fm_smb_check(shp) == 0))
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c207 char *name, char *compat[]);
3764 char *name, char *compat[])
3789 while (compat[n] != NULL)
3794 "compatible", compat, n)) != DDI_SUCCESS)
3850 char *compat[8]; local
3923 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3924 (void) strcpy(compat[n++], buffer);
3931 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3932 (void) strcpy(compat[n++], buffer);
3940 compat[
3763 cardbus_set_isa_props(dev_info_t *parent, dev_info_t *dip, char *name, char *compat[]) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c3366 char *compat[24]; local
3454 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3455 (void) strcpy(compat[n++], buffer);
3460 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3461 (void) strcpy(compat[n++], buffer);
3468 compat[n] = kmem_alloc(strlen(buffer) + 1,
3470 (void) strcpy(compat[n++], buffer);
3476 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3477 (void) strcpy(compat[n++], buffer);
3481 compat[
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1617 char compat[32]; local
1630 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x.%x",
1632 if (strcmp(pciide_str, compat) == 0)
1635 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x",
1637 if (strcmp(pciide_str, compat) == 0)
1640 (void) snprintf(compat, sizeof (compat), "pci%x,%x",
1642 if (strcmp(pciide_str, compat)
2197 char *compat[13]; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c3609 char *compat[24]; local
3695 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3696 (void) strcpy(compat[n++], buffer);
3712 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3713 (void) strcpy(compat[n++], buffer);
3718 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3719 (void) strcpy(compat[n++], buffer);
3724 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3725 (void) strcpy(compat[n++], buffer);
3730 compat[
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Ddevcfg.c762 * Bind this devinfo node to a driver. If compat is NON-NULL, try that first.
2769 void *compat; local
2812 compat = (void *)(devi->devi_compat_names);
2816 while ((p = prom_decode_composite_string(compat, len, p)) != NULL) {
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c5098 char **compat = NULL; local
5173 compat0, &nname, &dname, &compat, &ncompat);
5186 addr, *compat));
5196 * "compatible", compat, ncompat) != DDI_PROP_SUCCESS) {
5254 "compatible", compat, ncompat) != DDI_PROP_SUCCESS) ||
5299 if (mdi_pi_alloc_compatible(self, nname, guid, addr, compat,
5396 if (compat)
5397 scsi_hba_ident_nodename_compatible_free(nname, dname, compat);
9145 char *compat; local
9200 compat
[all...]

Completed in 215 milliseconds