/freebsd-10.0-release/sys/amd64/include/ |
H A D | bus.h | 6 #include <x86/bus.h>
|
/freebsd-10.0-release/sys/i386/include/ |
H A D | bus.h | 6 #include <x86/bus.h>
|
/freebsd-10.0-release/sys/dev/usb/controller/ |
H A D | usb_controller.c | 39 #include <sys/bus.h> 156 usb_root_mount_rel(struct usb_bus *bus) argument 158 if (bus->bus_roothold != NULL) { 159 DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold); 160 root_mount_rel(bus->bus_roothold); 161 bus->bus_roothold = NULL; 172 struct usb_bus *bus = device_get_ivars(dev); local 176 if (bus == NULL) { 183 /* delay vfs_mountroot until the bus is explored */ 184 bus 198 struct usb_bus *bus = device_get_softc(dev); local 253 struct usb_bus *bus = device_get_softc(dev); local 281 struct usb_bus *bus = device_get_softc(dev); local 304 struct usb_bus *bus = device_get_softc(dev); local 338 struct usb_bus *bus; local 393 struct usb_bus *bus; local 427 struct usb_bus *bus; local 482 struct usb_bus *bus; local 543 struct usb_bus *bus; local 584 struct usb_bus *bus = arg; local 616 struct usb_bus *bus; local 717 usb_attach_sub(device_t dev, struct usb_bus *bus) argument 797 usb_bus_mem_flush_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align) argument 809 usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument 822 usb_bus_mem_alloc_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align) argument 842 usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb) argument 882 usb_bus_mem_free_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align) argument 893 usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument [all...] |
/freebsd-10.0-release/sys/dev/ppbus/ |
H A D | ppb_base.c | 36 #include <sys/bus.h> 51 * Polls the bus 56 ppb_poll_bus(device_t bus, int max, argument 59 struct ppb_data *ppb = DEVTOSOFTC(bus); 63 ppb_assert_locked(bus); 68 r = ppb_rstr(bus); 77 if ((ppb_rstr(bus) & mask) == status) 81 error = mtx_sleep((caddr_t)bus, ppb->ppc_lock, PPBPRI | 97 ppb_get_epp_protocol(device_t bus) argument 101 ppb_assert_locked(bus); 102 BUS_READ_IVAR(device_get_parent(bus), bus, PPC_IVAR_EPP_PROTO, &protocol); local 112 ppb_get_mode(device_t bus) argument 127 ppb_set_mode(device_t bus, int mode) argument 148 ppb_write(device_t bus, char *buf, int len, int how) argument 161 ppb_reset_epp_timeout(device_t bus) argument 174 ppb_ecp_sync(device_t bus) argument 187 ppb_get_status(device_t bus, struct ppb_status *status) argument 206 ppb_lock(device_t bus) argument 214 ppb_unlock(device_t bus) argument 222 _ppb_assert_locked(device_t bus, const char *file, int line) argument 229 ppb_init_callout(device_t bus, struct callout *c, int flags) argument 237 ppb_sleep(device_t bus, void *wchan, int priority, const char *wmesg, int timo) argument [all...] |
H A D | ppb_1284.c | 42 #include <sys/bus.h> 60 do_1284_wait(device_t bus, char mask, char status) argument 62 return (ppb_poll_bus(bus, 4, mask, status, PPB_NOINTR | PPB_POLL)); 66 do_peripheral_wait(device_t bus, char mask, char status) argument 68 return (ppb_poll_bus(bus, 100, mask, status, PPB_NOINTR | PPB_POLL)); 79 ppb_1284_reset_error(device_t bus, int state) argument 81 struct ppb_data *ppb = DEVTOSOFTC(bus); 95 ppb_1284_get_state(device_t bus) argument 97 struct ppb_data *ppb = DEVTOSOFTC(bus); 109 ppb_1284_set_state(device_t bus, in argument 126 ppb_1284_set_error(device_t bus, int error, int event) argument 197 ppb_peripheral_negociate(device_t bus, int mode, int options) argument 285 ppb_peripheral_terminate(device_t bus, int how) argument 335 byte_peripheral_outbyte(device_t bus, char *buffer, int last) argument 397 byte_peripheral_write(device_t bus, char *buffer, int len, int *sent) argument 444 byte_1284_inbyte(device_t bus, char *buffer) argument 484 nibble_1284_inbyte(device_t bus, char *buffer) argument 528 spp_1284_read(device_t bus, int mode, char *buffer, int max, int *read) argument 597 ppb_1284_read_id(device_t bus, int mode, char *buffer, int max, int *read) argument 631 ppb_1284_read(device_t bus, int mode, char *buffer, int max, int *read) argument 658 ppb_1284_negociate(device_t bus, int mode, int options) argument 820 ppb_1284_terminate(device_t bus) argument [all...] |
H A D | ppbconf.c | 39 #include <sys/bus.h> 52 static MALLOC_DEFINE(M_PPBUSDEV, "ppbusdev", "Parallel Port bus device"); 62 ppbus_print_child(device_t bus, device_t dev) argument 67 retval = bus_print_child_header(bus, dev); 74 retval += bus_print_child_footer(bus, dev); 82 device_set_desc(dev, "Parallel port bus"); 107 /* add the device as a child to the ppbus bus with the allocated 116 ppbus_read_ivar(device_t bus, device_t dev, int index, uintptr_t* val) argument 122 *val = (u_long)ppb_get_mode(bus); 132 ppbus_write_ivar(device_t bus, device_ argument 207 ppb_pnp_detect(device_t bus) argument 288 ppb_scan_bus(device_t bus) argument 456 ppbus_setup_intr(device_t bus, device_t child, struct resource *r, int flags, driver_filter_t *filt, void (*ihand)(void *), void *arg, void **cookiep) argument 480 ppbus_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih) argument 505 ppb_request_bus(device_t bus, device_t dev, int how) argument 554 ppb_release_bus(device_t bus, device_t dev) argument [all...] |
/freebsd-10.0-release/sys/x86/include/ |
H A D | ofw_machdep.h | 32 #include <x86/bus.h>
|
/freebsd-10.0-release/sys/ia64/include/ |
H A D | pci_cfgreg.h | 34 uint32_t pci_cfgregread(int bus, int slot, int func, int reg, int len); 35 void pci_cfgregwrite(int bus, int slot, int func, int reg, uint32_t data,
|
/freebsd-10.0-release/sys/dev/iicbus/ |
H A D | iiconf.c | 36 #include <sys/bus.h> 46 iicbus_intr(device_t bus, int event, char *buf) argument 48 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 88 iicbus_request_bus(device_t bus, device_t dev, int how) argument 90 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 96 error = IICBUS_CALLBACK(device_get_parent(bus), 115 IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BUS, 129 iicbus_release_bus(device_t bus, device_t dev) argument 131 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 135 error = IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BU 162 iicbus_started(device_t bus) argument 175 iicbus_start(device_t bus, u_char slave, int timeout) argument 197 iicbus_repeated_start(device_t bus, u_char slave, int timeout) argument 219 iicbus_stop(device_t bus) argument 242 iicbus_write(device_t bus, const char *buf, int len, int *sent, int timeout) argument 260 iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) argument 277 iicbus_write_byte(device_t bus, char byte, int timeout) argument 291 iicbus_read_byte(device_t bus, char *byte, int timeout) argument 304 iicbus_block_write(device_t bus, u_char slave, char *buf, int len, int *sent) argument 325 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) argument 353 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument 367 device_t *children, bus; local [all...] |
/freebsd-10.0-release/sys/dev/smbus/ |
H A D | smbconf.h | 52 * SMB bus errors 87 #define smbus_quick(bus,slave,how) \ 88 (SMBUS_QUICK(device_get_parent(bus), slave, how)) 89 #define smbus_sendb(bus,slave,byte) \ 90 (SMBUS_SENDB(device_get_parent(bus), slave, byte)) 91 #define smbus_recvb(bus,slave,byte) \ 92 (SMBUS_RECVB(device_get_parent(bus), slave, byte)) 93 #define smbus_writeb(bus,slave,cmd,byte) \ 94 (SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte)) 95 #define smbus_writew(bus,slav [all...] |
/freebsd-10.0-release/sys/mips/nlm/dev/net/ |
H A D | mdio.c | 45 nlm_int_gmac_mdio_read(uint64_t nae_base, int bus, int block, argument 62 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus * 4))); 65 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus*4)), 70 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus * 4)), 75 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus * 4)), 80 NAE_REG(block, intf_type, (INT_MDIO_RD_STAT + bus * 4))) & 85 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus * 4)), 90 NAE_REG(block, intf_type, (INT_MDIO_RD_STAT + bus * 4))); 95 nlm_int_gmac_mdio_write(uint64_t nae_base, int bus, int block, argument 112 NAE_REG(block, intf_type, (INT_MDIO_CTRL + bus * 146 nlm_int_gmac_mdio_reset(uint64_t nae_base, int bus, int block, int intf_type) argument 178 nlm_gmac_mdio_read(uint64_t nae_base, int bus, int block, int intf_type, int phyaddr, int regidx) argument 239 nlm_gmac_mdio_write(uint64_t nae_base, int bus, int block, int intf_type, int phyaddr, int regidx, uint16_t val) argument 301 nlm_gmac_mdio_reset(uint64_t nae_base, int bus, int block, int intf_type) argument [all...] |
/freebsd-10.0-release/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 34 #include <sys/bus.h> 51 static uint32_t pci_docfgregread(int bus, int slot, int func, int reg, 53 static int pciereg_cfgread(int bus, unsigned slot, unsigned func, 55 static void pciereg_cfgwrite(int bus, unsigned slot, unsigned func, 57 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes); 58 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes); 123 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument 127 (bus >= pcie_minbus && bus <= pcie_maxbus) && 128 (bus ! 138 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument 163 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument 180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument 206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument 232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument 314 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument 345 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument [all...] |
/freebsd-10.0-release/sys/dev/atkbdc/ |
H A D | atkbdc_subr.h | 48 int atkbdc_print_child(device_t bus, device_t dev); 49 int atkbdc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val); 50 int atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val); 51 struct resource_list *atkbdc_get_resource_list(device_t bus, device_t dev);
|
/freebsd-10.0-release/sys/dev/usb/ |
H A D | usb_bus.h | 37 struct usb_bus *bus; member in struct:usb_bus_msg 59 #define USB_BUS_GIANT_PROC(bus) (&(bus)->giant_callback_proc) 60 #define USB_BUS_NON_GIANT_PROC(bus) (&(bus)->non_giant_callback_proc) 61 #define USB_BUS_EXPLORE_PROC(bus) (&(bus)->explore_proc) 62 #define USB_BUS_CONTROL_XFER_PROC(bus) (&(bus)->control_xfer_proc)
|
H A D | usb_hub.h | 62 void usb_bus_port_set_device(struct usb_bus *bus, struct usb_port *up, 64 struct usb_device *usb_bus_port_get_device(struct usb_bus *bus, 66 void usb_needs_explore(struct usb_bus *bus, uint8_t do_probe); 68 void usb_bus_power_update(struct usb_bus *bus); 69 void usb_bus_powerd(struct usb_bus *bus);
|
/freebsd-10.0-release/sys/mips/atheros/ |
H A D | ar71xx_fixup.h | 34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);
|
/freebsd-10.0-release/sys/sparc64/include/ |
H A D | ofw_machdep.h | 31 #include <sys/bus.h> 32 #include <machine/bus.h>
|
/freebsd-10.0-release/sys/amd64/vmm/io/ |
H A D | ppt.h | 33 int ppt_map_mmio(struct vm *vm, int bus, int slot, int func, 35 int ppt_setup_msi(struct vm *vm, int vcpu, int bus, int slot, int func, 37 int ppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func, 46 int ppt_assign_device(struct vm *vm, int bus, int slot, int func); 47 int ppt_unassign_device(struct vm *vm, int bus, int slot, int func);
|
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-wps.py | 38 global bus 39 bus = dbus.SystemBus() 40 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 47 bus.add_signal_receiver(scanDone, 50 bus.add_signal_receiver(bssAdded, 53 bus.add_signal_receiver(bssRemoved, 56 bus.add_signal_receiver(propertiesChanged, 59 bus.add_signal_receiver(wpsEvent, 62 bus.add_signal_receiver(credentials, 69 if_obj = bus [all...] |
/freebsd-10.0-release/sys/ia64/pci/ |
H A D | pci_cfgreg.c | 36 pci_sal_address(int dom, int bus, int slot, int func, int reg) argument 41 if (dom >= 0 && dom <= 255 && bus >= 0 && bus <= 255 && 44 addr = ((u_long)dom << 24) | ((u_long)bus << 16) | 67 pci_cfgregread(int bus, int slot, int func, int reg, int len) argument 73 addr = pci_sal_address(bus >> 8, bus & 0xff, slot, func, reg); 88 pci_cfgregwrite(int bus, int slot, int func, int reg, uint32_t data, int len) argument 94 addr = pci_sal_address(bus >> 8, bus [all...] |
/freebsd-10.0-release/sys/ia64/isa/ |
H A D | isa.c | 60 #include <sys/bus.h> 62 #include <machine/bus.h> 78 * bus, which in our case is the special i386 nexus, substituting any 85 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, argument 91 int passthrough = (device_get_parent(child) != bus); 126 return resource_list_alloc(rl, bus, child, type, rid, 131 isa_release_resource(device_t bus, device_t child, int type, int rid, argument 136 return resource_list_release(rl, bus, child, type, rid, r);
|
/freebsd-10.0-release/sys/x86/pci/ |
H A D | qpi.c | 29 * This driver provides a psuedo-bus to enumerate the PCI buses 30 * present on a sytem using a QPI chipset. It creates a qpi0 bus that 39 #include <sys/bus.h> 76 /* Add a qpi bus device. */ 78 panic("Failed to add qpi bus"); 85 device_set_desc(dev, "QPI system bus"); 90 * Look for a PCI bus with the specified bus address. If one is found, 94 qpi_probe_pcib(device_t dev, int bus) argument 101 * If a PCI bus alread 136 int bus; local 150 qpi_print_child(device_t bus, device_t child) argument 241 qpi_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument 249 qpi_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument 260 device_t bus; local 270 device_t bus; local 280 device_t bus; local [all...] |
H A D | pci_bus.c | 34 #include <sys/bus.h> 63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 66 return(pci_cfgregread(bus, slot, func, reg, bytes)); 72 legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 75 pci_cfgregwrite(bus, slot, func, reg, data, bytes); 99 device_t bus; local 101 bus = device_get_parent(pcib); 102 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, 109 device_t bus; local 111 bus 119 device_t bus, hostb; local 139 legacy_pcib_is_host_bridge(int bus, int slot, int func, uint32_t id, uint8_t class, uint8_t subclass, uint8_t *busnum) argument 378 int bus, slot, func; local 513 int bus; local 720 int bus; local [all...] |
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | hardirq.h | 34 #include <sys/bus.h>
|
/freebsd-10.0-release/sys/powerpc/include/ |
H A D | fdt.h | 35 #include <machine/bus.h>
|