/freebsd-10.1-release/lib/libvmmapi/ |
H A D | vmmapi.c | 647 vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func) argument 652 pptdev.bus = bus; 660 vm_unassign_pptdev(struct vmctx *ctx, int bus, int slot, int func) argument 665 pptdev.bus = bus; 673 vm_map_pptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, argument 679 pptmmio.bus = bus; 690 vm_setup_pptdev_msi(struct vmctx *ctx, int vcpu, int bus, in argument 708 vm_setup_pptdev_msix(struct vmctx *ctx, int vcpu, int bus, int slot, int func, int idx, uint64_t addr, uint64_t msg, uint32_t vector_control) argument [all...] |
/freebsd-10.1-release/sys/dev/hyperv/utilities/ |
H A D | hv_kvp.c | 40 #include <sys/bus.h>
|
/freebsd-10.1-release/sys/netpfil/pf/ |
H A D | pf.c | 47 #include <sys/bus.h>
|
H A D | pf_ioctl.c | 47 #include <sys/bus.h>
|
/freebsd-10.1-release/sys/amd64/amd64/ |
H A D | machdep.c | 65 #include <sys/bus.h>
|
H A D | trap.c | 55 #include <sys/bus.h>
|
/freebsd-10.1-release/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 188 " [--unassign-pptdev=<bus/slot/func>]\n" 233 static int unassign_pptdev, bus, slot, func; variable 756 if (sscanf(optarg, "%d/%d/%d", &bus, &slot, &func) != 3) 893 error = vm_unassign_pptdev(ctx, bus, slot, func);
|
/freebsd-10.1-release/usr.sbin/bhyve/ |
H A D | mptbl.c | 199 int bus, count; local 202 for (bus = 0; bus <= PCI_BUSMAX; bus++) 203 count += pci_count_lintr(bus); 213 mpt_generate_pci_int(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, argument 228 mpie->src_bus_id = bus; 239 int pin, bus; local 255 * All default configs route IRQs from bus 0 to the first 16 286 for (bus 307 int ioints, bus; local [all...] |
H A D | pci_emul.c | 113 #define PCI_EMUL_ECFG_SIZE (MAXBUSES * 1024 * 1024) /* 1MB per bus */ 124 static void pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, 134 * <bus>:<slot>:<func>,<emul>[,<config>] 177 /* <bus>:<slot>:<func> */ 709 pci_emul_init(struct vmctx *ctx, struct pci_devemu *pde, int bus, int slot, argument 718 pdi->pi_bus = bus; 1034 int bus, slot, func, coff, in; local 1039 bus = (addr >> 20) & 0xff; 1043 pci_cfgrw(ctx, vcpu, in, bus, slot, func, coff, bytes, (uint32_t *)val); 1066 int bus, slo local 1178 pci_apic_prt_entry(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, void *arg) argument 1192 pci_pirq_prt_entry(int bus, int slot, int pin, int pirq_pin, int ioapic_irq, void *arg) argument 1215 pci_bus_write_dsdt(int bus) argument 1366 int bus; local 1384 pci_bus_configured(int bus) argument 1564 pci_count_lintr(int bus) argument 1583 pci_walk_lintr(int bus, pci_lintr_cb cb, void *arg) argument 1609 pci_emul_is_mfdev(int bus, int slot) argument 1632 pci_emul_hdrtype_fixup(int bus, int slot, int off, int bytes, uint32_t *rv) argument 1719 pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func, int coff, int bytes, uint32_t *eax) argument [all...] |
H A D | pci_emul.h | 235 int pci_count_lintr(int bus); 236 void pci_walk_lintr(int bus, pci_lintr_cb cb, void *arg); 239 int pci_bus_configured(int bus);
|
H A D | pci_passthru.c | 524 cfginit(struct vmctx *ctx, struct pci_devinst *pi, int bus, int slot, int func) argument 533 sc->psc_sel.pc_bus = bus; 551 int bus, slot, func, error; local 570 sscanf(opts, "%d/%d/%d", &bus, &slot, &func) != 3) 573 if (vm_assign_pptdev(ctx, bus, slot, func) != 0) 582 if ((error = cfginit(ctx, pi, bus, slot, func)) != 0) 589 vm_unassign_pptdev(ctx, bus, slot, func);
|
/freebsd-10.1-release/usr.sbin/usbconfig/ |
H A D | usbconfig.c | 52 uint16_t bus; member in struct:options 374 (libusb20_dev_get_bus_number(pdev) != opt->bus)) { 641 opt->bus = unit; 653 opt->bus = num_id(argv[n + 1], "busnum");
|
/freebsd-10.1-release/usr.sbin/bluetooth/ath3kfw/ |
H A D | ath3kfw.c | 53 static int parse_ugen_name (char const *ugen, uint8_t *bus, 56 uint8_t bus, uint8_t addr, 72 uint8_t bus, addr; local 80 bus = 0; 87 if (parse_ugen_name(optarg, &bus, &addr) < 0) 114 if (find_device(be, bus, addr, &dev) < 0) { 117 "(possibly caused by lack of permissions)", bus, addr); 123 firmware, bus, addr); 134 * Parse ugen name and extract device's bus and address 138 parse_ugen_name(char const *ugen, uint8_t *bus, uint8_ argument 161 find_device(struct libusb20_backend *be, uint8_t bus, uint8_t addr, struct libusb20_device **dev) argument [all...] |
/freebsd-10.1-release/usr.sbin/ndiscvt/ |
H A D | windrv_stub.c | 42 #include <machine/bus.h> 44 #include <sys/bus.h> 129 * and dependencies. <sys/bus.h> wants both device_if.h and bus_if.h 163 * driver module will trigger a bus reprobe.
|
/freebsd-10.1-release/usr.sbin/mlxcontrol/ |
H A D | mlxcontrol.h | 47 extern int mlx_scsi_inquiry(int unit, int bus, int target, char **vendor, char **device, char **revision);
|
/freebsd-10.1-release/usr.sbin/mptutil/ |
H A D | mpt_cam.c | 59 /* Fetch the path id of bus 0 for the opened mpt controller. */ 71 /* First, find the path id of bus 0 for this mpt controller. */ 86 /* Match mptX bus 0. */ 110 /* We should have exactly 1 match for the bus. */ 131 /* mpt(4) only handles devices on bus 0. */ 138 /* Find the path ID of bus 0. */ 494 disks[count].bus = 0; 518 * were created. If id is -1, the entire bus is rescanned. 519 * Otherwise, only devices at the specified ID are rescanned. If bus 520 * is -1, then all busses are scanned instead of the specified bus 524 mpt_rescan_bus(int bus, int id) argument [all...] |
H A D | mpt_cmd.c | 116 "Invalid SCSI bus", 280 * We only print out the bus number if it is non-zero 281 * since mpt(4) only supports devices on bus zero 301 long bus, id; local 305 * Check for a raw [<bus>:]<id> string. If the bus is not 306 * specified, assume bus 0. 308 bus = strtol(name, &cp, 0); 312 if (bus < 0 || bus > [all...] |
H A D | mpt_config.c | 137 long bus, id; local 140 /* Check for a raw <bus>:<id> string. */ 141 bus = strtol(name, &cp, 0); 145 if (bus < 0 || bus > 0xff || id < 0 || id > 0xff) { 149 if (disks[i].bus == (U8)bus && 198 config_page->PhysDiskBus = disk->bus;
|
H A D | mpt_drive.c | 244 uint8_t bus, id; local 256 /* Look for a <bus>:<id> string. */ 260 bus = val; 269 if (list->drives[val]->PhysDiskBus == bus &&
|
H A D | mpt_show.c | 235 printf(" bus %d id %d", info->PhysDiskBus, info->PhysDiskID); 253 printf(" bus %d id %d", disk->bus, disk->target);
|
H A D | mptutil.h | 55 u_int bus; member in struct:mpt_standalone_disk 129 int mpt_rescan_bus(int bus, int id);
|
/freebsd-10.1-release/share/examples/drivers/ |
H A D | make_device_driver.sh | 157 #include <sys/bus.h> 162 #include <machine/bus.h> 173 /* XXX These should be defined in terms of bus-space ops. */ 180 * The softc is automatically allocated by the parent bus using the 297 * Called once when the driver is somehow connected with the bus, 298 * (Either linked in and the bus is started, or loaded as a module). 301 * the parent bus so that it looks as if the devices were detected by 305 * Add entries into the bus's list of likely devices, so that 522 * any (yay new-bus!). 538 * call the bus independen [all...] |
H A D | make_pseudo_driver.sh | 141 /* XXX These should be defined in terms of bus-space ops. */
|
/freebsd-10.1-release/contrib/dtc/Documentation/ |
H A D | dtc-paper.tex | 273 System-on-Chip bus was included in \cite{noof5} a revision of 287 interrupt tree, which can be quite different from the tree of bus 303 bus node, which is under a HyperTransport\tm bus node. The form of 304 the unit address is bus dependent, but is generally derived from the
|
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/ |
H A D | dbus-listen-preq.py | 32 global bus 39 bus = dbus.SystemBus() 40 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 53 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 56 bus.add_signal_receiver(ProbeRequest,
|