/freebsd-11-stable/sys/isa/ |
H A D | isa_common.h | 30 * Parts of the ISA bus implementation common to all architectures. 47 * The structure used to attach devices to the isa bus. 71 extern struct resource *isa_alloc_resource(device_t bus, device_t child, 74 extern int isa_release_resource(device_t bus, device_t child,
|
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | imx53_machdep.c | 34 #include <sys/bus.h> 40 #include <machine/bus.h>
|
H A D | imx_common.c | 41 #include <sys/bus.h> 50 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/freescale/vybrid/ |
H A D | vf_common.c | 32 #include <sys/bus.h> 37 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/rockchip/ |
H A D | rk30xx_machdep.c | 39 #include <sys/bus.h> 46 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/versatile/ |
H A D | versatile_machdep.c | 46 #include <sys/bus.h> 52 #include <machine/bus.h>
|
H A D | versatile_common.c | 39 #include <sys/bus.h> 48 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_common.c | 32 #include <sys/bus.h> 38 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/ti/ |
H A D | ti_common.c | 39 #include <sys/bus.h> 48 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/samsung/exynos/ |
H A D | exynos5_common.c | 32 #include <sys/bus.h> 38 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_common.c | 37 #include <sys/bus.h> 46 #include <machine/bus.h>
|
/freebsd-11-stable/sys/arm/xilinx/ |
H A D | zy7_machdep.c | 41 #include <sys/bus.h> 49 #include <machine/bus.h>
|
/freebsd-11-stable/sys/dev/imcsmb/ |
H A D | imcsmb_var.h | 44 #include <sys/bus.h> 46 #include <machine/bus.h>
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | ofw_pci.c | 40 #include <sys/bus.h> 52 #include <machine/bus.h> 92 * Find the addresses of the various bus spaces. The physical 141 * Get the bus range from the firmware. 143 i = OF_getprop(node, "bus-range", (void *)prop_array, 146 device_printf(dev, "could not get bus-range\n"); 150 device_printf(dev, "broken bus-range (%d)", i); 156 device_printf(dev, "bus range %u to %u; PCI bus %d\n", 166 u_int bus, u_in 165 ofw_pci_read_config_common(device_t dev, u_int regmax, u_long offset, u_int bus, u_int slot, u_int func, u_int reg, int width) argument 210 ofw_pci_write_config_common(device_t dev, u_int regmax, u_long offset, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int width) argument 289 ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 335 ofw_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 364 ofw_pci_adjust_resource(device_t bus, device_t child, int type, struct resource *r, rman_res_t start, rman_res_t end) argument 390 ofw_pci_get_dma_tag(device_t bus, device_t child __unused) argument 399 ofw_pci_get_node(device_t bus, device_t child __unused) argument [all...] |
/freebsd-11-stable/sys/mips/atheros/ |
H A D | apb.c | 33 #include <sys/bus.h> 44 #include <machine/bus.h> 163 apb_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 166 struct apb_softc *sc = device_get_softc(bus); 178 passthrough = (device_get_parent(child) != bus); 182 __func__, bus, child, type, *rid, (void *)(intptr_t)start, 186 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type, 192 * maintained by a child bus), then work out the start/end values. 245 apb_activate_resource(device_t bus, device_t child, int type, int rid, argument 250 return (BUS_ACTIVATE_RESOURCE(device_get_parent(bus), chil 255 apb_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 284 apb_setup_intr(device_t bus, device_t child, struct resource *ires, int flags, driver_filter_t *filt, driver_intr_t *handler, void *arg, void **cookiep) argument 406 apb_hinted_child(device_t bus, const char *dname, int dunit) argument 448 apb_add_child(device_t bus, u_int order, const char *name, int unit) argument 497 apb_print_child(device_t bus, device_t child) argument [all...] |
/freebsd-11-stable/sys/arm64/acpica/ |
H A D | acpi_wakeup.c | 34 #include <sys/bus.h>
|
/freebsd-11-stable/etc/rc.d/ |
H A D | devd | 37 $SYSCTL hw.bus.devctl_queue=0
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | ofw_machdep.h | 34 #include <sys/bus.h>
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | xen_pci_bus.c | 32 #include <sys/bus.h> 84 add_pci.bus = dinfo->cfg.bus; 88 panic("unable to add device bus %u devfn %u error: %d\n", 89 add_pci.bus, add_pci.devfn, error);
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_hub.c | 43 #include <sys/bus.h> 228 * has changed status. Notify the bus 232 usb_needs_explore(sc->sc_udev->bus, 0); 276 USB_BUS_UNLOCK(udev->bus); 282 USB_BUS_LOCK(udev->bus); 322 USB_BUS_LOCK_ASSERT(udev->bus, MA_OWNED); 353 usb_proc_msignal(USB_BUS_TT_PROC(udev->bus), 376 USB_BUS_LOCK(udev->bus); 393 USB_BUS_UNLOCK(udev->bus); 398 USB_BUS_UNLOCK(udev->bus); 543 struct usb_bus *bus; local 990 uhub_root_intr(struct usb_bus *bus, const uint8_t *ptr, uint8_t len) argument 1576 struct usb_bus *bus = sc->sc_udev->bus; local 1883 struct usb_bus *bus = udev->bus; local 2067 usb_isoc_time_expand(struct usb_bus *bus, uint16_t isoc_time_curr) argument 2105 struct usb_bus *bus; local 2225 usb_bus_port_get_device(struct usb_bus *bus, struct usb_port *up) argument 2244 usb_bus_port_set_device(struct usb_bus *bus, struct usb_port *up, struct usb_device *udev, uint8_t device_index) argument 2287 usb_needs_explore(struct usb_bus *bus, uint8_t do_probe) argument 2334 struct usb_bus *bus; local 2391 usb_bus_power_update(struct usb_bus *bus) argument 2506 usb_bus_powerd(struct usb_bus *bus) argument 2675 struct usb_bus *bus; local [all...] |
/freebsd-11-stable/sys/dev/fdc/ |
H A D | fdc_acpi.c | 33 #include <sys/bus.h> 45 static int fdc_acpi_probe_children(device_t bus, device_t dev, 80 device_t bus; local 83 bus = device_get_parent(dev); 84 if (ACPI_ID_PROBE(bus, dev, fdc_ids) == NULL) 87 if (ACPI_SUCCESS(ACPI_EVALUATE_OBJECT(bus, dev, "_FDE", NULL, NULL))) 100 device_t bus; local 128 bus = device_get_parent(dev); 129 if (ACPI_FAILURE(ACPI_EVALUATE_OBJECT(bus, dev, "_FDE", NULL, &buf))) { 136 error = fdc_acpi_probe_children(bus, de 150 fdc_acpi_probe_children(device_t bus, device_t dev, void *fde) argument [all...] |
/freebsd-11-stable/sys/dev/ofw/ |
H A D | ofwbus.c | 40 #include <sys/bus.h> 58 #include <machine/bus.h> 62 * The ofwbus (which is a pseudo-bus actually) iterates over the nodes that 63 * hang from the Open Firmware root node and adds them as devices to this bus 152 * ofwbus bus starts on unamed node in FDT, so we cannot make 183 ofwbus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 193 passthrough = (device_get_parent(child) != bus); 194 sc = device_get_softc(bus); 197 rle = resource_list_find(BUS_GET_RESOURCE_LIST(bus, child), 201 device_printf(bus, "n 244 ofwbus_adjust_resource(device_t bus, device_t child __unused, int type, struct resource *r, rman_res_t start, rman_res_t end) argument 273 ofwbus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument [all...] |
/freebsd-11-stable/sys/dev/spibus/ |
H A D | spibus.c | 40 #include <sys/bus.h> 41 #include <machine/bus.h> 53 device_set_desc(dev, "SPI bus"); 68 * Since this is not a self-enumerating bus, and since we always add 111 spibus_probe_nomatch(device_t bus, device_t child) argument 115 device_printf(bus, "<unknown card> at cs %d mode %d\n", devi->cs, 121 spibus_child_location_str(device_t bus, device_t child, char *buf, argument 128 snprintf(buf, buflen, "bus=%d cs=%d", device_get_unit(bus), cs); 133 spibus_child_pnpinfo_str(device_t bus, device_ argument 141 spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) argument 162 spibus_write_ivar(device_t bus, device_t child, int which, uintptr_t value) argument 211 spibus_hinted_child(device_t bus, const char *dname, int dunit) argument [all...] |
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci.c | 43 #include <sys/bus.h> 51 #include <machine/bus.h> 139 * Initialize the bus space tags. 195 * and the big-endian AHB bus 203 * Enable bus mastering and I/O,memory access 271 ixppcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 274 struct ixppcib_softc *sc = device_get_softc(bus); 312 ixppcib_activate_resource(device_t bus, device_t child, int type, int rid, argument 315 struct ixppcib_softc *sc = device_get_softc(bus); 337 ixppcib_deactivate_resource(device_t bus, device_ argument 347 ixppcib_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument 357 ixppcib_get_dma_tag(device_t bus, device_t child) argument 365 ixppcib_conf_setup(struct ixppcib_softc *sc, int bus, int slot, int func, int reg) argument 390 ixppcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument 418 ixppcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, u_int32_t val, int bytes) argument [all...] |
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ps3-hvcall.h | 98 int lv1_open_device(uint64_t bus, uint64_t dev, uint64_t zero); 99 int lv1_close_device(uint64_t bus, uint64_t dev); 100 int lv1_map_device_mmio_region(uint64_t bus, uint64_t dev, uint64_t bus_addr, uint64_t size, uint64_t page_size, uint64_t *lpar_addr); 101 int lv1_unmap_device_mmio_region(uint64_t bus, uint64_t dev, uint64_t lpar_addr); 102 int lv1_allocate_device_dma_region(uint64_t bus, uint64_t dev, uint64_t io_size, uint64_t io_pagesize, uint64_t flag, uint64_t *dma_region); 103 int lv1_free_device_dma_region(uint64_t bus, uint64_t dev, uint64_t dma_region); 104 int lv1_map_device_dma_region(uint64_t bus, uint64_t dev, uint64_t lpar_addr, uint64_t dma_region, uint64_t size, uint64_t flags); 105 int lv1_unmap_device_dma_region(uint64_t bus, uint64_t dev, uint64_t dma_region, uint64_t size); 106 int lv1_read_pci_config(uint64_t ps3bus, uint64_t bus, uint64_t dev, uint64_t func, uint64_t offset, uint64_t size, uint64_t *result); 107 int lv1_write_pci_config(uint64_t ps3bus, uint64_t bus, uint64_ [all...] |