bus 151 arch/i386/eisa/eisa_machdep.c for (mip = mp_busses[bus].mb_intrs; mip != NULL; bus 941 arch/i386/i386/est.c #define MSR2MHZ(msr, bus) \ bus 942 arch/i386/i386/est.c (((((int) (msr) >> 8) & 0xff) * (bus) + 50) / 100) bus 1901 arch/i386/i386/machdep.c int bus; bus 1904 arch/i386/i386/machdep.c bus = (msr >> 18) & 0x3; bus 1905 arch/i386/i386/machdep.c switch (bus) { bus 1925 arch/i386/i386/machdep.c int model, bus; bus 1930 arch/i386/i386/machdep.c bus = (msr >> 21) & 0x7; bus 1931 arch/i386/i386/machdep.c switch (bus) { bus 1941 arch/i386/i386/machdep.c ci->ci_dev.dv_xname, model, bus); bus 1945 arch/i386/i386/machdep.c bus = (msr >> 16) & 0x7; bus 1946 arch/i386/i386/machdep.c switch (bus) { bus 1962 arch/i386/i386/machdep.c ci->ci_dev.dv_xname, model, bus); bus 1972 arch/i386/i386/machdep.c int model, bus; bus 1981 arch/i386/i386/machdep.c bus = (msr >> 0) & 0x7; bus 1982 arch/i386/i386/machdep.c switch (bus) { bus 1991 arch/i386/i386/machdep.c ci->ci_dev.dv_xname, bus); bus 1998 arch/i386/i386/machdep.c bus = (msr >> 0) & 0x7; bus 1999 arch/i386/i386/machdep.c switch (bus) { bus 2020 arch/i386/i386/machdep.c ci->ci_dev.dv_xname, bus); bus 2033 arch/i386/i386/machdep.c bus = (msr >> 18) & 0x3; bus 2034 arch/i386/i386/machdep.c switch (bus) { bus 2046 arch/i386/i386/machdep.c ci->ci_dev.dv_xname, bus); bus 679 arch/i386/i386/mpbios.c mpbios_invent(int irq, int type, int bus) bus 700 arch/i386/i386/mpbios.c e.src_bus_id = bus; bus 702 arch/i386/i386/mpbios.c e.dst_apic_id = mp_busses[bus].mb_intrs->ioapic->sc_apicid; bus 1046 arch/i386/i386/mpbios.c u_int32_t bus = entry->src_bus_id; bus 1055 arch/i386/i386/mpbios.c mpb = &(mp_busses[bus]); bus 1067 arch/i386/i386/mpbios.c mpi->bus = mpb; bus 1078 arch/i386/i386/mpbios.c bus, id, pin); bus 86 arch/i386/i386/mpbios_intr_fixup.c int bus, pin; bus 88 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL); bus 93 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 2, PCI_INTERRUPT_PIN_B, pin); bus 96 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 7, PCI_INTERRUPT_PIN_A, pin); bus 99 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 8, PCI_INTERRUPT_PIN_A, pin); bus 104 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 2, PCI_INTERRUPT_PIN_A, pin); bus 107 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 10, PCI_INTERRUPT_PIN_A, pin); bus 118 arch/i386/i386/mpbios_intr_fixup.c int bus, pin; bus 120 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL); bus 125 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 16, PCI_INTERRUPT_PIN_A, pin); bus 128 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 17, PCI_INTERRUPT_PIN_A, pin); bus 138 arch/i386/i386/mpbios_intr_fixup.c int bus; bus 140 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL); bus 143 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(bus, 15, 2, 20); bus 147 arch/i386/i386/mpbios_intr_fixup.c mpbios_pin_fixup(int bus, int dev, int rawpin, int pin) bus 149 arch/i386/i386/mpbios_intr_fixup.c struct mp_bus *mpb = &mp_busses[bus]; bus 181 arch/i386/include/mp.h u_int8_t bus; bus 65 arch/i386/include/mpbiosvar.h struct mp_bus *bus; bus 138 arch/i386/isa/ahc_isa.c int bus; bus 304 arch/i386/isa/ahc_isa.c if (as->bus == parent->dv_unit) bus 315 arch/i386/isa/ahc_isa.c as->bus = parent->dv_unit; bus 458 arch/i386/pci/pchb.c pcireg_t type, bus; bus 468 arch/i386/pci/pchb.c bus = pci_conf_read(pa->pa_pc, pa->pa_tag, reg); bus 469 arch/i386/pci/pchb.c if (AMD64HT_LDT_SEC_BUS_NUM(bus) > 0) { bus 475 arch/i386/pci/pchb.c pba.pba_bus = AMD64HT_LDT_SEC_BUS_NUM(bus); bus 381 arch/i386/pci/pci_addr_fixup.c int bus, device, function; bus 385 arch/i386/pci/pci_addr_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function); bus 386 arch/i386/pci/pci_addr_fixup.c printf("%03d:%02d:%d %04x:%04x\n", bus, device, function, bus 52 arch/i386/pci/pci_bus_fixup.c pci_bus_check(pci_chipset_tag_t pc, int bus) bus 59 arch/i386/pci/pci_bus_fixup.c bus_max = bus; bus 61 arch/i386/pci/pci_bus_fixup.c maxdevs = pci_bus_maxdevs(pc, bus); bus 63 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, 0); bus 88 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, function); bus 104 arch/i386/pci/pci_bus_fixup.c if (PPB_BUSINFO_PRIMARY(reg) != bus) { bus 116 arch/i386/pci/pci_bus_fixup.c if (PPB_BUSINFO_SECONDARY(reg) <= bus) { bus 158 arch/i386/pci/pci_bus_fixup.c pci_bus_assign(pci_chipset_tag_t pc, int bus) bus 166 arch/i386/pci/pci_bus_fixup.c bus_max = bus; bus 168 arch/i386/pci/pci_bus_fixup.c maxdevs = pci_bus_maxdevs(pc, bus); bus 170 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, 0); bus 195 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, function); bus 214 arch/i386/pci/pci_bus_fixup.c reg |= bus | (bus_max << 8) | (0xff << 16); bus 222 arch/i386/pci/pci_bus_fixup.c reg |= bus | (bus_max << 8) | (bus_sub << 16); bus 231 arch/i386/pci/pci_bus_fixup.c bridge, bus, bus_max, bus_sub); bus 245 arch/i386/pci/pci_bus_fixup.c pci_bus_fixup(pci_chipset_tag_t pc, int bus) bus 249 arch/i386/pci/pci_bus_fixup.c bus_max = pci_bus_check(pc, bus); bus 255 arch/i386/pci/pci_bus_fixup.c return pci_bus_assign(pc, bus); bus 261 arch/i386/pci/pci_bus_fixup.c int bus, device, function; bus 265 arch/i386/pci/pci_bus_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function); bus 266 arch/i386/pci/pci_bus_fixup.c printf("%03d:%02d:%d %04x:%04x\n", bus, device, function, bus 285 arch/i386/pci/pci_intr_fixup.c "ignoring link 0x%02x\n", pir->bus, bus 303 arch/i386/pci/pci_intr_fixup.c "ignoring PIRQ 0x%02x\n", pir->bus, bus 334 arch/i386/pci/pci_intr_fixup.c pciintr_pir_lookup(int bus, int device) bus 344 arch/i386/pci/pci_intr_fixup.c if (pir->bus == bus && bus 405 arch/i386/pci/pci_intr_fixup.c "should be 0x%04x\n", pir->bus, bus 656 arch/i386/pci/pci_intr_fixup.c int irq, link, bus, device, function; bus 665 arch/i386/pci/pci_intr_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function); bus 667 arch/i386/pci/pci_intr_fixup.c if ((pir = pciintr_pir_lookup(bus, device)) == NULL || bus 682 arch/i386/pci/pci_intr_fixup.c link, bus, device, function, '@' + ihp->pin); bus 723 arch/i386/pci/pci_intr_fixup.c "stage %d %s irq %d\n", bus, device, function, bus 132 arch/i386/pci/pci_machdep.c #define _qe(bus, dev, fcn, vend, prod) \ bus 133 arch/i386/pci/pci_machdep.c {_m1tag(bus, dev, fcn), PCI_ID_CODE(vend, prod)} bus 204 arch/i386/pci/pci_machdep.c pci_make_tag(pci_chipset_tag_t pc, int bus, int device, int function) bus 210 arch/i386/pci/pci_machdep.c if (bus >= 256 || device >= 32 || function >= 8) bus 214 arch/i386/pci/pci_machdep.c (bus << 16) | (device << 11) | (function << 8); bus 217 arch/i386/pci/pci_machdep.c if (bus >= 256 || device >= 16 || function >= 8) bus 222 arch/i386/pci/pci_machdep.c tag.mode2.forward = bus; bus 418 arch/i386/pci/pci_machdep.c int bus, dev, func; bus 440 arch/i386/pci/pci_machdep.c pci_decompose_tag (pc, intrtag, &bus, &dev, &func); bus 450 arch/i386/pci/pci_machdep.c for (mip = mp_busses[bus].mb_intrs; mip != NULL; mip=mip->next) { bus 526 arch/i386/pci/pci_machdep.c bus, dev, func, pin, line); bus 506 arch/i386/pci/pcibios.c pcibios_pir_table[i].bus, bus 522 arch/i386/pci/pcibios.c int bus, device, function, maxdevs, nfuncs; bus 526 arch/i386/pci/pcibios.c for (bus = 0; bus <= maxbus; bus++) { bus 527 arch/i386/pci/pcibios.c maxdevs = pci_bus_maxdevs(pc, bus); bus 529 arch/i386/pci/pcibios.c tag = pci_make_tag(pc, bus, device, 0); bus 551 arch/i386/pci/pcibios.c tag = pci_make_tag(pc, bus, device, function); bus 79 arch/i386/pci/pcibiosvar.h u_int8_t bus; bus 232 dev/acpi/acpimadt.c self->dv_xname, entry->madt_override.bus, bus 154 dev/acpi/acpiprt.c int bus, dev, func, nfuncs; bus 241 dev/acpi/acpiprt.c bus = sc->sc_bus; bus 243 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, 0); bus 252 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, func); bus 282 dev/acpi/acpiprt.c int bus, dev, func, rv; bus 288 dev/acpi/acpiprt.c bus = acpiprt_getpcibus(sc, parent); bus 297 dev/acpi/acpiprt.c if (dev >= pci_bus_maxdevs(pc, bus)) bus 300 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, func); bus 250 dev/acpi/acpireg.h u_int8_t bus; bus 431 dev/cardbus/cardbusvar.h #define cardbus_make_tag(cc, cf, bus, device, function) \ bus 432 dev/cardbus/cardbusvar.h ((cf)->cardbus_make_tag)((cc), (bus), (device), (function)) bus 1208 dev/ic/aacreg.h u_int32_t bus; bus 103 dev/ic/advlib.h #define ASC_PCI_MKID(bus, dev, func) ((((dev) & 0x1F) << 11) | \ bus 104 dev/ic/advlib.h (((func) & 0x7) << 8) | ((bus) & 0xFF)) bus 1138 dev/ic/ciss.c bd->bd_channel = pdid->bus; bus 213 dev/ic/cissreg.h u_int8_t bus; bus 384 dev/ic/cissreg.h u_int8_t bus; bus 316 dev/ic/gdt_common.c int bus, j; bus 328 dev/ic/gdt_common.c for (bus = 0; bus < gdt->sc_bus_cnt; bus++) { bus 329 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address = bus 332 dev/ic/gdt_common.c GDT_IOC_SZ * bus + bus 334 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no = bus 337 dev/ic/gdt_common.c GDT_IOC_SZ * bus + bus 341 dev/ic/gdt_common.c bus, bus 342 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address, bus 343 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no)); bus 347 dev/ic/gdt_common.c for (bus = 0; bus < gdt->sc_bus_cnt; bus++) { bus 348 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address = GDT_IO_CHANNEL; bus 349 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no = bus; bus 352 dev/ic/gdt_common.c bus, bus 353 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address, bus 354 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no)); bus 358 dev/ic/gdt_common.c for (bus = 0; bus < gdt->sc_bus_cnt; bus++) { bus 360 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no); bus 363 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address | GDT_INVALID_CHANNEL, bus 365 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_phys_cnt = bus 369 dev/ic/gdt_common.c bus, gdt->sc_raw[bus].ra_phys_cnt)); bus 373 dev/ic/gdt_common.c if (gdt->sc_raw[bus].ra_phys_cnt > 0) { bus 376 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_local_no); bus 379 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_phys_cnt); bus 383 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_address | bus 387 dev/ic/gdt_common.c j < gdt->sc_raw[bus].ra_phys_cnt; bus 389 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_id_list[j] = bus 395 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_id_list[j])); bus 398 dev/ic/gdt_common.c gdt->sc_raw[bus].ra_phys_cnt = 0; bus 401 dev/ic/gdt_common.c gdt->sc_total_disks += gdt->sc_raw[bus].ra_phys_cnt; bus 82 dev/ic/gdtvar.h u_int8_t bus; /* SCSI bus number */ bus 3301 dev/ic/isp.c int bus, tgt; bus 3320 dev/ic/isp.c bus = *((int *) arg); bus 3322 dev/ic/isp.c mbs.param[2] = bus; bus 3325 dev/ic/isp.c bus = 0; bus 3327 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 3333 dev/ic/isp.c "driver initiated bus reset of bus %d", bus); bus 3338 dev/ic/isp.c bus = (*((int *) arg)) >> 16; bus 3340 dev/ic/isp.c mbs.param[1] = (tgt << 8) | (bus << 15); bus 3347 dev/ic/isp.c "Target %d on Bus %d Reset Succeeded", tgt, bus); bus 3348 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 3360 dev/ic/isp.c bus = XS_CHANNEL(xs); bus 3373 dev/ic/isp.c (bus << 15) | (XS_TGT(xs) << 8) | XS_LUN(xs); bus 3931 dev/ic/isp.c int bus; bus 3934 dev/ic/isp.c bus = ISP_READ(isp, OUTMAILBOX6); bus 3936 dev/ic/isp.c bus = 0; bus 3942 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 3944 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 3947 dev/ic/isp.c isp_async(isp, ISPASYNC_BUS_RESET, &bus); bus 3986 dev/ic/isp.c "timeout initiated SCSI bus reset of bus %d", bus); bus 3987 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 3989 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 3995 dev/ic/isp.c isp_prt(isp, ISP_LOGINFO, "device reset on bus %d", bus); bus 3996 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 3998 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4053 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 4061 dev/ic/isp.c bus = 0x1ce; /* outgoing mailbox regs 1-3, 6-7 */ bus 4065 dev/ic/isp.c bus = 0x14e; /* outgoing mailbox regs 1-3, 6 */ bus 4069 dev/ic/isp.c bus = 0x10e; /* outgoing mailbox regs 1-3 */ bus 4073 dev/ic/isp.c bus = 0x106; /* outgoing mailbox regs 1-2 */ bus 4078 dev/ic/isp.c bus = 0x102; /* outgoing mailbox regs 1 */ bus 4108 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4143 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4155 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4167 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4199 dev/ic/isp.c if (isp_target_async(isp, bus, mbox)) bus 4251 dev/ic/isp.c if (bus & 0x100) { bus 4256 dev/ic/isp.c if ((bus & (1 << i)) == 0) { bus 5456 dev/ic/isp.c int bus, upmask; bus 5458 dev/ic/isp.c for (bus = 0, upmask = isp->isp_update; upmask != 0; bus++) { bus 5459 dev/ic/isp.c if (upmask & (1 << bus)) { bus 5460 dev/ic/isp.c isp_update_bus(isp, bus); bus 5462 dev/ic/isp.c upmask &= ~(1 << bus); bus 5467 dev/ic/isp.c isp_update_bus(struct ispsoftc *isp, int bus) bus 5473 dev/ic/isp.c isp->isp_update &= ~(1 << bus); bus 5481 dev/ic/isp.c sdp += bus; bus 5491 dev/ic/isp.c "skipping target %d bus %d update", tgt, bus); bus 5550 dev/ic/isp.c bus, tgt, mbs.param[2], mbs.param[3] >> 8, bus 5558 dev/ic/isp.c mbs.param[1] = (bus << 15) | (tgt << 8); bus 5561 dev/ic/isp.c isp->isp_sendmarker |= (1 << bus); bus 5570 dev/ic/isp.c get = (bus << 16) | tgt; bus 5577 dev/ic/isp.c isp->isp_update |= (1 << bus); bus 6124 dev/ic/isp.c isp_parse_nvram_1080(struct ispsoftc *isp, int bus, u_int8_t *nvram_data) bus 6129 dev/ic/isp.c sdp += bus; bus 6136 dev/ic/isp.c ISP1080_NVRAM_INITIATOR_ID(nvram_data, bus); bus 6139 dev/ic/isp.c ISP1080_NVRAM_BUS_RESET_DELAY(nvram_data, bus); bus 6142 dev/ic/isp.c ISP1080_NVRAM_BUS_RETRY_COUNT(nvram_data, bus); bus 6145 dev/ic/isp.c ISP1080_NVRAM_BUS_RETRY_DELAY(nvram_data, bus); bus 6148 dev/ic/isp.c ISP1080_NVRAM_ASYNC_DATA_SETUP_TIME(nvram_data, bus); bus 6151 dev/ic/isp.c ISP1080_NVRAM_REQ_ACK_ACTIVE_NEGATION(nvram_data, bus); bus 6154 dev/ic/isp.c ISP1080_NVRAM_DATA_LINE_ACTIVE_NEGATION(nvram_data, bus); bus 6163 dev/ic/isp.c ISP1080_NVRAM_SELECTION_TIMEOUT(nvram_data, bus); bus 6166 dev/ic/isp.c ISP1080_NVRAM_MAX_QUEUE_DEPTH(nvram_data, bus); bus 6169 dev/ic/isp.c bus, sdp->isp_fifo_threshold, sdp->isp_initiator_id, bus 6180 dev/ic/isp.c ISP1080_NVRAM_TGT_DEVICE_ENABLE(nvram_data, tgt, bus); bus 6182 dev/ic/isp.c ISP1080_NVRAM_TGT_EXEC_THROTTLE(nvram_data, tgt, bus); bus 6184 dev/ic/isp.c ISP1080_NVRAM_TGT_SYNC_OFFSET(nvram_data, tgt, bus); bus 6186 dev/ic/isp.c ISP1080_NVRAM_TGT_SYNC_PERIOD(nvram_data, tgt, bus); bus 6188 dev/ic/isp.c if (ISP1080_NVRAM_TGT_RENEG(nvram_data, tgt, bus)) bus 6191 dev/ic/isp.c if (ISP1080_NVRAM_TGT_TQING(nvram_data, tgt, bus)) bus 6193 dev/ic/isp.c if (ISP1080_NVRAM_TGT_SYNC(nvram_data, tgt, bus)) bus 6195 dev/ic/isp.c if (ISP1080_NVRAM_TGT_WIDE(nvram_data, tgt, bus)) bus 6197 dev/ic/isp.c if (ISP1080_NVRAM_TGT_PARITY(nvram_data, tgt, bus)) bus 6199 dev/ic/isp.c if (ISP1080_NVRAM_TGT_DISC(nvram_data, tgt, bus)) bus 6203 dev/ic/isp.c bus, tgt, sdp->isp_devparam[tgt].nvrm_flags, bus 6216 dev/ic/isp.c isp_parse_nvram_12160(struct ispsoftc *isp, int bus, u_int8_t *nvram_data) bus 6221 dev/ic/isp.c sdp += bus; bus 6228 dev/ic/isp.c ISP12160_NVRAM_INITIATOR_ID(nvram_data, bus); bus 6231 dev/ic/isp.c ISP12160_NVRAM_BUS_RESET_DELAY(nvram_data, bus); bus 6234 dev/ic/isp.c ISP12160_NVRAM_BUS_RETRY_COUNT(nvram_data, bus); bus 6237 dev/ic/isp.c ISP12160_NVRAM_BUS_RETRY_DELAY(nvram_data, bus); bus 6240 dev/ic/isp.c ISP12160_NVRAM_ASYNC_DATA_SETUP_TIME(nvram_data, bus); bus 6243 dev/ic/isp.c ISP12160_NVRAM_REQ_ACK_ACTIVE_NEGATION(nvram_data, bus); bus 6246 dev/ic/isp.c ISP12160_NVRAM_DATA_LINE_ACTIVE_NEGATION(nvram_data, bus); bus 6255 dev/ic/isp.c ISP12160_NVRAM_SELECTION_TIMEOUT(nvram_data, bus); bus 6258 dev/ic/isp.c ISP12160_NVRAM_MAX_QUEUE_DEPTH(nvram_data, bus); bus 6261 dev/ic/isp.c bus, sdp->isp_fifo_threshold, sdp->isp_initiator_id, bus 6271 dev/ic/isp.c ISP12160_NVRAM_TGT_DEVICE_ENABLE(nvram_data, tgt, bus); bus 6273 dev/ic/isp.c ISP12160_NVRAM_TGT_EXEC_THROTTLE(nvram_data, tgt, bus); bus 6275 dev/ic/isp.c ISP12160_NVRAM_TGT_SYNC_OFFSET(nvram_data, tgt, bus); bus 6277 dev/ic/isp.c ISP12160_NVRAM_TGT_SYNC_PERIOD(nvram_data, tgt, bus); bus 6279 dev/ic/isp.c if (ISP12160_NVRAM_TGT_RENEG(nvram_data, tgt, bus)) bus 6282 dev/ic/isp.c if (ISP12160_NVRAM_TGT_TQING(nvram_data, tgt, bus)) bus 6284 dev/ic/isp.c if (ISP12160_NVRAM_TGT_SYNC(nvram_data, tgt, bus)) bus 6286 dev/ic/isp.c if (ISP12160_NVRAM_TGT_WIDE(nvram_data, tgt, bus)) bus 6288 dev/ic/isp.c if (ISP12160_NVRAM_TGT_PARITY(nvram_data, tgt, bus)) bus 6290 dev/ic/isp.c if (ISP12160_NVRAM_TGT_DISC(nvram_data, tgt, bus)) bus 6294 dev/ic/isp.c bus, tgt, sdp->isp_devparam[tgt].nvrm_flags, bus 137 dev/ic/isp_openbsd.c int bus = 0; bus 139 dev/ic/isp_openbsd.c (void) isp_control(isp, ISPCTL_RESET_BUS, &bus); bus 141 dev/ic/isp_openbsd.c bus++; bus 142 dev/ic/isp_openbsd.c (void) isp_control(isp, ISPCTL_RESET_BUS, &bus); bus 685 dev/ic/isp_openbsd.c int bus, tgt; bus 695 dev/ic/isp_openbsd.c bus = (tgt >> 16) & 0xffff; bus 697 dev/ic/isp_openbsd.c sdp += bus; bus 750 dev/ic/isp_openbsd.c bus, tgt, mhz, sdp->isp_devparam[tgt].actv_offset, bus 754 dev/ic/isp_openbsd.c "Bus %d Target %d Async Mode%s", bus, tgt, wt); bus 760 dev/ic/isp_openbsd.c bus = *((int *) arg); bus 762 dev/ic/isp_openbsd.c bus = 0; bus 763 dev/ic/isp_openbsd.c isp_prt(isp, ISP_LOGINFO, "SCSI bus %d reset detected", bus); bus 142 dev/ic/isp_target.c int bus, type, rval = 1; bus 180 dev/ic/isp_target.c bus = 0; bus 192 dev/ic/isp_target.c bus = GET_BUS_VAL(inotp->in_iid); bus 198 dev/ic/isp_target.c bus, status, seqid); bus 206 dev/ic/isp_target.c (void) isp_async(isp, ISPASYNC_BUS_RESET, &bus); bus 211 dev/ic/isp_target.c isp_got_msg_fc(isp, bus, (in_fcentry_t *)local); bus 213 dev/ic/isp_target.c isp_got_msg(isp, bus, (in_entry_t *)local); bus 282 dev/ic/isp_target.c isp_lun_cmd(struct ispsoftc *isp, int cmd, int bus, int tgt, int lun, bus 292 dev/ic/isp_target.c el.le_rsvd = (bus & 0x1) << 7; bus 494 dev/ic/isp_target.c isp_target_async(struct ispsoftc *isp, int bus, int event) bus 523 dev/ic/isp_target.c evt.ev_bus = bus; bus 538 dev/ic/isp_target.c msg.nt_bus = bus; bus 562 dev/ic/isp_target.c isp_got_msg(struct ispsoftc *isp, int bus, in_entry_t *inp) bus 570 dev/ic/isp_target.c msg.nt_bus = bus; bus 588 dev/ic/isp_target.c isp_got_msg_fc(struct ispsoftc *isp, int bus, in_fcentry_t *inp) bus 609 dev/ic/isp_target.c msg.nt_bus = bus; bus 1127 dev/ic/mpi.c "function: 0x%02x\n", DEVNAME(sc), sie->target_id, sie->bus, bus 1950 dev/ic/mpi.c if (ch->bus != 0) bus 656 dev/ic/mpireg.h u_int8_t bus; bus 769 dev/ic/mpireg.h u_int8_t bus; bus 814 dev/ic/mpireg.h u_int8_t bus; bus 860 dev/ic/mpireg.h u_int8_t bus; bus 885 dev/ic/mpireg.h u_int8_t bus; bus 1078 dev/ic/ncr5380sbc.c u_char bus, data, icmd, msg; bus 1094 dev/ic/ncr5380sbc.c bus = *(sc->sci_bus_csr); bus 1095 dev/ic/ncr5380sbc.c if ((bus & SCI_BUS_SEL) == 0) { bus 1110 dev/ic/ncr5380sbc.c if ((bus & SCI_BUS_BSY) == 0) bus 1115 dev/ic/ncr5380sbc.c sc->sc_dev.dv_xname, bus); bus 1121 dev/ic/ncr5380sbc.c bus = *(sc->sci_bus_csr); bus 1123 dev/ic/ncr5380sbc.c if ((bus & SCI_BUS_SEL) == 0) bus 1142 dev/ic/ncr5380sbc.c if ((bus & SCI_BUS_IO) == 0) { bus 1174 dev/ic/ncr5380sbc.c bus = *(sc->sci_bus_csr); bus 1175 dev/ic/ncr5380sbc.c if ((bus & SCI_BUS_SEL) == 0) bus 1179 dev/ic/ncr5380sbc.c sc->sc_dev.dv_xname, bus); bus 288 dev/ic/pcf8584.c pcfiic_choose_bus(struct pcfiic_softc *sc, u_int8_t bus) bus 290 dev/ic/pcf8584.c bus_space_write_1(sc->sc_iot, sc->sc_ioh2, 0, bus); bus 215 dev/ic/pdq.c pdq_bus_t bus, bus 219 dev/ic/pdq.c csrs->csr_bus = bus; bus 239 dev/ic/pdq.c pdq_bus_t bus, bus 243 dev/ic/pdq.c csrs->csr_bus = bus; bus 1331 dev/ic/pdq.c pdq_bus_t bus, bus 1445 dev/ic/pdq.c pdq_init_csrs(&pdq->pdq_csrs, bus, csr_base, pdq->pdq_type == PDQ_DEFAA ? 2 : 1); bus 1447 dev/ic/pdq.c pdq_init_pci_csrs(&pdq->pdq_pci_csrs, bus, csr_base, 1); bus 349 dev/ic/pdqvar.h extern pdq_t *pdq_initialize(pdq_bus_t bus, pdq_bus_memaddr_t csr_va, bus 1006 dev/ipmi.c pI2C->bus = (sc->if_ver == 0x09) ? bus 68 dev/isa/elink.c elink_reset(bus_space_tag_t iot, bus_space_handle_t ioh, int bus) bus 81 dev/isa/elink.c if (er->er_bus == bus) bus 90 dev/isa/elink.c er->er_bus = bus; bus 111 dev/isa/if_ep_isa.c int bus; bus 120 dev/isa/if_ep_isa.c epaddcard(bus, iobase, irq, model) bus 121 dev/isa/if_ep_isa.c int bus, iobase, irq; bus 127 dev/isa/if_ep_isa.c epcards[nepcards].bus = bus; bus 153 dev/isa/if_ep_isa.c int bus = parent->dv_unit; bus 175 dev/isa/if_ep_isa.c er->er_bus = bus; bus 228 dev/isa/if_ep_isa.c epaddcard(bus, iobase, irq, model); bus 237 dev/isa/if_ep_isa.c if (epcards[i].bus != bus) bus 194 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 196 dev/onewire/onewire.c return (bus->bus_reset(bus->bus_cookie)); bus 203 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 205 dev/onewire/onewire.c return (bus->bus_bit(bus->bus_cookie, value)); bus 212 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 216 dev/onewire/onewire.c if (bus->bus_read_byte != NULL) bus 217 dev/onewire/onewire.c return (bus->bus_read_byte(bus->bus_cookie)); bus 220 dev/onewire/onewire.c value |= (bus->bus_bit(bus->bus_cookie, 1) << i); bus 229 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 232 dev/onewire/onewire.c if (bus->bus_write_byte != NULL) bus 233 dev/onewire/onewire.c return (bus->bus_write_byte(bus->bus_cookie, value)); bus 236 dev/onewire/onewire.c bus->bus_bit(bus->bus_cookie, (value >> i) & 0x1); bus 243 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 246 dev/onewire/onewire.c if (bus->bus_read_block != NULL) bus 247 dev/onewire/onewire.c return (bus->bus_read_block(bus->bus_cookie, buf, len)); bus 257 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 260 dev/onewire/onewire.c if (bus->bus_write_block != NULL) bus 261 dev/onewire/onewire.c return (bus->bus_write_block(bus->bus_cookie, buf, len)); bus 271 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 274 dev/onewire/onewire.c if (bus->bus_triplet != NULL) bus 275 dev/onewire/onewire.c return (bus->bus_triplet(bus->bus_cookie, dir)); bus 277 dev/onewire/onewire.c rv = bus->bus_bit(bus->bus_cookie, 1); bus 279 dev/onewire/onewire.c rv |= bus->bus_bit(bus->bus_cookie, 1); bus 283 dev/onewire/onewire.c bus->bus_bit(bus->bus_cookie, dir); bus 286 dev/onewire/onewire.c bus->bus_bit(bus->bus_cookie, 0); bus 289 dev/onewire/onewire.c bus->bus_bit(bus->bus_cookie, 1); bus 299 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 302 dev/onewire/onewire.c if (bus->bus_matchrom != NULL) bus 303 dev/onewire/onewire.c return (bus->bus_matchrom(bus->bus_cookie, rom)); bus 314 dev/onewire/onewire.c struct onewire_bus *bus = sc->sc_bus; bus 319 dev/onewire/onewire.c if (bus->bus_search != NULL) bus 320 dev/onewire/onewire.c return (bus->bus_search(bus->bus_cookie, buf, size, rom)); bus 142 dev/pci/arc.c u_int8_t bus; bus 2057 dev/pci/if_ixgb.c bus_speed = sc->hw.bus.speed; bus 2058 dev/pci/if_ixgb.c bus_type = sc->hw.bus.type; bus 478 dev/pci/if_sandrv.c int bus, slot, cpu = SDLA_CPU_A; bus 484 dev/pci/if_sandrv.c bus = pa->pa_bus; bus 503 dev/pci/if_sandrv.c hwcard = sdla_card_register(atype, slot, bus); bus 1088 dev/pci/ixgb_hw.c hw->bus.type = bus 1092 dev/pci/ixgb_hw.c if(hw->bus.type == ixgb_bus_type_pci) { bus 1093 dev/pci/ixgb_hw.c hw->bus.speed = bus 1099 dev/pci/ixgb_hw.c hw->bus.speed = ixgb_bus_speed_66; bus 1102 dev/pci/ixgb_hw.c hw->bus.speed = ixgb_bus_speed_100; bus 1105 dev/pci/ixgb_hw.c hw->bus.speed = ixgb_bus_speed_133; bus 1108 dev/pci/ixgb_hw.c hw->bus.speed = ixgb_bus_speed_reserved; bus 1113 dev/pci/ixgb_hw.c hw->bus.width = bus 724 dev/pci/ixgb_hw.h struct ixgb_bus bus; /* Bus parameters */ bus 112 dev/pci/musycc_obsd.c sc->bus = parent->dv_unit; bus 182 dev/pci/musycc_obsd.c if (sc->bus == parent->dv_unit && sc->device == pa->pa_device) bus 182 dev/pci/musyccvar.h int bus, device; /* location of card */ bus 249 dev/pci/pci.c int ret, pin, bus, device, function; bus 251 dev/pci/pci.c pci_decompose_tag(pc, tag, &bus, &device, &function); bus 273 dev/pci/pci.c pa.pa_bus = bus; bus 781 dev/pci/tga.c tga_cnattach(iot, memt, pc, bus, device, function) bus 784 dev/pci/tga.c int bus, device, function; bus 790 dev/pci/tga.c pci_make_tag(pc, bus, device, function), dcp); bus 205 dev/pci/vga_pci.c pci_chipset_tag_t pc, int bus, int device, int function) bus 201 dev/raidframe/rf_copyback.c if (rf_extract_ids(badDisk->devname, &bus, &targ, &lun)) { bus 211 dev/raidframe/rf_copyback.c retcode = rf_SCSI_DoTUR(tur_op, bus, targ, lun, badDisk->dev); bus 162 dev/sbus/xbox.c xboxprint(void *args, const char *bus) bus 166 dev/sbus/xbox.c if (bus != NULL) bus 167 dev/sbus/xbox.c printf("%s at %s", xa->xa_name, bus); bus 879 dev/usb/ehci.c ehci_poll(struct usbd_bus *bus) bus 881 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)bus; bus 1083 dev/usb/ehci.c ehci_allocm(struct usbd_bus *bus, usb_dma_t *dma, u_int32_t size) bus 1085 dev/usb/ehci.c struct ehci_softc *sc = (struct ehci_softc *)bus; bus 1097 dev/usb/ehci.c ehci_freem(struct usbd_bus *bus, usb_dma_t *dma) bus 1099 dev/usb/ehci.c struct ehci_softc *sc = (struct ehci_softc *)bus; bus 1105 dev/usb/ehci.c ehci_allocx(struct usbd_bus *bus) bus 1107 dev/usb/ehci.c struct ehci_softc *sc = (struct ehci_softc *)bus; bus 1135 dev/usb/ehci.c ehci_freex(struct usbd_bus *bus, usbd_xfer_handle xfer) bus 1137 dev/usb/ehci.c struct ehci_softc *sc = (struct ehci_softc *)bus; bus 1313 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)dev->bus; bus 1655 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)xfer->pipe->device->bus; bus 2090 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 2120 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 2393 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 2420 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)epipe->pipe.device->bus; bus 2441 dev/usb/ehci.c if (xfer->device->bus->intr_context || !curproc) bus 2616 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)epipe->pipe.device->bus; bus 2688 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)xfer->pipe->device->bus; bus 2715 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)xfer->pipe->device->bus; bus 2746 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 2760 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)dev->bus; bus 2925 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)dev->bus; bus 3024 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 3034 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)xfer->pipe->device->bus; bus 3100 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)dev->bus; bus 3195 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)pipe->device->bus; bus 3208 dev/usb/ehci.c ehci_softc_t *sc = (ehci_softc_t *)xfer->pipe->device->bus; bus 891 dev/usb/ohci.c ohci_allocm(struct usbd_bus *bus, usb_dma_t *dma, u_int32_t size) bus 893 dev/usb/ohci.c struct ohci_softc *sc = (struct ohci_softc *)bus; bus 899 dev/usb/ohci.c ohci_freem(struct usbd_bus *bus, usb_dma_t *dma) bus 901 dev/usb/ohci.c struct ohci_softc *sc = (struct ohci_softc *)bus; bus 907 dev/usb/ohci.c ohci_allocx(struct usbd_bus *bus) bus 909 dev/usb/ohci.c struct ohci_softc *sc = (struct ohci_softc *)bus; bus 934 dev/usb/ohci.c ohci_freex(struct usbd_bus *bus, usbd_xfer_handle xfer) bus 936 dev/usb/ohci.c struct ohci_softc *sc = (struct ohci_softc *)bus; bus 1504 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus; bus 1630 dev/usb/ohci.c ohci_poll(struct usbd_bus *bus) bus 1632 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)bus; bus 1653 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)dev->bus; bus 1904 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus; bus 2014 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)dev->bus; bus 2131 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 2184 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus; bus 2203 dev/usb/ohci.c if (xfer->device->bus->intr_context || !curproc) bus 2221 dev/usb/ohci.c usb_delay_ms(opipe->pipe.device->bus, 20); /* Hardware finishes in 1ms */ bus 2383 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)xfer->pipe->device->bus; bus 2723 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 2753 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 2779 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)xfer->pipe->device->bus; bus 2816 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 2857 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)dev->bus; bus 2969 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 2997 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)dev->bus; bus 3088 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 3215 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)dev->bus; bus 3335 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus; bus 3356 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)opipe->pipe.device->bus; bus 3419 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 3437 dev/usb/ohci.c ohci_softc_t *sc = (ohci_softc_t *)pipe->device->bus; bus 562 dev/usb/uhci.c uhci_allocm(struct usbd_bus *bus, usb_dma_t *dma, u_int32_t size) bus 564 dev/usb/uhci.c struct uhci_softc *sc = (struct uhci_softc *)bus; bus 596 dev/usb/uhci.c uhci_freem(struct usbd_bus *bus, usb_dma_t *dma) bus 598 dev/usb/uhci.c usb_freemem(&((struct uhci_softc *)bus)->sc_bus, dma); bus 602 dev/usb/uhci.c uhci_allocx(struct usbd_bus *bus) bus 604 dev/usb/uhci.c struct uhci_softc *sc = (struct uhci_softc *)bus; bus 631 dev/usb/uhci.c uhci_freex(struct usbd_bus *bus, usbd_xfer_handle xfer) bus 633 dev/usb/uhci.c struct uhci_softc *sc = (struct uhci_softc *)bus; bus 940 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)pipe->device->bus; bus 963 dev/usb/uhci.c xfer->device->bus->intr_context++; bus 965 dev/usb/uhci.c xfer->device->bus->intr_context--; bus 1463 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; bus 1529 dev/usb/uhci.c uhci_poll(struct usbd_bus *bus) bus 1531 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)bus; bus 1790 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 1892 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; bus 1908 dev/usb/uhci.c if (xfer->device->bus->intr_context || !curproc) bus 1927 dev/usb/uhci.c usb_delay_ms(upipe->pipe.device->bus, 2); /* Hardware finishes in 1ms */ bus 1957 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 1983 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)xfer->pipe->device->bus; bus 2025 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 2130 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)pipe->device->bus; bus 2160 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 2315 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 2384 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)upipe->pipe.device->bus; bus 2481 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 2525 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)dev->bus; bus 2824 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)pipe->device->bus; bus 3094 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)xfer->pipe->device->bus; bus 3435 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)xfer->pipe->device->bus; bus 3472 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)pipe->device->bus; bus 3492 dev/usb/uhci.c uhci_softc_t *sc = (uhci_softc_t *)pipe->device->bus; bus 483 dev/usb/uhub.c err = usbd_new_device(&sc->sc_dev, dev->bus, bus 674 dev/usb/umass.c scbus = sc->bus; bus 679 dev/usb/umass.c sc->bus = NULL; bus 697 dev/usb/umass.c struct umassbus_softc *scbus = sc->bus; bus 820 dev/usb/umass.c if (sc->sc_udev->bus->use_polling) { bus 856 dev/usb/umass.c if (sc->sc_udev->bus->use_polling) { bus 1108 dev/usb/umass.c if (sc->sc_udev->bus->use_polling) bus 1561 dev/usb/umass.c if (sc->sc_udev->bus->use_polling) bus 162 dev/usb/umass_scsi.c sc->bus = (struct umassbus_softc *)scbus; bus 304 dev/usb/umass_scsi.c struct umass_scsi_softc *scbus = (struct umass_scsi_softc *)sc->bus; bus 266 dev/usb/umassvar.h struct umassbus_softc *bus; /* bus dependent data */ bus 688 dev/usb/usb.c dev->bus->needs_explore = 1; bus 689 dev/usb/usb.c wakeup(&dev->bus->needs_explore); bus 697 dev/usb/usb.c dev->bus->needs_explore = 1; bus 698 dev/usb/usb.c wakeup(&dev->bus->needs_explore); bus 774 dev/usb/usb.c usb_schedsoftintr(usbd_bus_handle bus) bus 776 dev/usb/usb.c DPRINTFN(10,("usb_schedsoftintr: polling=%d\n", bus->use_polling)); bus 778 dev/usb/usb.c if (bus->use_polling) { bus 779 dev/usb/usb.c bus->methods->soft_intr(bus); bus 781 dev/usb/usb.c softintr_schedule(bus->soft); bus 784 dev/usb/usb.c bus->methods->soft_intr(bus); bus 216 dev/usb/usb_mem.c usb_allocmem(usbd_bus_handle bus, size_t size, size_t align, usb_dma_t *p) bus 218 dev/usb/usb_mem.c bus_dma_tag_t tag = bus->dmatag; bus 267 dev/usb/usb_mem.c usb_freemem(usbd_bus_handle bus, usb_dma_t *p) bus 341 dev/usb/usb_subr.c usb_delay_ms(usbd_bus_handle bus, u_int ms) bus 344 dev/usb/usb_subr.c if (bus->use_polling || cold) bus 354 dev/usb/usb_subr.c usb_delay_ms(dev->bus, ms); bus 718 dev/usb/usb_subr.c dev->bus->bdev.dv_xname, dev->address, bus 775 dev/usb/usb_subr.c p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT); bus 789 dev/usb/usb_subr.c err = dev->bus->methods->open_pipe(p); bus 812 dev/usb/usb_subr.c usbd_getnewaddr(usbd_bus_handle bus) bus 817 dev/usb/usb_subr.c if (bus->devices[addr] == 0) bus 957 dev/usb/usb_subr.c usbd_new_device(struct device *parent, usbd_bus_handle bus, int depth, bus 969 dev/usb/usb_subr.c bus, port, depth, speed)); bus 970 dev/usb/usb_subr.c addr = usbd_getnewaddr(bus); bus 973 dev/usb/usb_subr.c bus->bdev.dv_xname); bus 982 dev/usb/usb_subr.c dev->bus = bus; bus 1105 dev/usb/usb_subr.c bus->devices[addr] = dev; bus 1149 dev/usb/usb_subr.c dev->bus->devices[dev->address] = NULL; bus 1247 dev/usb/usb_subr.c di->udi_bus = dev->bus->bdev.dv_unit; bus 1367 dev/usb/usb_subr.c dev->bus->devices[dev->address] = NULL; bus 115 dev/usb/usbdi.c printf(" bus=%p default_pipe=%p\n", dev->bus, dev->default_pipe); bus 285 dev/usb/usbdi.c struct usbd_bus *bus = pipe->device->bus; bus 291 dev/usb/usbdi.c err = bus->methods->allocm(bus, dmap, size); bus 307 dev/usb/usbdi.c struct usbd_bus *bus = pipe->device->bus; bus 309 dev/usb/usbdi.c bus->methods->freem(bus, &xfer->dmabuf); bus 322 dev/usb/usbdi.c if (pipe->device->bus->use_polling) bus 341 dev/usb/usbdi.c struct usbd_bus *bus = xfer->device->bus; bus 348 dev/usb/usbdi.c err = bus->methods->allocm(bus, &xfer->dmabuf, size); bus 365 dev/usb/usbdi.c xfer->device->bus->methods->freem(xfer->device->bus, &xfer->dmabuf); bus 381 dev/usb/usbdi.c xfer = dev->bus->methods->allocx(dev->bus); bus 396 dev/usb/usbdi.c xfer->device->bus->methods->freex(xfer->device->bus, xfer); bus 755 dev/usb/usbdi.c polling = pipe->device->bus->use_polling; bus 775 dev/usb/usbdi.c struct usbd_bus *bus = pipe->device->bus; bus 776 dev/usb/usbdi.c bus->methods->freem(bus, dmap); bus 795 dev/usb/usbdi.c ++pipe->device->bus->stats.uds_requests bus 920 dev/usb/usbdi.c if (dev->bus->intr_context) { bus 1046 dev/usb/usbdi.c iface->device->bus->methods->do_poll(iface->device->bus); bus 1053 dev/usb/usbdi.c dev->bus->use_polling++; bus 1055 dev/usb/usbdi.c dev->bus->use_polling--; bus 1057 dev/usb/usbdi.c if (dev->bus->use_polling) bus 1058 dev/usb/usbdi.c dev->bus->methods->soft_intr(dev->bus); bus 134 dev/usb/usbdivar.h struct usbd_bus *bus; /* our controller */ bus 246 dev/usb/usbdivar.h usbd_status usbd_new_device(struct device *parent, usbd_bus_handle bus, bus 180 dev/usb/usbf.c struct usbf_softc *sc = dev->bus->usbfctl; bus 202 dev/usb/usbf.c struct usbf_softc *sc = dev->bus->usbfctl; bus 273 dev/usb/usbf.c usbf_host_reset(usbf_bus_handle bus) bus 275 dev/usb/usbf.c usbf_device_handle dev = bus->usbfctl->sc_port.device; bus 683 dev/usb/usbf.c struct usbf_softc *sc = dev->bus->usbfctl; bus 143 dev/usb/usbf_subr.c usbf_new_device(struct device *parent, usbf_bus_handle bus, int depth, bus 159 dev/usb/usbf_subr.c dev->bus = bus; bus 173 dev/usb/usbf_subr.c ud->bMaxPacketSize = bus->ep0_maxp; bus 174 dev/usb/usbf_subr.c if (bus->usbrev >= USBREV_2_0) bus 660 dev/usb/usbf_subr.c p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT); bus 674 dev/usb/usbf_subr.c err = dev->bus->methods->open_pipe(p); bus 810 dev/usb/usbf_subr.c xfer = dev->bus->methods->allocx(dev->bus); bus 825 dev/usb/usbf_subr.c xfer->device->bus->methods->freex(xfer->device->bus, xfer); bus 829 dev/usb/usbf_subr.c usbf_allocmem(usbf_bus_handle bus, size_t size, size_t align, usb_dma_t *p) bus 835 dev/usb/usbf_subr.c dbus.dmatag = bus->dmatag; bus 841 dev/usb/usbf_subr.c usbf_freemem(usbf_bus_handle bus, usb_dma_t *p) bus 849 dev/usb/usbf_subr.c struct usbf_bus *bus = xfer->device->bus; bus 857 dev/usb/usbf_subr.c err = bus->methods->allocm(bus, &xfer->dmabuf, size); bus 875 dev/usb/usbf_subr.c xfer->device->bus->methods->freem(xfer->device->bus, &xfer->dmabuf); bus 886 dev/usb/usbf_subr.c struct device *dev = (struct device *)xfer->pipe->device->bus->usbfctl; bus 1067 dev/usb/usbf_subr.c usbf_softintr_establish(struct usbf_bus *bus) bus 1070 dev/usb/usbf_subr.c KASSERT(bus->soft == NULL); bus 1072 dev/usb/usbf_subr.c bus->soft = softintr_establish(IPL_SOFTNET, bus 1073 dev/usb/usbf_subr.c bus->methods->soft_intr, bus); bus 1074 dev/usb/usbf_subr.c if (bus->soft == NULL) bus 1081 dev/usb/usbf_subr.c usbf_schedsoftintr(struct usbf_bus *bus) bus 1084 dev/usb/usbf_subr.c softintr_schedule(bus->soft); bus 1086 dev/usb/usbf_subr.c bus->methods->soft_intr(bus); bus 55 dev/usb/usbfvar.h struct usbf_bus *bus; /* device controller */ bus 337 net/if_pfsync.c struct pfsync_state_bus *bus; bus 788 net/if_pfsync.c sizeof(*bus), &offp)) == NULL) { bus 792 net/if_pfsync.c bus = (struct pfsync_state_bus *)(mp->m_data + offp); bus 793 net/if_pfsync.c switch (bus->status) { bus 803 net/if_pfsync.c if (time_uptime - ntohl(bus->endtime) >= bus 1398 net/if_pfsync.c struct pfsync_state_bus *bus; bus 1406 net/if_pfsync.c sc->sc_mbuf->m_pkthdr.len = sc->sc_mbuf->m_len += sizeof(*bus); bus 1407 net/if_pfsync.c bus = sc->sc_statep.b; bus 1408 net/if_pfsync.c bus->creatorid = pf_status.hostid; bus 1409 net/if_pfsync.c bus->status = status; bus 1410 net/if_pfsync.c bus->endtime = htonl(time_uptime - sc->sc_ureq_received);