Home
last modified time | relevance | path

Searched refs:compat (Results 1 – 25 of 50) sorted by relevance

12

/titanic_53/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c52 char *compat; in devinfo_ieee1394_add() local
59 if ((di_compatible_names (node, &compat) < 1) || in devinfo_ieee1394_add()
60 (strncmp (compat, "firewire", sizeof ("firewire") - 1) != 0)) { in devinfo_ieee1394_add()
/titanic_53/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c243 char *compat; in add_compatible() local
251 if (md_get_prop_data(mdp, mnode, "compatible", (uint8_t **)&compat, in add_compatible()
255 if (compat[0] == '\0' || compat[len - 1] != '\0') in add_compatible()
257 count = get_string_count(compat, len); in add_compatible()
259 add_md_prop(pnode, len, "compatible", compat, in add_compatible()
263 (void) add_string_list_prop(pnode, "compatible", compat, count); in add_compatible()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c445 char *name, *model, *compat, *regval; in display_dev_node() local
455 compat = get_prop_val(find_prop(np, "compatible")); in display_dev_node()
470 if (compat) in display_dev_node()
471 (void) sprintf(buf, "%s-%s", name, compat); in display_dev_node()
484 if (!compat) in display_dev_node()
485 compat = ""; in display_dev_node()
487 PCI_BUS(reghi), PCI_DEVICE(reghi), name, model, compat); in display_dev_node()
/titanic_53/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) in dev_next_node_by_compat() argument
287 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
291 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
302 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
311 if (compat == NULL) in dev_find_node_by_compat()
324 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
329 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
333 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/titanic_53/usr/src/lib/libbc/sparc/
H A DMakefile194 pics/%.o s5pics/%.o : ../libc/compat/common/%.c
198 pics/%.o : ../libc/compat/4.1/%.c
202 s5pics/%.o : ../libc/compat/sys5/%.c
379 ../libc/compat/sys5/epoch.h \
381 CLOBBERFILES= ../libc/compat/sys5/mkepoch
428 s5pics/times.o : ../libc/compat/sys5/epoch.h ../libc/compat/sys5/times.c
429 $(COMPILE.c) -o $@ ../libc/compat/sys5/times.c
432 ../libc/compat/sys5/epoch.h: ../libc/compat/sys5/mkepoch
433 ../libc/compat/sys5/mkepoch > $@
435 ../libc/compat/sys5/mkepoch: ../libc/compat/sys5/mkepoch.c
[all …]
/titanic_53/usr/src/cmd/arch/
H A Darch.sh46 *) OP=compat;;
62 compat) [ $1 = $MAJOR ] ; exit ;;
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c81 dev_next_node_by_compat(Prom_node *root, char *compat) in dev_next_node_by_compat() argument
89 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
93 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
104 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
113 if (compat == NULL) in dev_find_node_by_compat()
126 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
131 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
135 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/titanic_53/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c269 __inet_pton(int af, char *inp, void *outp, int compat) in __inet_pton() argument
278 if (!compat) in __inet_pton()
311 if (ret > 0 && !compat) { in __inet_pton()
333 if (compat) { in __inet_pton()
/titanic_53/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c160 dev_next_node_by_compat(Prom_node *root, char *compat) in dev_next_node_by_compat() argument
168 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
172 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
183 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
192 if (compat == NULL) in dev_find_node_by_compat()
205 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
210 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
214 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/titanic_53/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1625 char compat[32]; in check_pciide_prop() local
1638 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x.%x", in check_pciide_prop()
1640 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
1643 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x", in check_pciide_prop()
1645 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
1648 (void) snprintf(compat, sizeof (compat), "pci%x,%x", in check_pciide_prop()
1650 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
1653 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x", in check_pciide_prop()
1655 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
1658 (void) snprintf(compat, sizeof (compat), "pci%x,%x", venid, devid); in check_pciide_prop()
[all …]
/titanic_53/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo.h173 Prom_node *dev_find_node_by_compatible(Prom_node *root, char *compat);
174 Prom_node *dev_next_node_by_compatible(Prom_node *root, char *compat);
/titanic_53/usr/src/lib/sun_fc/
H A DMakefile.com135 CCFLAGS += -compat=5
137 CCFLAGS64 += -compat=5
/titanic_53/usr/src/lib/nsswitch/
H A DMakefile30 SUBDIRS= files nis compat dns ldap user mdns ad
/titanic_53/usr/src/uts/sun4/os/
H A Dmlsetup.c461 int len, compat; local
486 compat = strcmp(platname, defname) == 0;
516 if (!compat) {
/titanic_53/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A DMakefile32 COMMONOBJS= compat.o
/titanic_53/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A DMakefile29 COMMONOBJS= compat.o
/titanic_53/usr/src/uts/sun4v/io/
H A Ddr_io.c251 char *compat; in new_dev_node() local
279 (uint8_t **)&compat, &len)) { in new_dev_node()
286 curr = compat; in new_dev_node()
287 while (curr < (compat + len)) { in new_dev_node()
/titanic_53/usr/src/uts/common/sys/scsi/generic/
H A Dsas.h85 uint8_t compat[4]; /* 'more' compatible features */ member
/titanic_53/usr/src/uts/common/io/aac/
H A Daac_ioctl.h78 uint32_t compat; member
/titanic_53/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c207 char *name, char *compat[]);
3764 char *name, char *compat[]) argument
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[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
[all …]
/titanic_53/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c781 acpidev_set_compatible(acpidev_walk_info_t *infop, char **compat, int acount) in acpidev_set_compatible() argument
796 ASSERT(compat != NULL || acount == 0); in acpidev_set_compatible()
798 infop->awi_info == NULL || (compat == NULL && acount != 0)) { in acpidev_set_compatible()
826 compatible[i++] = compat[j]; in acpidev_set_compatible()
/titanic_53/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c3366 char *compat[24]; in pcicfg_set_childnode_props() local
3454 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3455 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3460 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3461 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3468 compat[n] = kmem_alloc(strlen(buffer) + 1, in pcicfg_set_childnode_props()
3470 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3476 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3477 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3481 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
[all …]
/titanic_53/usr/src/lib/nsswitch/compat/common/
H A Dmapfile-vers23 # Generic interface definition for usr/src/lib/nsswitch/compat.
/titanic_53/usr/src/uts/sun4/io/
H A Dpcicfg.c3609 char *compat[24]; in pcicfg_set_childnode_props() local
3695 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3696 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3712 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3713 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3718 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3719 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3724 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
3725 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3730 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP); in pcicfg_set_childnode_props()
[all …]
/titanic_53/usr/src/uts/intel/os/
H A Dfmsmb.c538 int compat = 0; in fm_smb_fmacompat() local
562 for (i = 0; i < oemstypes->count && compat == 0; i++) { in fm_smb_fmacompat()
573 compat = 1; in fm_smb_fmacompat()
583 if ((compat != 0) && (fm_smb_check(shp) == 0)) in fm_smb_fmacompat()

12