Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/uts/i86pc/io/
H A Dconsplat.c259 char *dev_type; in find_fb_dev() local
267 "device_type", &dev_type) != DDI_SUCCESS) in find_fb_dev()
270 if ((strcmp(dev_type, "isa") == 0) || (strcmp(dev_type, "eisa") == 0)) { in find_fb_dev()
271 ddi_prop_free(dev_type); in find_fb_dev()
275 if ((strcmp(dev_type, "pci") == 0) || in find_fb_dev()
276 (strcmp(dev_type, "pciex") == 0)) { in find_fb_dev()
281 ddi_prop_free(dev_type); in find_fb_dev()
313 if (strcmp(dev_type, "display") != 0) { in find_fb_dev()
314 ddi_prop_free(dev_type); in find_fb_dev()
318 ddi_prop_free(dev_type); in find_fb_dev()
H A Dmp_platform_misc.c773 char dev_type[16]; in apic_introp_xlate() local
790 dev_len = sizeof (dev_type); in apic_introp_xlate()
792 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apic_introp_xlate()
794 if ((strcmp(dev_type, "pci") == 0) || in apic_introp_xlate()
795 (strcmp(dev_type, "pciex") == 0)) in apic_introp_xlate()
800 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apic_introp_xlate()
802 if (strstr(dev_type, "pciex")) in apic_introp_xlate()
872 } else if (strcmp(dev_type, "isa") == 0) in apic_introp_xlate()
874 else if (strcmp(dev_type, "eisa") == 0) in apic_introp_xlate()
/titanic_44/usr/src/uts/i86pc/io/pciex/
H A Dnpe_misc.c224 char *dev_type; in npe_child_is_pci() local
228 DDI_PROP_DONTPASS, "device_type", &dev_type) == in npe_child_is_pci()
230 parent_is_pci = (strcmp(dev_type, "pci") == 0); in npe_child_is_pci()
231 ddi_prop_free(dev_type); in npe_child_is_pci()
237 "device_type", &dev_type) == DDI_PROP_SUCCESS) { in npe_child_is_pci()
238 child_is_pciex = (strcmp(dev_type, "pciex") == 0); in npe_child_is_pci()
239 ddi_prop_free(dev_type); in npe_child_is_pci()
/titanic_44/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.c667 char dev_type[16]; in xen_uppc_translate_irq() local
683 dev_len = sizeof (dev_type); in xen_uppc_translate_irq()
685 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in xen_uppc_translate_irq()
693 if ((strcmp(dev_type, "pci") == 0) || in xen_uppc_translate_irq()
694 (strcmp(dev_type, "pciex") == 0)) { in xen_uppc_translate_irq()
H A Dmp_platform_xpv.c727 char dev_type[16]; in apic_introp_xlate() local
744 dev_len = sizeof (dev_type); in apic_introp_xlate()
746 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apic_introp_xlate()
748 if ((strcmp(dev_type, "pci") == 0) || in apic_introp_xlate()
749 (strcmp(dev_type, "pciex") == 0)) in apic_introp_xlate()
754 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apic_introp_xlate()
756 if (strstr(dev_type, "pciex")) in apic_introp_xlate()
826 } else if (strcmp(dev_type, "isa") == 0) in apic_introp_xlate()
828 else if (strcmp(dev_type, "eisa") == 0) in apic_introp_xlate()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/storage/libg_fc/common/
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()
H A Dmap.c953 int dev_type; in g_get_host_params() local
965 dev_type = g_get_path_type(host_path); in g_get_host_params()
966 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_host_params()
1131 int dev_type; in g_get_dev_list() local
1170 dev_type = g_get_path_type(fcapath); in g_get_dev_list()
1171 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_dev_list()
1343 int dev_type, fd; in g_get_inq_dtype() local
1351 dev_type = g_get_path_type(fcapath); in g_get_inq_dtype()
1352 if ((dev_type == 0) || !(dev_type & FC_GEN_XPORT)) { in g_get_inq_dtype()
1431 int dev_type, fd; in get_fca_inq_dtype() local
[all …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/i86pc/io/psm/
H A Duppc.c854 char dev_type[16]; in uppc_translate_irq() local
870 dev_len = sizeof (dev_type); in uppc_translate_irq()
872 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in uppc_translate_irq()
880 if ((strcmp(dev_type, "pci") == 0) || in uppc_translate_irq()
881 (strcmp(dev_type, "pciex") == 0)) { in uppc_translate_irq()
/titanic_44/usr/src/uts/common/sys/
H A Daudio.h100 audio_device_type_e dev_type; member
/titanic_44/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_addr.h55 enum rdma_node_type dev_type; member
/titanic_44/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()
/titanic_44/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
/titanic_44/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fabric.c192 FAB_LOOKUP(16, "dev_type", &data->dev_type); in fab_pci_fabric_to_data()
649 if ((data->dev_type == PCIE_PCIECAP_DEV_TYPE_PCI_DEV) || in fab_prep_pcie_nadv_erpt()
650 (data->dev_type == PCIE_PCIECAP_DEV_TYPE_ROOT) || in fab_prep_pcie_nadv_erpt()
730 if ((data->dev_type == PCIE_PCIECAP_DEV_TYPE_PCI_DEV) || in fab_prep_pcie_fake_rc_erpt()
731 (data->dev_type == PCIE_PCIECAP_DEV_TYPE_ROOT) || in fab_prep_pcie_fake_rc_erpt()
H A Dfabric-xlate.h61 uint16_t dev_type; member
H A Dfx_epkt.c83 data->dev_type = PCIE_PCIECAP_DEV_TYPE_ROOT; in fab_epkt_to_data()
/titanic_44/usr/src/uts/i86pc/io/apix/
H A Dapix.c2448 char dev_type[16]; in apix_intx_xlate_irq() local
2464 dev_len = sizeof (dev_type); in apix_intx_xlate_irq()
2466 DDI_PROP_DONTPASS, "device_type", (caddr_t)dev_type, in apix_intx_xlate_irq()
2468 if ((strcmp(dev_type, "pci") == 0) || in apix_intx_xlate_irq()
2469 (strcmp(dev_type, "pciex") == 0)) in apix_intx_xlate_irq()
2474 DDI_PROP_DONTPASS, "compatible", (caddr_t)dev_type, in apix_intx_xlate_irq()
2476 if (strstr(dev_type, "pciex")) in apix_intx_xlate_irq()
2488 } else if (strcmp(dev_type, "isa") == 0) in apix_intx_xlate_irq()
2490 else if (strcmp(dev_type, "eisa") == 0) in apix_intx_xlate_irq()
/titanic_44/usr/src/uts/common/io/pciex/
H A Dpcie.c1767 uint8_t dev_type; in pcie_initchild_mps() local
1776 dev_type = bus_p->bus_dev_type; in pcie_initchild_mps()
1781 if ((dev_type == PCIE_PCIECAP_DEV_TYPE_PCIE_DEV) && in pcie_initchild_mps()
2126 uint8_t dev_type; in pcie_ari_supported() local
2133 dev_type = bus_p->bus_dev_type; in pcie_ari_supported()
2135 if ((dev_type != PCIE_PCIECAP_DEV_TYPE_DOWN) && in pcie_ari_supported()
2136 (dev_type != PCIE_PCIECAP_DEV_TYPE_ROOT)) in pcie_ari_supported()
/titanic_44/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c1603 char dev_type[16]; in apic_check_msi_support() local
1619 dev_len = sizeof (dev_type); in apic_check_msi_support()
1621 "device_type", (caddr_t)dev_type, &dev_len) in apic_check_msi_support()
1624 if (strcmp(dev_type, "pciex") == 0) in apic_check_msi_support()
/titanic_44/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dgfc.h192 int dev_type; member

12