Searched refs:bus (Results 151 - 175 of 2478) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c49 #include <sys/bus.h>
70 #include <machine/bus.h>
349 * Scan bus using firmware configured, 0 based bus numbering.
402 fsl_pcib_cfgread(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
408 addr |= (bus & 0xff) << 16;
440 fsl_pcib_cfgwrite(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
446 addr |= (bus & 0xff) << 16;
512 fsl_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument
518 if (bus
529 fsl_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int bytes) argument
540 fsl_pcib_init_via(struct fsl_pcib_softc *sc, uint16_t device, int bus, int slot, int fn) argument
556 fsl_pcib_init(struct fsl_pcib_softc *sc, int bus, int maxslot) argument
[all...]
/freebsd-11-stable/sys/dev/tpm/
H A Dtpm_isa.c32 #include <sys/bus.h>
34 #include <machine/bus.h>
46 #include <machine/bus.h>
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_includes.h37 #include <sys/bus.h>
44 #include <sys/bus.h>
72 #include <machine/bus.h>
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_isab.c36 #include <sys/bus.h>
56 static int acpi_isab_probe(device_t bus);
57 static int acpi_isab_attach(device_t bus);
H A Dacpi_pcibvar.h38 void acpi_pcib_fetch_prt(device_t bus, ACPI_BUFFER *prt);
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_include.h9 #include <machine/bus.h>
/freebsd-11-stable/sys/dev/drm/
H A Dmga_drv.c67 device_t bus; local
73 * bus the "card" is on. If vendor is 0x3388 (Hint Corp) and the
77 bus = device_get_parent(device_get_parent(dev->device));
79 pci_get_vendor(bus) == 0x3388 &&
80 pci_get_device(bus) == 0x0021)
/freebsd-11-stable/sys/cam/
H A Dcam_xpt_sim.h41 u_int32_t bus);
/freebsd-11-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostbvar.h40 #include <sys/bus.h>
/freebsd-11-stable/lib/libdevinfo/
H A Ddevinfo_var.h32 #include <sys/bus.h>
/freebsd-11-stable/sys/dev/pci/
H A Dignore_pci.c39 #include <sys/bus.h>
/freebsd-11-stable/sys/powerpc/powermac/
H A Dgrackle.c34 #include <sys/bus.h>
49 #include <machine/bus.h>
132 * PCI bus, use the fact that they are also available directly
133 * on the processor bus and map them
142 grackle_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
152 if (grackle_enable_config(sc, bus, slot, func, reg) != 0) {
156 * secondary bus generates machine checks. Be sure
159 if (bus > 0) {
183 grackle_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
192 if (grackle_enable_config(sc, bus, slo
212 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>
46 #include <machine/bus.h>
169 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
178 if (uninorth_enable_config(sc, bus, slot, func, reg) != 0) {
196 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
205 if (uninorth_enable_config(sc, bus, slot, func, reg)) {
221 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, argument
234 * Issue type 0 configuration space accesses for the root bus.
240 if (sc->pci_sc.sc_bus == bus && sc->sc_ver < 4) {
242 * No slots less than 11 on the primary bus o
[all...]
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3bus.h43 PS3BUS_ACCESSOR(bus, BUS, int)
58 /* System bus devices */
63 /* Storage bus devices */
/freebsd-11-stable/sys/riscv/riscv/
H A Dautoconf.c49 #include <sys/bus.h>
78 /* initialize new bus architecture */
/freebsd-11-stable/sys/sparc64/isa/
H A Disa_dma.c33 #include <sys/bus.h>
/freebsd-11-stable/sys/sparc64/pci/
H A Dofw_pcib.c41 #include <sys/bus.h>
139 * Concurrently write the primary and secondary bus numbers in order
156 ofw_pcib_setup_device(device_t bus, device_t child) argument
161 switch (pci_get_vendor(bus)) {
172 OFW_PCI_SETUP_DEVICE(device_get_parent(bus), child);
/freebsd-11-stable/sys/sys/
H A Dbusdma_bufalloc.h38 #include <machine/bus.h>
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-sgmii.c35 #include <sys/bus.h>
H A Dethernet-xaui.c35 #include <sys/bus.h>
/freebsd-11-stable/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-11-stable/sys/x86/x86/
H A Dbus_machdep.c32 #include <x86/bus.h>
40 * implemented here and not in <x86/bus.h> to avoid pollution.
/freebsd-11-stable/sys/dev/fdt/
H A Dsimplebus.h38 uint64_t bus; member in struct:simplebus_range
/freebsd-11-stable/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-11-stable/sys/arm64/arm64/
H A Dgic_v3_fdt.c36 #include <sys/bus.h>
156 * GIC will act as a bus in that case.
182 /* OFW bus interface */
189 gic_v3_fdt_print_child(device_t bus, device_t child) argument
195 retval += bus_print_child_header(bus, child);
197 retval += bus_print_child_footer(bus, child);
203 gic_v3_ofw_get_devinfo(device_t bus __unused, device_t child)
212 gic_v3_ofw_bus_alloc_res(device_t bus, device_t child, int type, int *rid, argument
238 if (ofw_bus_has_prop(bus, "ranges")) {
239 ranges_len = OF_getproplen(ofw_bus_get_node(bus), "range
[all...]

Completed in 272 milliseconds

1234567891011>>