/freebsd-11-stable/sys/amd64/include/ |
H A D | bus.h | 6 #include <x86/bus.h>
|
/freebsd-11-stable/sys/i386/include/ |
H A D | bus.h | 6 #include <x86/bus.h>
|
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | usb_controller.c | 39 #include <sys/bus.h> 155 usb_root_mount_rel(struct usb_bus *bus) argument 157 if (bus->bus_roothold != NULL) { 158 DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold); 159 root_mount_rel(bus->bus_roothold); 160 bus->bus_roothold = NULL; 171 struct usb_bus *bus = device_get_ivars(dev); local 175 if (bus == NULL) { 182 /* delay vfs_mountroot until the bus is explored */ 183 bus 197 struct usb_bus *bus = device_get_softc(dev); local 258 struct usb_bus *bus = device_get_softc(dev); local 286 struct usb_bus *bus = device_get_softc(dev); local 307 usb_bus_reset_async_locked(struct usb_bus *bus) argument 331 struct usb_bus *bus = device_get_softc(dev); local 366 struct usb_bus *bus; local 428 struct usb_bus *bus; local 462 struct usb_bus *bus; local 519 struct usb_bus *bus; local 582 struct usb_bus *bus; local 604 struct usb_bus *bus; local 651 struct usb_bus *bus; local 671 struct usb_bus *bus = arg; local 703 struct usb_bus *bus; local 804 usb_attach_sub(device_t dev, struct usb_bus *bus) argument 901 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 913 usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument 926 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 946 usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb) argument 989 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 1000 usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument [all...] |
/freebsd-11-stable/tools/bus_space/ |
H A D | Makefile.inc | 4 SRCS+= bus.c busdma.c
|
/freebsd-11-stable/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, uint8_t mask, uint8_t status) argument 62 return (ppb_poll_bus(bus, 4, mask, status, PPB_NOINTR | PPB_POLL)); 66 do_peripheral_wait(device_t bus, uint8_t mask, uint8_t 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-11-stable/sys/dev/usb/ |
H A D | usb_bus.h | 39 struct usb_bus *bus; member in struct:usb_bus_msg 52 #define USB_BUS_TT_PROC(bus) USB_BUS_NON_GIANT_ISOC_PROC(bus) 53 #define USB_BUS_CS_PROC(bus) USB_BUS_NON_GIANT_ISOC_PROC(bus) 56 #define USB_BUS_GIANT_PROC(bus) (&(bus)->giant_callback_proc) 57 #define USB_BUS_NON_GIANT_ISOC_PROC(bus) (&(bus)->non_giant_isoc_callback_proc) 58 #define USB_BUS_NON_GIANT_BULK_PROC(bus) ( [all...] |
/freebsd-11-stable/sys/dev/smbus/ |
H A D | smbconf.h | 56 * SMB bus errors 98 #define smbus_quick(bus,slave,how) \ 99 (SMBUS_QUICK(device_get_parent(bus), slave, how)) 100 #define smbus_sendb(bus,slave,byte) \ 101 (SMBUS_SENDB(device_get_parent(bus), slave, byte)) 102 #define smbus_recvb(bus,slave,byte) \ 103 (SMBUS_RECVB(device_get_parent(bus), slave, byte)) 104 #define smbus_writeb(bus,slave,cmd,byte) \ 105 (SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte)) 106 #define smbus_writew(bus,slav [all...] |
/freebsd-11-stable/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-11-stable/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); 117 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument 121 (bus >= pcie_minbus && bus <= pcie_maxbus) && 122 (bus ! 132 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument 160 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-11-stable/sys/arm/include/ |
H A D | fdt.h | 35 #include <machine/bus.h>
|
/freebsd-11-stable/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-11-stable/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-11-stable/sys/mips/include/ |
H A D | fdt.h | 35 #include <machine/bus.h>
|
H A D | clock.h | 14 #include <sys/bus.h>
|
/freebsd-11-stable/sys/contrib/alpine-hal/ |
H A D | al_hal_plat_types.h | 49 #include <machine/bus.h> 50 #include <sys/bus.h>
|
/freebsd-11-stable/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, 52 int ppt_assign_device(struct vm *vm, int bus, int slot, int func); 53 int ppt_unassign_device(struct vm *vm, int bus, int slot, int func);
|
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | iiconf.c | 36 #include <sys/bus.h> 68 iicbus_intr(device_t bus, int event, char *buf) argument 70 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 109 iicbus_request_bus(device_t bus, device_t dev, int how) argument 111 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 130 * Drop the lock around the call to the bus driver, it 137 error = IICBUS_CALLBACK(device_get_parent(bus), 160 iicbus_release_bus(device_t bus, device_t dev) argument 162 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); 174 IICBUS_CALLBACK(device_get_parent(bus), IIC_RELEASE_BU 189 iicbus_started(device_t bus) argument 202 iicbus_start(device_t bus, u_char slave, int timeout) argument 224 iicbus_repeated_start(device_t bus, u_char slave, int timeout) argument 246 iicbus_stop(device_t bus) argument 269 iicbus_write(device_t bus, const char *buf, int len, int *sent, int timeout) argument 287 iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) argument 304 iicbus_write_byte(device_t bus, char byte, int timeout) argument 323 iicbus_read_byte(device_t bus, char *byte, int timeout) argument 341 iicbus_block_write(device_t bus, u_char slave, char *buf, int len, int *sent) argument 362 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) argument 390 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument 400 device_t bus; local 420 device_t *children, bus; local [all...] |
/freebsd-11-stable/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-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | hardirq.h | 37 #include <sys/bus.h>
|
/freebsd-11-stable/sys/dev/bhnd/cores/pcie2/ |
H A D | bhnd_pcie2_hostbvar.h | 40 #include <sys/bus.h>
|
/freebsd-11-stable/sys/x86/include/ |
H A D | ofw_machdep.h | 32 #include <machine/bus.h>
|
H A D | pci_cfgreg.h | 52 u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes); 53 void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes); 56 int pci_pir_probe(int bus, int require_parse); 57 int pci_pir_route_interrupt(int bus, int device, int func, int pin);
|
/freebsd-11-stable/tools/bus_space/C/ |
H A D | Makefile | 3 LIB= bus
|