Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/io/
H A Dconsplat.c263 char *dev_type; in find_fb_dev() local
271 "device_type", &dev_type) != DDI_SUCCESS) in find_fb_dev()
274 if ((strcmp(dev_type, "isa") == 0) || (strcmp(dev_type, "eisa") == 0)) { in find_fb_dev()
275 ddi_prop_free(dev_type); in find_fb_dev()
279 if ((strcmp(dev_type, "pci") == 0) || in find_fb_dev()
280 (strcmp(dev_type, "pciex") == 0)) { in find_fb_dev()
285 ddi_prop_free(dev_type); in find_fb_dev()
317 if (strcmp(dev_type, "display") != 0) { in find_fb_dev()
318 ddi_prop_free(dev_type); in find_fb_dev()
322 ddi_prop_free(dev_type); in find_fb_dev()
H A Dmp_platform_misc.c778 char dev_type[16]; in apic_introp_xlate() local
795 dev_len = sizeof (dev_type); in apic_introp_xlate()
797 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apic_introp_xlate()
799 if ((strcmp(dev_type, "pci") == 0) || in apic_introp_xlate()
800 (strcmp(dev_type, "pciex") == 0)) in apic_introp_xlate()
805 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apic_introp_xlate()
807 if (strstr(dev_type, "pciex")) in apic_introp_xlate()
877 } else if (strcmp(dev_type, "isa") == 0) in apic_introp_xlate()
879 else if (strcmp(dev_type, "eisa") == 0) in apic_introp_xlate()
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe_misc.c177 char *dev_type; in npe_child_is_pci() local
181 DDI_PROP_DONTPASS, "device_type", &dev_type) == in npe_child_is_pci()
183 parent_is_pci = (strcmp(dev_type, "pci") == 0); in npe_child_is_pci()
184 ddi_prop_free(dev_type); in npe_child_is_pci()
190 "device_type", &dev_type) == DDI_PROP_SUCCESS) { in npe_child_is_pci()
191 child_is_pciex = (strcmp(dev_type, "pciex") == 0); in npe_child_is_pci()
192 ddi_prop_free(dev_type); in npe_child_is_pci()
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_intr.c62 char dev_type[16]; in apic_check_msi_support() local
78 dev_len = sizeof (dev_type); in apic_check_msi_support()
80 "device_type", (caddr_t)dev_type, &dev_len) in apic_check_msi_support()
83 if (strcmp(dev_type, "pciex") == 0) in apic_check_msi_support()
H A Dxpv_uppc.c668 char dev_type[16]; in xen_uppc_translate_irq() local
684 dev_len = sizeof (dev_type); in xen_uppc_translate_irq()
686 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in xen_uppc_translate_irq()
694 if ((strcmp(dev_type, "pci") == 0) || in xen_uppc_translate_irq()
695 (strcmp(dev_type, "pciex") == 0)) { in xen_uppc_translate_irq()
H A Dmp_platform_xpv.c728 char dev_type[16]; in apic_introp_xlate() local
745 dev_len = sizeof (dev_type); in apic_introp_xlate()
747 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apic_introp_xlate()
749 if ((strcmp(dev_type, "pci") == 0) || in apic_introp_xlate()
750 (strcmp(dev_type, "pciex") == 0)) in apic_introp_xlate()
755 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apic_introp_xlate()
757 if (strstr(dev_type, "pciex")) in apic_introp_xlate()
827 } else if (strcmp(dev_type, "isa") == 0) in apic_introp_xlate()
829 else if (strcmp(dev_type, "eisa") == 0) in apic_introp_xlate()
/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c204 uint8_t dev_type = bus_p->bus_dev_type; in pcieb_attach_plx_workarounds() local
251 if ((dev_type == PCIE_PCIECAP_DEV_TYPE_DOWN) || in pcieb_attach_plx_workarounds()
252 (dev_type == PCIE_PCIECAP_DEV_TYPE_ROOT) || in pcieb_attach_plx_workarounds()
253 (dev_type == PCIE_PCIECAP_DEV_TYPE_PCIE2PCI) || in pcieb_attach_plx_workarounds()
254 (dev_type == PCIE_PCIECAP_DEV_TYPE_PCI2PCIE)) { in pcieb_attach_plx_workarounds()
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c296 char *dev_type; in insert() local
303 dev_type = devattr(device, "type"); in insert()
389 if (removecmd && *removecmd && dev_type && *dev_type) { in insert()
390 if (strcmp(dev_type, "diskette") == 0) { in insert()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmap.c954 int dev_type; in g_get_host_params() local
966 dev_type = g_get_path_type(host_path); in g_get_host_params()
967 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_host_params()
1132 int dev_type; in g_get_dev_list() local
1171 dev_type = g_get_path_type(fcapath); in g_get_dev_list()
1172 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_dev_list()
1344 int dev_type, fd; in g_get_inq_dtype() local
1352 dev_type = g_get_path_type(fcapath); in g_get_inq_dtype()
1353 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_inq_dtype()
1432 int dev_type, fd; in get_fca_inq_dtype() local
[all …]
H A Dhot.c224 uint_t dev_type; in g_force_lip() local
273 if ((dev_type = g_get_path_type(fp_path)) == 0) { in g_force_lip()
277 if (dev_type & FC_FCA_MASK) { in g_force_lip()
289 if (!(dev_type & FC_XPORT_MASK)) { in g_force_lip()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c358 char dev_type[OBP_MAXPROPNAME]; in get_portid() local
368 if (GETPROP(node, "device_type", (caddr_t)&dev_type) == -1) in get_portid()
378 if (strcmp(dev_type, "cpu") == 0) { in get_portid()
617 char dev_type[OBP_MAXPROPNAME]; in get_portid_ddi() local
631 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in get_portid_ddi()
642 if (strcmp(dev_type, "cpu") == 0) { in get_portid_ddi()
676 char dev_type[OBP_MAXPROPNAME]; in fill_cpu_ddi() local
705 (caddr_t)dev_type, &len) == DDI_PROP_SUCCESS) && in fill_cpu_ddi()
706 (strcmp(dev_type, "core") == 0)) in fill_cpu_ddi()
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c338 if (hotplug_dev->dev_type == DTYPE_ESI) { in h_chk_dev_busy()
395 if ((list->dev_type == DTYPE_DIRECT) && in h_print_list()
418 } else if (((list->dev_type == DTYPE_DIRECT) || in h_print_list()
419 (list->dev_type == DTYPE_SEQUENTIAL)) && in h_print_list()
424 } else if (list->dev_type == DTYPE_ESI) { in h_print_list()
890 disk_list->dev_type = dtype; in hotplug()
1535 if (hotplug_dev->dev_type == DTYPE_ESI) { in h_pre_hotplug_sena()
1745 if (hotplug_dev->dev_type == DTYPE_ESI) { in h_post_hotplug_sena()
2438 if ((disk_list->dev_type == DTYPE_ESI) || in h_pre_hotplug()
2501 (hotplug_dlist->dev_type == DTYPE_ESI)) { in h_post_hotplug()
[all …]
H A Dfcalupdate.c307 uint_t dev_type; in findversion() local
312 if ((dev_type = g_get_path_type(&sbussoc_list[index][0])) == 0) { in findversion()
317 if (dev_type & FC4_FCA_MASK) { in findversion()
357 } else if (dev_type & FC_FCA_MASK) { in findversion()
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c859 char dev_type[16]; in uppc_translate_irq() local
875 dev_len = sizeof (dev_type); in uppc_translate_irq()
877 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in uppc_translate_irq()
885 if ((strcmp(dev_type, "pci") == 0) || in uppc_translate_irq()
886 (strcmp(dev_type, "pciex") == 0)) { in uppc_translate_irq()
/illumos-gate/usr/src/uts/common/sys/
H A Daudio.h98 audio_device_type_e dev_type; member
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c254 char dev_type[OBP_MAXPROPNAME]; in sbdp_get_unit_num() local
269 if (prom_getprop(nodeid, "device_type", (caddr_t)dev_type) < 0) { in sbdp_get_unit_num()
275 if (strcmp(dev_type, SBDP_OTYPE(i)) != 0) in sbdp_get_unit_num()
299 if (strcmp(dev_type, "sghsc") == 0) { in sbdp_get_unit_num()
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_addr.h55 enum rdma_node_type dev_type; member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/
H A Dfcio.h116 uint32_t dev_type[8]; /* protocol specific */ member
132 uint32_t dev_type[8]; /* protocol specific */ member
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fabric.c195 FAB_LOOKUP(16, "dev_type", &data->dev_type); in fab_pci_fabric_to_data()
702 if ((data->dev_type == PCIE_PCIECAP_DEV_TYPE_PCI_DEV) || in fab_prep_pcie_nadv_erpt()
703 (data->dev_type == PCIE_PCIECAP_DEV_TYPE_ROOT) || in fab_prep_pcie_nadv_erpt()
783 if ((data->dev_type == PCIE_PCIECAP_DEV_TYPE_PCI_DEV) || in fab_prep_pcie_fake_rc_erpt()
784 (data->dev_type == PCIE_PCIECAP_DEV_TYPE_ROOT) || in fab_prep_pcie_fake_rc_erpt()
H A Dfabric-xlate.h74 uint16_t dev_type; member
H A Dfx_epkt.c83 data->dev_type = PCIE_PCIECAP_DEV_TYPE_ROOT; in fab_epkt_to_data()
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix.c2425 char dev_type[16]; in apix_intx_xlate_irq() local
2441 dev_len = sizeof (dev_type); in apix_intx_xlate_irq()
2443 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apix_intx_xlate_irq()
2445 if ((strcmp(dev_type, "pci") == 0) || in apix_intx_xlate_irq()
2446 (strcmp(dev_type, "pciex") == 0)) in apix_intx_xlate_irq()
2451 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apix_intx_xlate_irq()
2453 if (strstr(dev_type, "pciex")) in apix_intx_xlate_irq()
2465 } else if (strcmp(dev_type, "isa") == 0) in apix_intx_xlate_irq()
2467 else if (strcmp(dev_type, "eisa") == 0) in apix_intx_xlate_irq()
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c1792 char dev_type[16]; in apic_check_msi_support() local
1809 dev_len = sizeof (dev_type); in apic_check_msi_support()
1811 "device_type", (caddr_t)dev_type, &dev_len) in apic_check_msi_support()
1814 if (strcmp(dev_type, "pciex") == 0) in apic_check_msi_support()
1816 if (strcmp(dev_type, "pci") == 0 && in apic_check_msi_support()
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dgfc.h192 int dev_type; member
/illumos-gate/usr/src/uts/common/io/
H A Dconsconfig_dacf.c1101 int dev_type) in consconfig_prepare_dev() argument
1119 if (dev_type == CONS_MS) in consconfig_prepare_dev()
1122 ASSERT(dev_type == CONS_KBD); in consconfig_prepare_dev()

12