Searched refs:bus (Results 1 - 25 of 2414) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/amd64/include/
H A Dbus.h6 #include <x86/bus.h>
/freebsd-10-stable/sys/i386/include/
H A Dbus.h6 #include <x86/bus.h>
/freebsd-10-stable/sys/dev/usb/controller/
H A Dusb_controller.c39 #include <sys/bus.h>
157 usb_root_mount_rel(struct usb_bus *bus) argument
159 if (bus->bus_roothold != NULL) {
160 DPRINTF("Releasing root mount hold %p\n", bus->bus_roothold);
161 root_mount_rel(bus->bus_roothold);
162 bus->bus_roothold = NULL;
173 struct usb_bus *bus = device_get_ivars(dev); local
177 if (bus == NULL) {
184 /* delay vfs_mountroot until the bus is explored */
185 bus
199 struct usb_bus *bus = device_get_softc(dev); local
260 struct usb_bus *bus = device_get_softc(dev); local
288 struct usb_bus *bus = device_get_softc(dev); local
309 usb_bus_reset_async_locked(struct usb_bus *bus) argument
333 struct usb_bus *bus = device_get_softc(dev); local
368 struct usb_bus *bus; local
430 struct usb_bus *bus; local
464 struct usb_bus *bus; local
521 struct usb_bus *bus; local
584 struct usb_bus *bus; local
606 struct usb_bus *bus; local
653 struct usb_bus *bus; local
673 struct usb_bus *bus = arg; local
705 struct usb_bus *bus; local
806 usb_attach_sub(device_t dev, struct usb_bus *bus) argument
903 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
915 usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument
928 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
948 usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb) argument
991 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
1002 usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb) argument
[all...]
/freebsd-10-stable/sys/dev/ppbus/
H A Dppb_base.c36 #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 Dppb_1284.c42 #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 Dppbconf.c39 #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-stable/sys/dev/usb/
H A Dusb_bus.h39 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-10-stable/sys/ia64/include/
H A Dpci_cfgreg.h34 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-stable/sys/dev/smbus/
H A Dsmbconf.h56 * 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-10-stable/sys/dev/iicbus/
H A Diiconf.c36 #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);
122 * Drop the lock around the call to the bus driver.
129 error = IICBUS_CALLBACK(device_get_parent(bus),
151 iicbus_release_bus(device_t bus, device_t dev) argument
153 struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus);
164 * Drop the lock around the call to the bus drive
191 iicbus_started(device_t bus) argument
204 iicbus_start(device_t bus, u_char slave, int timeout) argument
226 iicbus_repeated_start(device_t bus, u_char slave, int timeout) argument
248 iicbus_stop(device_t bus) argument
271 iicbus_write(device_t bus, const char *buf, int len, int *sent, int timeout) argument
289 iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) argument
306 iicbus_write_byte(device_t bus, char byte, int timeout) argument
325 iicbus_read_byte(device_t bus, char *byte, int timeout) argument
343 iicbus_block_write(device_t bus, u_char slave, char *buf, int len, int *sent) argument
364 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) argument
392 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) argument
402 device_t bus; local
422 device_t *children, bus; local
[all...]
/freebsd-10-stable/sys/mips/nlm/dev/net/
H A Dmdio.c45 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-stable/sys/amd64/pci/
H A Dpci_cfgreg.c34 #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);
118 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument
122 (bus >= pcie_minbus && bus <= pcie_maxbus) &&
123 (bus !
133 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument
161 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
181 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
207 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
233 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
315 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
346 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-10-stable/sys/dev/atkbdc/
H A Datkbdc_subr.h48 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-stable/sys/mips/atheros/
H A Dar71xx_fixup.h34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);
/freebsd-10-stable/sys/mips/include/
H A Dfdt.h35 #include <machine/bus.h>
/freebsd-10-stable/sys/sparc64/include/
H A Dofw_machdep.h31 #include <sys/bus.h>
32 #include <machine/bus.h>
/freebsd-10-stable/sys/amd64/vmm/io/
H A Dppt.h33 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-10-stable/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-wps.py38 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-stable/sys/ia64/pci/
H A Dpci_cfgreg.c36 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-stable/sys/ia64/isa/
H A Disa.c60 #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-stable/sys/dev/pci/
H A Dpcib_support.c37 #include <sys/bus.h>
60 uint8_t bus, slot, func; local
62 bus = pci_get_bus(dev);
66 return (PCI_RID(bus, slot, func));
/freebsd-10-stable/sys/ofed/include/linux/
H A Dhardirq.h35 #include <sys/bus.h>
/freebsd-10-stable/sys/x86/include/
H A Dofw_machdep.h32 #include <x86/bus.h>
H A Dpci_cfgreg.h52 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-10-stable/sys/dev/hyperv/vmbus/
H A Dhyperv_var.h32 #include <machine/bus.h>

Completed in 163 milliseconds

1234567891011>>