Searched refs:bus (Results 51 - 75 of 2070) sorted by relevance

1234567891011>>

/freebsd-10.1-release/sys/ia64/acpica/
H A Dacpi_wakeup.c30 #include <sys/bus.h>
/freebsd-10.1-release/sys/mips/include/
H A Dclock.h14 #include <sys/bus.h>
/freebsd-10.1-release/sys/powerpc/ofw/
H A Dofw_pcibus.h32 #include <sys/bus.h>
/freebsd-10.1-release/sys/contrib/octeon-sdk/
H A Dcvmx-pcie.h89 uint64_t bus : 8; /* Target bus number sent in the ID in the request. */ member in struct:__anon7215::__anon7216
161 * Initialize a PCIe port for use in host(RC) mode. It doesn't enumerate the bus.
182 * @param bus Sub bus
189 uint8_t cvmx_pcie_config_read8(int pcie_port, int bus, int dev, int fn, int reg);
195 * @param bus Sub bus
202 uint16_t cvmx_pcie_config_read16(int pcie_port, int bus, int dev, int fn, int reg);
208 * @param bus Su
[all...]
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_controller.h47 typedef void (usb_bus_mem_sub_cb_t)(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align);
48 typedef void (usb_bus_mem_cb_t)(struct usb_bus *bus, usb_bus_mem_sub_cb_t *scb);
91 * are present on the given USB bus:
190 void usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
191 uint8_t usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb);
192 void usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
193 uint16_t usb_isoc_time_expand(struct usb_bus *bus, uint16_t isoc_time_curr);
194 void usb_bus_reset_async_locked(struct usb_bus *bus);
/freebsd-10.1-release/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c49 #include <sys/bus.h>
71 #include <machine/bus.h>
263 * Scan bus using firmware configured, 0 based bus numbering.
288 fsl_pcib_cfgread(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
293 if (bus == sc->sc_busnr - 1)
294 bus = 0;
297 addr |= (bus & 0xff) << 16;
329 fsl_pcib_cfgwrite(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
334 if (bus
404 fsl_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
421 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
432 fsl_pcib_init_via(struct fsl_pcib_softc *sc, uint16_t device, int bus, int slot, int fn) argument
448 fsl_pcib_init_bar(struct fsl_pcib_softc *sc, int bus, int slot, int func, int barno) argument
507 fsl_pcib_init(struct fsl_pcib_softc *sc, int bus, int maxslot) argument
[all...]
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new.py31 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
41 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss)
98 global bus
99 bus = dbus.SystemBus()
100 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH)
107 bus.add_signal_receiver(scanDone,
110 bus.add_signal_receiver(bssAdded,
113 bus.add_signal_receiver(bssRemoved,
116 bus.add_signal_receiver(propertiesChanged,
138 if_obj = bus
[all...]
/freebsd-10.1-release/sys/dev/spibus/
H A Dspibus.c13 #include <sys/bus.h>
14 #include <machine/bus.h>
25 device_set_desc(dev, "spibus bus");
40 * Since this is not a self-enumerating bus, and since we always add
87 spibus_probe_nomatch(device_t bus, device_t child) argument
91 device_printf(bus, "<unknown card>");
97 spibus_child_location_str(device_t bus, device_t child, char *buf, argument
107 spibus_child_pnpinfo_str(device_t bus, device_t child, char *buf, argument
115 spibus_read_ivar(device_t bus, device_t child, int which, u_int *result) argument
148 spibus_hinted_child(device_t bus, cons argument
[all...]
/freebsd-10.1-release/sys/dev/siba/
H A Dsiba_pcib.c36 #include <sys/bus.h>
47 #include <machine/bus.h>
83 * TODO: implement type 1 config space access (ie beyond bus 0)
86 * TODO: fully implement bus allocation.
140 * Allocate the resources which the parent bus has already
200 /* bus functions */
251 siba_pcib_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
256 //device_printf(bus, "%s: not yet implemented\n", __func__);
260 struct siba_pcib_softc *sc = device_get_softc(bus);
297 siba_pcib_activate_resource(device_t bus, device_ argument
308 siba_pcib_deactivate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
319 siba_pcib_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
345 siba_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
384 siba_pcib_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-10.1-release/sys/mips/atheros/
H A Dar71xx_pci.c36 #include <sys/bus.h>
49 #include <machine/bus.h>
162 printf("PCI bus error %d at addr 0x%08x\n", error, addr);
174 printf("AHB bus error %d at addr 0x%08x\n", error, addr);
184 ar71xx_pci_make_addr(int bus, int slot, int func, int reg) argument
186 if (bus == 0) {
189 return ((bus << 16) | (slot << 11) | (func << 8)
195 ar71xx_pci_conf_setup(int bus, int slot, int func, int reg, int bytes, argument
198 uint32_t addr = ar71xx_pci_make_addr(bus, slot, func, (reg & ~3));
207 bus, slo
213 ar71xx_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
266 ar71xx_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
290 ar71xx_pci_fixup(device_t dev, u_int bus, u_int slot, u_int func, long flash_addr, int len) argument
332 ar71xx_pci_slot_fixup(device_t dev, u_int bus, u_int slot, u_int func) argument
503 ar71xx_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
539 ar71xx_pci_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
557 ar71xx_pci_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
[all...]
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/p2p/
H A Dp2p_find.py36 global bus
76 self.bus = dbus.SystemBus()
77 self.wpas_object = self.bus.get_object(
95 self.interface_object = self.bus.get_object(
101 self.bus.add_signal_receiver(deviceFound,
104 self.bus.add_signal_receiver(deviceLost,
H A Dp2p_stop_find.py34 global bus
74 self.bus = dbus.SystemBus()
75 self.wpas_object = self.bus.get_object(
93 self.interface_object = self.bus.get_object(
99 self.bus.add_signal_receiver(deviceLost,
102 self.bus.add_signal_receiver(p2pStateChange,
/freebsd-10.1-release/sys/cam/
H A Dcam_xpt.c34 #include <sys/bus.h>
143 typedef int xpt_busfunc_t (struct cam_eb *bus, void *arg);
236 static void xpt_acquire_bus(struct cam_eb *bus);
237 static void xpt_release_bus(struct cam_eb *bus);
242 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id);
248 xpt_find_target(struct cam_eb *bus, target_id_t target_id);
261 u_int num_patterns, struct cam_eb *bus);
278 static int xpttargettraverse(struct cam_eb *bus,
299 struct cam_eb *bus,
303 static struct cam_ed * xpt_alloc_device_default(struct cam_eb *bus,
410 struct cam_eb *bus; local
1172 xptbusmatch(struct dev_match_pattern *patterns, u_int num_patterns, struct cam_eb *bus) argument
1515 xptedtbusfunc(struct cam_eb *bus, void *arg) argument
1614 struct cam_eb *bus; local
1649 struct cam_eb *bus; local
1845 struct cam_eb *bus; local
2055 struct cam_eb *bus, *next_bus; local
2088 xpttargettraverse(struct cam_eb *bus, struct cam_et *start_target, xpt_targetfunc_t *tr_func, void *arg) argument
2127 struct cam_eb *bus; local
2167 struct cam_eb *bus; local
2286 xptdefbusfunc(struct cam_eb *bus, void *arg) argument
2417 xptsetasyncbusfunc(struct cam_eb *bus, void *arg) argument
2653 struct cam_eb *bus; local
3383 struct cam_eb *bus; local
3750 struct cam_eb *bus; local
3827 xpt_bus_register(struct cam_sim *sim, device_t parent, u_int32_t bus) argument
3958 struct cam_eb *bus; local
4148 struct cam_eb *bus; local
4265 xpt_dev_async_default(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, struct cam_ed *device, void *async_arg) argument
4556 xpt_acquire_bus(struct cam_eb *bus) argument
4565 xpt_release_bus(struct cam_eb *bus) argument
4585 xpt_alloc_target(struct cam_eb *bus, target_id_t target_id) argument
4626 struct cam_eb *bus = target->bus; local
4636 struct cam_eb *bus = target->bus; local
4656 xpt_alloc_device_default(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
4681 xpt_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id) argument
4740 struct cam_eb *bus = device->target->bus; local
4750 struct cam_eb *bus = device->target->bus; local
4812 struct cam_eb *bus; local
4828 xpt_find_target(struct cam_eb *bus, target_id_t target_id) argument
[all...]
/freebsd-10.1-release/sys/powerpc/ps3/
H A Dps3bus.c35 #include <sys/bus.h>
44 #include <machine/bus.h>
58 static int ps3bus_read_ivar(device_t bus, device_t child, int which,
60 static struct resource *ps3bus_alloc_resource(device_t bus, device_t child,
63 static int ps3bus_activate_resource(device_t bus, device_t child, int type,
74 int bus; member in struct:ps3bus_devinfo
88 static MALLOC_DEFINE(M_PS3BUS, "ps3bus", "PS3 system bus device information");
183 (lv1_repository_string("bus") >> 32) | bus_index,
195 lv1_connect_interrupt_event_receive_port(dinfo->bus,
206 irq_type, dinfo->bus, dinf
324 uint64_t bustype, bus, devs; local
494 ps3bus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) argument
525 ps3bus_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
609 ps3bus_activate_resource(device_t bus, device_t child, int type, int rid, struct resource *res) argument
[all...]
/freebsd-10.1-release/sys/x86/isa/
H A Disa.c61 #include <sys/bus.h>
65 #include <machine/bus.h>
83 * bus, which in our case is the special i386 nexus, substituting any
90 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, argument
96 int passthrough = (device_get_parent(child) != bus);
131 return resource_list_alloc(rl, bus, child, type, rid,
147 device_t bus = device_get_parent(child); local
166 re = isa_alloc_resource(bus, child, type, rid,
174 resource_list_release(rl, bus, child, type, *rid, re);
185 bsre[k] = isa_alloc_resource(bus, chil
213 isa_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r) argument
[all...]
/freebsd-10.1-release/sys/dev/fdt/
H A Dsimplebus.c32 #include <sys/bus.h>
42 uint64_t bus; member in struct:simplebus_range
69 static void simplebus_probe_nomatch(device_t bus, device_t child);
70 static int simplebus_print_child(device_t bus, device_t child);
75 static const struct ofw_bus_devinfo *simplebus_get_devinfo(device_t bus,
136 if (!ofw_bus_is_compatible(dev, "simple-bus") &&
141 device_set_desc(dev, "Flattened device tree simple bus");
224 sc->ranges[i].bus = 0;
226 sc->ranges[i].bus <<= 32;
227 sc->ranges[i].bus |
334 simplebus_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
404 simplebus_probe_nomatch(device_t bus, device_t child) argument
427 simplebus_print_child(device_t bus, device_t child) argument
[all...]
/freebsd-10.1-release/sys/arm/allwinner/
H A Da10_common.c32 #include <sys/bus.h>
38 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_common.c39 #include <sys/bus.h>
48 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/cavium/cns11xx/
H A Dcfi_bus_econa.c31 #include <sys/bus.h>
39 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/freescale/imx/
H A Dimx51_machdep.c34 #include <sys/bus.h>
39 #include <machine/bus.h>
H A Dimx53_machdep.c34 #include <sys/bus.h>
39 #include <machine/bus.h>
H A Dimx6_pl310.c36 #include <sys/bus.h>
41 #include <machine/bus.h>
H A Dimx_common.c43 #include <sys/bus.h>
52 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/mv/discovery/
H A Ddiscovery.c37 #include <sys/bus.h>
39 #include <machine/bus.h>
/freebsd-10.1-release/sys/arm/mv/kirkwood/
H A Dkirkwood.c37 #include <sys/bus.h>
39 #include <machine/bus.h>

Completed in 318 milliseconds

1234567891011>>