Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_device.c177 char **compat; in acpidev_device_filter_usb() local
199 "compatible", &compat, &ncompat) != DDI_SUCCESS) { in acpidev_device_filter_usb()
204 if (strcmp(compat[i], "pciclass,0c03") == 0 || in acpidev_device_filter_usb()
205 strcmp(compat[i], "pciexclass,0c03") == 0) { in acpidev_device_filter_usb()
206 ddi_prop_free(compat); in acpidev_device_filter_usb()
215 ddi_prop_free(compat); in acpidev_device_filter_usb()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c241 char *compat; in add_compatible() local
249 if (md_get_prop_data(mdp, mnode, "compatible", (uint8_t **)&compat, in add_compatible()
253 if (compat[0] == '\0' || compat[len - 1] != '\0') in add_compatible()
255 count = get_string_count(compat, len); in add_compatible()
257 add_md_prop(pnode, len, "compatible", compat, in add_compatible()
261 (void) add_string_list_prop(pnode, "compatible", compat, count); in add_compatible()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c50 char *compat; in devinfo_ieee1394_add() local
57 if ((di_compatible_names (node, &compat) < 1) || in devinfo_ieee1394_add()
58 (strncmp (compat, "firewire", sizeof ("firewire") - 1) != 0)) { in devinfo_ieee1394_add()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c178 __inet_ntop(int af, const void *addr, char *buf, int addrlen, int compat) in __inet_ntop() argument
197 (compat) ? "%03d.%03d.%03d.%03d" : "%d.%d.%d.%d", in __inet_ntop()
267 __inet_pton(int af, char *inp, void *outp, int compat) in __inet_pton() argument
276 if (!compat) in __inet_pton()
309 if (ret > 0 && !compat) { in __inet_pton()
331 if (compat) { in __inet_pton()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c417 char *name, *model, *compat, *regval; in display_dev_node() local
427 compat = get_prop_val(find_prop(np, "compatible")); in display_dev_node()
442 if (compat) in display_dev_node()
443 (void) sprintf(buf, "%s-%s", name, compat); in display_dev_node()
456 if (!compat) in display_dev_node()
457 compat = ""; in display_dev_node()
459 PCI_BUS(reghi), PCI_DEVICE(reghi), name, model, compat); in display_dev_node()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c125 static Prom_node *dev_next_node_by_compat(Prom_node *root, char *compat);
126 static Prom_node *dev_find_node_by_compat(Prom_node *root, char *compat);
277 dev_next_node_by_compat(Prom_node *root, char *compat) in dev_next_node_by_compat() argument
285 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
289 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
300 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
309 if (compat == NULL) in dev_find_node_by_compat()
322 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
327 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
331 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/illumos-gate/usr/src/cmd/arch/
H A Darch.sh46 *) OP=compat;;
62 compat) [ $1 = $MAJOR ] ; exit ;;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c79 dev_next_node_by_compat(Prom_node *root, char *compat) in dev_next_node_by_compat() argument
87 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
91 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
102 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
111 if (compat == NULL) in dev_find_node_by_compat()
124 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
129 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
133 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c158 dev_next_node_by_compat(Prom_node *root, char *compat) in dev_next_node_by_compat() argument
166 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_next_node_by_compat()
170 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_next_node_by_compat()
181 dev_find_node_by_compat(Prom_node *root, char *compat) in dev_find_node_by_compat() argument
190 if (compat == NULL) in dev_find_node_by_compat()
203 (strcmp(compatible, compat) == 0)) { in dev_find_node_by_compat()
208 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL) in dev_find_node_by_compat()
212 if ((node = dev_find_node_by_compat(root->sibling, compat)) != NULL) in dev_find_node_by_compat()
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm.c150 char *compat; in pcieadm_di_node_is_pci() local
159 &compat); in pcieadm_di_node_is_pci()
165 if (strncmp("pciclass,", compat, strlen("pciclass,")) == 0 || in pcieadm_di_node_is_pci()
166 strncmp("pciexclass,", compat, strlen("pciexclass,")) == in pcieadm_di_node_is_pci()
171 compat += strlen(compat) + 1; in pcieadm_di_node_is_pci()
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo.h171 Prom_node *dev_find_node_by_compatible(Prom_node *root, char *compat);
172 Prom_node *dev_next_node_by_compatible(Prom_node *root, char *compat);
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpci_props.c849 pci_prd_compat_flags_t compat, boolean_t force_pci) in pci_prop_alias_pass() argument
869 (compat & PCI_PRD_COMPAT_SUBSYS) == 0) { in pci_prop_alias_pass()
946 pci_prd_compat_flags_t compat = pci_prd_compat_flags(); in pci_prop_set_compatible() local
947 boolean_t two_sets = (compat & PCI_PRD_COMPAT_PCI_NODE_NAME) != 0; in pci_prop_set_compatible()
949 pci_prop_alias_pass(prop, alias, &nalias, compat, B_FALSE); in pci_prop_set_compatible()
951 pci_prop_alias_pass(prop, alias, &nalias, compat, B_TRUE); in pci_prop_set_compatible()
/illumos-gate/usr/src/lib/nsswitch/
H A DMakefile30 SUBDIRS= files nis compat dns ldap user mdns ad
/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/cmd/cmd-inet/usr.bin/netstat/
H A DMakefile33 COMMONOBJS= compat.o
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/
H A DMakefile.com29 OBJECTS= openssl_spi.o compat.o
/illumos-gate/usr/src/compat/bhyve/
H A DREADME8 only the bare minimum in the 'compat' headers while making updates for the
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c2002 char compat[32]; in check_pciide_prop() local
2015 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x.%x", in check_pciide_prop()
2017 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
2020 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x.%x", in check_pciide_prop()
2022 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
2025 (void) snprintf(compat, sizeof (compat), "pci%x,%x", in check_pciide_prop()
2027 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
2030 (void) snprintf(compat, sizeof (compat), "pci%x,%x.%x", in check_pciide_prop()
2032 if (strcmp(pciide_str, compat) == 0) in check_pciide_prop()
2035 (void) snprintf(compat, sizeof (compat), "pci%x,%x", venid, devid); in check_pciide_prop()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A DMakefile29 COMMONOBJS= compat.o
/illumos-gate/usr/src/contrib/bhyve/
H A DREADME7 candidate to exist as a shim in usr/src/compat/bhyve. Conversely, if only a
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c3603 char *compat[24]; in pcicfg_set_childnode_props() local
3690 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3707 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3713 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3719 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3723 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3729 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3734 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3746 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
3751 (void) strcpy(compat[n++], buffer); in pcicfg_set_childnode_props()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c209 char *name, char *compat[]);
3753 char *name, char *compat[]) argument
3778 while (compat[n] != NULL)
3783 "compatible", compat, n)) != DDI_SUCCESS)
3839 char *compat[8]; local
3912 compat[n] = kmem_alloc(strlen(buffer) + 1, KM_SLEEP);
3913 (void) strcpy(compat[n++], buffer);
3921 (void) strcpy(compat[n++], buffer);
3930 (void) strcpy(compat[n++], buffer);
3943 (void) strcpy(compat[n++], buffer);
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dsas.h85 uint8_t compat[4]; /* 'more' compatible features */ member
/illumos-gate/usr/src/uts/
H A Dreq.flg60 find_files "s.*" usr/src/compat/bhyve

123