Searched refs:bus (Results 101 - 125 of 1638) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libdevinfo/
H A Ddevinfo_var.h32 #include <sys/bus.h>
/freebsd-9.3-release/sys/arm/s3c2xx0/
H A Ds3c2xx0var.h40 #include <machine/bus.h>
64 int sc_hclk; /* AHB bus clock */
/freebsd-9.3-release/sys/cam/
H A Dcam_xpt_sim.h41 u_int32_t bus);
/freebsd-9.3-release/sys/dev/ofw/
H A Dofw_bus.h32 #include <sys/bus.h>
H A Dofw_bus_subr.h34 #include <sys/bus.h>
/freebsd-9.3-release/sys/dev/pci/
H A Dignore_pci.c39 #include <sys/bus.h>
/freebsd-9.3-release/sys/ia64/include/
H A Diodev.h35 #include <machine/bus.h>
/freebsd-9.3-release/sys/isa/
H A Disahint.c33 #include <sys/bus.h>
103 isa_hint_device_unit(device_t bus, device_t child, const char *name, int *unitp) argument
116 if (!(strcmp(s, device_get_nameunit(bus)) == 0 ||
117 strcmp(s, device_get_name(bus)) == 0))
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dethernet-sgmii.c35 #include <sys/bus.h>
H A Dethernet-xaui.c35 #include <sys/bus.h>
/freebsd-9.3-release/sys/mips/idt/
H A Dobio.c38 #include <sys/bus.h>
45 #include <machine/bus.h>
158 obio_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
161 struct obio_softc *sc = device_get_softc(bus);
170 passthrough = (device_get_parent(child) != bus);
174 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type,
180 * maintained by a child bus), then work out the start/end values.
226 obio_activate_resource(device_t bus, device_t child, int type, int rid, argument
231 return (BUS_ACTIVATE_RESOURCE(device_get_parent(bus), child,
236 obio_deactivate_resource(device_t bus, device_ argument
393 obio_hinted_child(device_t bus, const char *dname, int dunit) argument
425 obio_add_child(device_t bus, u_int order, const char *name, int unit) argument
[all...]
/freebsd-9.3-release/sys/mips/nlm/
H A Dboard.h41 int bus; member in struct:xlp_i2c_devinfo
/freebsd-9.3-release/sys/powerpc/include/
H A Dofw_machdep.h34 #include <sys/bus.h>
/freebsd-9.3-release/sys/powerpc/ofw/
H A Dofw_pcib_pci.c33 #include <sys/bus.h>
50 static int ofw_pcib_pci_probe(device_t bus);
51 static int ofw_pcib_pci_attach(device_t bus);
52 static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev);
125 /* We have only one child, the PCI bus, so pass it our node */
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dps3bus.h43 PS3BUS_ACCESSOR(bus, BUS, int)
58 /* System bus devices */
63 /* Storage bus devices */
/freebsd-9.3-release/sys/sparc64/isa/
H A Disa_dma.c33 #include <sys/bus.h>
/freebsd-9.3-release/sys/sparc64/pci/
H A Dofw_pcib.c41 #include <sys/bus.h>
139 * Concurrently write the primary and secondary bus numbers in order
157 ofw_pcib_setup_device(device_t bus, device_t child) argument
162 switch (pci_get_vendor(bus)) {
173 OFW_PCI_SETUP_DEVICE(device_get_parent(bus), child);
/freebsd-9.3-release/sys/sys/
H A Dbusdma_bufalloc.h38 #include <machine/bus.h>
/freebsd-9.3-release/sys/xen/interface/io/
H A Dpciif.h70 uint32_t bus; member in struct:xen_pci_op
/freebsd-9.3-release/sys/powerpc/powermac/
H A Dgrackle.c34 #include <sys/bus.h>
46 #include <machine/bus.h>
133 * PCI bus, use the fact that they are also available directly
134 * on the processor bus and map them
143 grackle_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
153 if (grackle_enable_config(sc, bus, slot, func, reg) != 0) {
157 * secondary bus generates machine checks. Be sure
160 if (bus > 0) {
184 grackle_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
193 if (grackle_enable_config(sc, bus, slo
213 grackle_enable_config(struct grackle_softc *sc, u_int bus, u_int slot, u_int func, u_int reg) argument
[all...]
H A Duninorthpci.c32 #include <sys/bus.h>
44 #include <machine/bus.h>
164 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
173 if (uninorth_enable_config(sc, bus, slot, func, reg) != 0) {
191 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
200 if (uninorth_enable_config(sc, bus, slot, func, reg)) {
216 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, argument
229 * Issue type 0 configuration space accesses for the root bus.
235 if (sc->pci_sc.sc_bus == bus && sc->sc_ver < 4) {
237 * No slots less than 11 on the primary bus o
[all...]
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Dnexus.c40 #include <sys/bus.h>
50 #include <machine/bus.h>
61 * The nexus (which is a pseudo-bus actually) iterates over the nodes that
62 * hang from the Open Firmware root node and adds them as devices to this bus
282 nexus_print_child(device_t bus, device_t child) argument
286 rv = bus_print_child_header(bus, child);
288 rv += bus_print_child_footer(bus, child);
293 nexus_probe_nomatch(device_t bus, device_t child) argument
297 device_printf(bus, "<%s>", ofw_bus_get_name(child));
305 nexus_setup_intr(device_t bus __unuse
361 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) argument
447 nexus_adjust_resource(device_t bus, device_t child __unused, int type, struct resource *r, u_long start, u_long end) argument
[all...]
/freebsd-9.3-release/sys/powerpc/aim/
H A Dnexus.c62 #include <sys/bus.h>
70 #include <machine/bus.h>
81 * The nexus (which is a pseudo-bus actually) iterates over the nodes that
82 * exist in Open Firmware and adds them as devices to this bus so that drivers
143 * OFW bus interface.
181 /* OFW bus interface */
396 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
403 device_printf(bus, "unknown resource request from %s\n",
409 device_printf(bus, "invalid IRQ allocation from %s\n",
414 sc = device_get_softc(bus);
428 nexus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
437 nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
446 nexus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
484 nexus_ofw_get_name(device_t bus, device_t dev) argument
495 nexus_ofw_get_node(device_t bus, device_t dev) argument
506 nexus_ofw_get_type(device_t bus, device_t dev) argument
517 nexus_ofw_get_compat(device_t bus, device_t dev) argument
[all...]
/freebsd-9.3-release/sys/i386/i386/
H A Dlegacy.c40 #include <sys/bus.h>
45 #include <machine/bus.h>
71 static device_t legacy_add_child(device_t bus, u_int order, const char *name,
163 legacy_print_child(device_t bus, device_t child) argument
168 retval += bus_print_child_header(bus, child);
177 legacy_add_child(device_t bus, u_int order, const char *name, int unit) argument
190 child = device_add_child_ordered(bus, order, name, unit);
255 static device_t cpu_add_child(device_t bus, u_int order, const char *name,
317 cpu_add_child(device_t bus, u_int order, const char *name, int unit) argument
327 pc = pcpu_find(device_get_unit(bus));
[all...]
/freebsd-9.3-release/sys/sparc64/central/
H A Dcentral.c32 #include <sys/bus.h>
41 #include <machine/bus.h>
185 central_adjust_resource(device_t bus __unused, device_t child __unused,
217 central_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
232 passthrough = (device_get_parent(child) != bus);
235 rl = BUS_GET_RESOURCE_LIST(bus, child);
236 sc = device_get_softc(bus);
239 return (resource_list_alloc(rl, bus, child, type, rid, start,
262 res = bus_generic_alloc_resource(bus, child,
276 central_get_resource_list(device_t bus, device_ argument
285 central_get_devinfo(device_t bus, device_t child) argument
[all...]

Completed in 197 milliseconds

1234567891011>>