bus_type
bus_id, entry->bus_type);
sc->sc_dev.dv_xname, bus_id, entry->bus_type);
if (memcmp(entry->bus_type, "PCI ", 6) == 0) {
} else if (memcmp(entry->bus_type, "EISA ", 6) == 0) {
} else if (memcmp(entry->bus_type, "ISA ", 6) == 0) {
entry->bus_type);
char bus_type[6];
bus_id, entry->bus_type);
self->dv_xname, bus_id, entry->bus_type);
if (memcmp(entry->bus_type, "PCI ", 6) == 0) {
} else if (memcmp(entry->bus_type, "EISA ", 6) == 0) {
} else if (memcmp(entry->bus_type, "ISA ", 6) == 0) {
entry->bus_type);
char bus_type[6];
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if ((n_error = AscSetEEPConfigOnce(iot, ioh, cfg_buf, bus_type)) == 0)
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
if (!(sc->bus_type & (ASC_IS_VL | ASC_IS_EISA))) {
AscGetChipIRQ(bus_space_tag_t iot, bus_space_handle_t ioh, u_int16_t bus_type)
if (bus_type & ASC_IS_EISA) {
if ((bus_type & ASC_IS_VL) != 0) {
u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
return (AscGetChipIRQ(iot, ioh, bus_type));
if (bus_type & ASC_IS_ISA) {
return (AscGetChipIRQ(iot, ioh, bus_type));
AscGetMaxDmaCount(u_int16_t bus_type)
if (bus_type & ASC_IS_ISA)
else if (bus_type & (ASC_IS_EISA | ASC_IS_VL))
sc->max_dma_count = AscGetMaxDmaCount(sc->bus_type);
chip_version = AscGetChipVersion(iot, ioh, sc->bus_type);
if ((sc->bus_type & ASC_IS_PCI) &&
sc->bus_type = ASC_IS_PCI_ULTRA;
if (sc->bus_type == ASC_IS_PCI)
sc->bus_type = ASC_IS_ISAPNP;
if ((sc->bus_type & ASC_IS_ISA) != 0)
chksum = AscGetEEPConfig(iot, ioh, eep_config, sc->bus_type);
if (AscGetChipVersion(iot, ioh, sc->bus_type) ==
if (((sc->bus_type & ASC_IS_PCI_ULTRA) == ASC_IS_PCI_ULTRA)) {
if (sc->bus_type & (ASC_IS_ISA | ASC_IS_VL | ASC_IS_EISA))
sc->irq_no = AscGetChipIRQ(iot, ioh, sc->bus_type);
if (((sc->bus_type & ASC_IS_PCI_ULTRA) == ASC_IS_PCI_ULTRA) &&
AscSetEEPConfig(iot, ioh, eep_config, sc->bus_type);
if ((sc->bus_type & (ASC_IS_ISA | ASC_IS_VL)) != 0) {
AscSetChipIRQ(iot, ioh, sc->irq_no, sc->bus_type);
if (sc->bus_type & ASC_IS_PCI) {
if ((sc->bus_type & ASC_IS_PCI_ULTRA) != ASC_IS_PCI_ULTRA) {
} else if (sc->bus_type == ASC_IS_ISAPNP) {
if (AscGetChipVersion(iot, ioh, sc->bus_type) ==
if (sc->bus_type & ASC_IS_ISA) {
u_int16_t bus_type)
if (bus_type & ASC_IS_EISA) {
u_int16_t bus_type;
ADW_GET_CHIP_VERSION(sc->sc_iot, sc->sc_ioh, sc->bus_type);
#define ADW_GET_CHIP_VERSION(iot, ioh, bus_type) \
sc->bus_type = ASC_IS_PCI;
iommu_domain_alloc(struct bus_type *type)
struct bus_type platform_bus_type;
const struct bus_type mipi_dsi_bus_type = {
void intel_huc_register_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus)
void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus)
struct bus_type;
void intel_huc_register_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus);
void intel_huc_unregister_gsc_notifier(struct intel_huc *huc, const struct bus_type *bus);
bus_register_notifier(const struct bus_type *bt, struct notifier_block *nb)
bus_unregister_notifier(const struct bus_type *bt, struct notifier_block *nb)
struct iommu_domain *iommu_domain_alloc(struct bus_type *);
struct bus_type;
extern struct bus_type platform_bus_type;
if (sc->hw.bus_type == em_bus_type_pci_express)
if (sc->hw.bus_type == em_bus_type_pcix &&
if (hw->bus_type == em_bus_type_pcix) {
hw->bus_type = em_bus_type_unknown;
hw->bus_type = em_bus_type_cpp;
hw->bus_type = em_bus_type_pci_express;
hw->bus_type = em_bus_type_pci_express;
hw->bus_type = (status & E1000_STATUS_PCIX_MODE) ?
hw->bus_speed = (hw->bus_type == em_bus_type_pci) ?
} else if (hw->bus_type == em_bus_type_pci) {
if (hw->bus_type == em_bus_type_pci_express) {
if (hw->bus_type != em_bus_type_pci_express)
if (hw->bus_type != em_bus_type_pci_express)
if (hw->bus_type == em_bus_type_unknown)
if (hw->bus_type != em_bus_type_pci_express)
em_bus_type bus_type;
ixgb_bus_type bus_type;
bus_type = sc->hw.bus.type;
bus_type == ixgb_bus_type_pci ? "PCI" :
bus_type == ixgb_bus_type_pcix ? "PCI-X" :