/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | stpaul.c | 148 MOTHERBOARD, pci_card.bus_type, in stpaul_pci_callback() 153 MOTHERBOARD, pci_card.bus_type); in stpaul_pci_callback() 219 log_printf("%6s", pci_card.bus_type); in stpaul_pci_callback() 370 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 372 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 374 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 376 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 378 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 380 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type() 382 (void) strlcpy(card->bus_type, "NONE", sizeof (card->bus_type)); in get_bus_type()
|
H A D | erie.c | 75 char bus_type[MAXSTRLEN]; in erie_pci_callback() local 117 erie_get_bus_type(parent_path, bus_type); in erie_pci_callback() 119 erie_get_nac(bus_type, path, slot, name, nac, sizeof (nac)); in erie_pci_callback() 128 log_printf("%-6s", bus_type); in erie_pci_callback() 373 erie_get_bus_type(char path[], char bus_type[]) in erie_get_bus_type() argument 376 (void) strcpy(bus_type, "PCIX"); in erie_get_bus_type() 378 (void) strcpy(bus_type, "PCIE"); in erie_get_bus_type() 491 erie_get_nac(char bus_type[], char path[], int slot, char name[], char nac[], in erie_get_nac() argument 502 (void) snprintf(nac, size, "%s/%s%d", MOTHERBOARD, bus_type, in erie_get_nac() 505 (void) snprintf(nac, size, "%s/%s", MOTHERBOARD, bus_type); in erie_get_nac()
|
H A D | pelton.c | 68 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 70 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 72 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 74 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 76 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 205 IOBOARD, pci_card.bus_type, pci_card.slot); in pelton_pci_callback() 209 pci_card.bus_type); in pelton_pci_callback() 256 log_printf("%6s", pci_card.bus_type); in pelton_pci_callback()
|
H A D | erie.h | 100 void erie_get_bus_type(char path[], char bus_type[]); 101 void erie_get_nac(char bus_type[], char path[], int s,
|
H A D | huron.c | 62 (void) strcpy(card->bus_type, "NIU"); in huron_get_bus_type() 64 (void) strcpy(card->bus_type, "PCIE"); in huron_get_bus_type() 206 MOTHERBOARD, pci_card.bus_type, in huron_pci_callback() 211 MOTHERBOARD, pci_card.bus_type); in huron_pci_callback() 258 log_printf("%6s", pci_card.bus_type); in huron_pci_callback()
|
H A D | ontario.c | 82 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type() 84 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 222 IOBOARD, pci_card.bus_type, pci_card.slot); in ontario_pci_callback() 226 pci_card.bus_type); in ontario_pci_callback() 273 log_printf("%6s", pci_card.bus_type); in ontario_pci_callback()
|
H A D | huron.h | 107 void huron_get_nac(char bus_type[], char path[], int s,
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/ |
H A D | intr_common.c | 216 int bus_type; in apic_interrupt_dump() local 259 bus_type = irqp->airq_iflag.bustype; in apic_interrupt_dump() 275 (bus_type ? businfo_array[bus_type] : " "), in apic_interrupt_dump() 325 int bus_type; in apix_interrupt_dump() local 353 bus_type = BUSTYPE_NONE; in apix_interrupt_dump() 356 bus_type = BUSTYPE_PCI; in apix_interrupt_dump() 359 bus_type = irqp->airq_iflag.bustype; in apix_interrupt_dump() 398 (bus_type ? businfo_array[bus_type] : "-"), in apix_interrupt_dump()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 109 int bus_type; in opl_pci_callback() local 223 &bus_type); in opl_pci_callback() 231 bus_type = PCI_UNKN; in opl_pci_callback() 289 if (bus_type == PCI) in opl_pci_callback() 290 (void) strlcpy(pci_card.bus_type, in opl_pci_callback() 292 else if (bus_type == PCIX) in opl_pci_callback() 293 (void) strlcpy(pci_card.bus_type, in opl_pci_callback() 295 else if (bus_type == PCIE) in opl_pci_callback() 333 if (bus_type == PCIE) { in opl_pci_callback() 335 } else if (bus_type == PCIX) { in opl_pci_callback() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 80 (void) strcpy(card->bus_type, "NIU"); in monza_get_bus_type() 82 (void) strcpy(card->bus_type, "PCIE"); in monza_get_bus_type() 229 IOBOARD, pci_card.bus_type, pci_card.slot); in monza_pci_callback() 233 "%s/%s", MOTHERBOARD, pci_card.bus_type); in monza_pci_callback() 280 log_printf("%6s", pci_card.bus_type); in monza_pci_callback()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | busra.c | 940 char bus_type[16] = "(unknown)"; in pci_resource_setup() local 949 len = sizeof (bus_type); in pci_resource_setup() 952 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in pci_resource_setup() 956 if ((strcmp(bus_type, "pci") != 0) && (strcmp(bus_type, "pciex") != 0)) in pci_resource_setup() 1154 char bus_type[16] = "(unknown)"; in claim_pci_busnum() local 1162 len = sizeof (bus_type); in claim_pci_busnum() 1165 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in claim_pci_busnum() 1169 if ((strcmp(bus_type, "pci") != 0) && (strcmp(bus_type, "pciex") != 0)) in claim_pci_busnum()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 54 dev->devid.bus_type = PCI_BUS_TYPE; in pci_probe() 103 dev->devid.bus_type = ISA_BUS_TYPE; in isa_probe()
|
H A D | dev.h | 12 unsigned char bus_type; member
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 77 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type() 192 IOBOARD, pci_card.bus_type, pci_card.slot); in montoya_pci_callback() 196 "%s/%s", MOTHERBOARD, pci_card.bus_type); in montoya_pci_callback() 243 log_printf("%6s", pci_card.bus_type); in montoya_pci_callback()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | smp-imps.c | 403 memmove (str, bus->bus_type, 6); in add_bus() 598 memcpy (defconfig.bus[0].bus_type, "ISA ", 6); in imps_read_bios() 603 memcpy (defconfig.bus[0].bus_type, "MCA ", 6); in imps_read_bios()
|
H A D | smp-imps.h | 157 char bus_type[6]; member
|
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | display_sun4u.h | 70 char bus_type[MAXSTRLEN]; /* Type of bus this IO card is on */ member
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 201 card->bus_type[0] = '\0'; in get_bus_type() 206 (void) strlcpy(card->bus_type, "PCIE", in get_bus_type() 207 sizeof (card->bus_type)); in get_bus_type() 209 (void) strlcpy(card->bus_type, "PCIX", in get_bus_type() 210 sizeof (card->bus_type)); in get_bus_type() 240 (void) strlcpy(card->bus_type, q, in get_bus_type() 241 sizeof (card->bus_type)); in get_bus_type() 584 log_printf("%-6s", pci_card.bus_type); in sun4v_pci_callback()
|
H A D | io.c | 328 log_printf("%-4s ", p->bus_type, 0); in display_io_cards() 371 (void) sprintf(card.bus_type, BUS_TYPE); in display_ffb() 534 (void) sprintf(card.bus_type, "SBus"); in display_sbus() 789 (void) sprintf(card.bus_type, "PCI"); in display_psycho_pci()
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 267 char bus_type[16] = "(unknown)"; in cardbus_claim_pci_busnum() local 275 len = sizeof (bus_type); in cardbus_claim_pci_busnum() 279 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in cardbus_claim_pci_busnum() 282 if ((strcmp(bus_type, "pci") != 0) && in cardbus_claim_pci_busnum() 283 (strcmp(bus_type, "pciex") != 0)) /* it is not a pci bus type */ in cardbus_claim_pci_busnum() 743 char bus_type[16]; in is_32bit_pccard() local 745 len = sizeof (bus_type); in is_32bit_pccard() 748 "device_type", (caddr_t)&bus_type, &len) != DDI_SUCCESS) in is_32bit_pccard() 751 if ((strcmp(bus_type, "pci") != 0) && in is_32bit_pccard() 752 (strcmp(bus_type, "pciex") != 0) && in is_32bit_pccard() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mptbl.c | 175 memcpy(mpeb->bus_type, MPE_BUSNAME_PCI, MPE_BUSNAME_LEN); in mpt_build_bus_entries() 181 memcpy(mpeb->bus_type, MPE_BUSNAME_ISA, MPE_BUSNAME_LEN); in mpt_build_bus_entries()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | mp_platform_common.c | 1732 int ioapicindex, bus_type, vector; in apic_record_rdt_entry() local 1763 bus_type = irqptr->airq_iflag.bustype; in apic_record_rdt_entry() 1765 if (bus_type == BUS_PCI) in apic_record_rdt_entry() 1773 bus_type == BUS_PCI))) in apic_record_rdt_entry() 1777 bus_type = apic_find_bus(iointrp->intr_busid); in apic_record_rdt_entry() 1781 else if (bus_type == BUS_PCI) in apic_record_rdt_entry() 1788 bus_type == BUS_PCI))) in apic_record_rdt_entry()
|
/illumos-gate/usr/src/contrib/bhyve/x86/ |
H A D | mptable.h | 103 uint8_t bus_type[6]; member
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 97 static char *bus_type(di_node_t node, di_minor_t minor, 214 if ((btype = bus_type(node, minor, args->ph)) == NULL) { in add_bus() 501 if (bus_type(node, minor, args->ph) != NULL) { in add_devs() 1256 if (bus_type(pnode, di_minor_next(pnode, NULL), args->ph) != NULL) { in get_parent_bus() 1353 bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph) in bus_type() function
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 423 (void) sprintf(card.bus_type, "PCI"); in display_pci() 628 log_printf("%-4s ", p->bus_type, 0); in display_io_cards() 662 (void) sprintf(card.bus_type, "UPA"); in display_ffb()
|