Searched refs:bus (Results 126 - 150 of 2070) sorted by relevance

1234567891011>>

/freebsd-10.1-release/sys/mips/idt/
H A Didtpci.c70 #include <sys/bus.h>
81 #include <machine/bus.h>
131 idtpci_make_addr(int bus, int slot, int func, int reg) argument
134 return 0x80000000 | (bus << 16) | (slot << 11) | (func << 8) | reg;
290 idtpci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
298 bus, slot, func, reg, bytes);
300 addr = idtpci_make_addr(bus, slot, func, reg);
346 idtpci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
354 bus, slot, func, reg, bytes, data);
357 reg_data = idtpci_read_config(dev, bus, slo
414 int dev, bus, irq; local
467 idtpci_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
[all...]
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-10.1-release/sys/mips/mips/
H A Dnexus.c45 #include <sys/bus.h>
55 #include <machine/bus.h>
180 nexus_print_child(device_t bus, device_t child) argument
184 retval += bus_print_child_header(bus, child);
188 retval += printf(" on %s\n", device_get_nameunit(bus));
210 nexus_add_child(device_t bus, u_int order, const char *name, int unit) argument
220 child = device_add_child_ordered(bus, order, name, unit);
222 device_printf(bus, "failed to add child: %s%d\n", name, unit);
238 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
248 __func__, bus, chil
363 nexus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
378 nexus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
402 nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
444 nexus_hinted_child(device_t bus, const char *dname, int dunit) argument
[all...]
/freebsd-10.1-release/sys/arm/xscale/i80321/
H A Di80321_pci.c48 #include <sys/bus.h>
53 #include <machine/bus.h>
73 device_set_desc(dev, "i80321 PCI bus");
133 i80321_pci_conf_setup(struct i80321_pci_softc *sc, int bus, int slot, int func, argument
144 * If the bus # is the same as our own, then use Type 0 cycles,
150 if (bus == busno) {
162 bus &= 0xff;
169 *addr = (bus << 16) | (slot << 11) | (func << 8) | reg | 1;
176 i80321_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument
185 if (i80321_pci_conf_setup(sc, bus, slo
217 i80321_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, u_int32_t data, int bytes) argument
279 i80321_pci_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
333 i80321_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-10.1-release/sys/mips/cavium/octe/
H A Dethernet.c34 #include <sys/bus.h>
188 static void cvm_oct_configure_common_hw(device_t bus) argument
195 sc = device_get_softc(bus);
234 sc->sc_rx_irq = bus_alloc_resource(bus, SYS_RES_IRQ, &rid,
239 device_printf(bus, "could not allocate workq irq");
243 error = bus_setup_intr(bus, sc->sc_rx_irq, INTR_TYPE_NET | INTR_MPSAFE,
247 device_printf(bus, "could not setup workq irq");
302 int cvm_oct_init_module(device_t bus) argument
312 cvm_oct_configure_common_hw(bus);
357 dev = BUS_ADD_CHILD(bus,
469 cvm_oct_cleanup_module(device_t bus) argument
[all...]
H A Dethernet-sgmii.c35 #include <sys/bus.h>
H A Dethernet-xaui.c35 #include <sys/bus.h>
/freebsd-10.1-release/sys/powerpc/psim/
H A Diobus.c31 * PSIM 'iobus' local bus. Should be set up in the device tree like:
43 #include <sys/bus.h>
44 #include <machine/bus.h>
129 device_set_desc(dev, "PSIM local bus");
307 iobus_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
315 sc = device_get_softc(bus);
326 return (bus_alloc_resource(bus, type, rid, start, end, count,
329 device_printf(bus, "unknown resource request from %s\n",
336 device_printf(bus, "failed to reserve resource for %s\n",
345 device_printf(bus,
358 iobus_release_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
372 iobus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
398 iobus_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_group_add.py42 global bus
90 self.bus = dbus.SystemBus()
91 self.wpas_object = self.bus.get_object(
109 self.interface_object = self.bus.get_object(
115 self.bus.add_signal_receiver(GroupStarted,
118 self.bus.add_signal_receiver(WpsFailure,
/freebsd-10.1-release/sys/arm/mv/orion/
H A Ddb88f5xxx.c37 #include <sys/bus.h>
43 #include <machine/bus.h>
74 int platform_pci_get_irq(u_int bus, u_int slot, u_int func, u_int pin);
/freebsd-10.1-release/sys/dev/ppbus/
H A Dppbconf.h87 #define PPB_IN_EPP_MODE(bus) (PPB_IS_EPP (ppb_get_mode (bus)))
88 #define PPB_IN_NIBBLE_MODE(bus) (ppb_get_mode (bus) & PPB_NIBBLE)
89 #define PPB_IN_PS2_MODE(bus) (ppb_get_mode (bus) & PPB_PS2)
105 /* Parallel port bus I/O opcodes */
245 device_t ppb_owner; /* device which owns the bus */
259 /* bus related functions */
/freebsd-10.1-release/sys/dev/acpica/
H A Dacpi_isab.c37 #include <sys/bus.h>
57 static int acpi_isab_probe(device_t bus);
58 static int acpi_isab_attach(device_t bus);
/freebsd-10.1-release/sys/dev/tpm/
H A Dtpm_isa.c32 #include <sys/bus.h>
34 #include <machine/bus.h>
46 #include <machine/bus.h>
/freebsd-10.1-release/sys/powerpc/wii/
H A Dwii_bus.c34 #include <sys/bus.h>
43 #include <machine/bus.h>
99 static MALLOC_DEFINE(M_WIIBUS, "wiibus", "Nintendo Wii system bus");
250 wiibus_alloc_resource(device_t bus, device_t child, int type, argument
260 sc = device_get_softc(bus);
270 device_printf(bus, "no res entry for %s memory 0x%x\n",
277 device_printf(bus,
285 return (resource_list_alloc(&dinfo->di_resources, bus, child,
288 device_printf(bus, "unknown resource request from %s\n",
295 device_printf(bus,
306 wiibus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-10.1-release/lib/libdevinfo/
H A Ddevinfo_var.h32 #include <sys/bus.h>
/freebsd-10.1-release/sys/arm/s3c2xx0/
H A Ds3c2xx0var.h40 #include <machine/bus.h>
64 int sc_hclk; /* AHB bus clock */
/freebsd-10.1-release/sys/arm/versatile/
H A Dversatile_pci.c32 #include <sys/bus.h>
38 #include <machine/bus.h>
53 #include <machine/bus.h>
305 versatile_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
309 struct versatile_pci_softc *sc = device_get_softc(bus);
346 versatile_pci_activate_resource(device_t bus, device_t child, int type, int rid, argument
362 res = (BUS_ACTIVATE_RESOURCE(device_get_parent(bus),
374 versatile_pci_setup_intr(device_t bus, device_t child, struct resource *ires, argument
379 return BUS_SETUP_INTR(device_get_parent(bus), bus, ire
408 versatile_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
459 versatile_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
[all...]
/freebsd-10.1-release/sys/cam/
H A Dcam_xpt_sim.h41 u_int32_t bus);
/freebsd-10.1-release/sys/dev/ofw/
H A Dofwbus.c40 #include <sys/bus.h>
54 #include <machine/bus.h>
58 * The ofwbus (which is a pseudo-bus actually) iterates over the nodes that
59 * hang from the Open Firmware root node and adds them as devices to this bus
284 ofwbus_print_child(device_t bus, device_t child) argument
288 rv = bus_print_child_header(bus, child);
290 rv += bus_print_child_footer(bus, child);
295 ofwbus_probe_nomatch(device_t bus, device_t child) argument
305 device_printf(bus, "<%s>",
313 ofwbus_alloc_resource(device_t bus, device_ argument
373 ofwbus_adjust_resource(device_t bus, device_t child __unused, int type, struct resource *r, u_long start, u_long end) argument
[all...]
/freebsd-10.1-release/sys/dev/pci/
H A Dignore_pci.c39 #include <sys/bus.h>
/freebsd-10.1-release/sys/ia64/include/
H A Diodev.h35 #include <machine/bus.h>
/freebsd-10.1-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-10.1-release/sys/powerpc/include/
H A Dofw_machdep.h34 #include <sys/bus.h>
/freebsd-10.1-release/sys/powerpc/powermac/
H A Dgrackle.c34 #include <sys/bus.h>
47 #include <machine/bus.h>
135 * PCI bus, use the fact that they are also available directly
136 * on the processor bus and map them
145 grackle_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
155 if (grackle_enable_config(sc, bus, slot, func, reg) != 0) {
159 * secondary bus generates machine checks. Be sure
162 if (bus > 0) {
186 grackle_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
195 if (grackle_enable_config(sc, bus, slo
215 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>
170 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
179 if (uninorth_enable_config(sc, bus, slot, func, reg) != 0) {
197 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
206 if (uninorth_enable_config(sc, bus, slot, func, reg)) {
222 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, argument
235 * Issue type 0 configuration space accesses for the root bus.
241 if (sc->pci_sc.sc_bus == bus && sc->sc_ver < 4) {
243 * No slots less than 11 on the primary bus o
[all...]

Completed in 459 milliseconds

1234567891011>>