Home
last modified time | relevance | path

Searched defs:bus (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/freebsd/sys/dev/ppbus/
H A Dppb_base.c55 ppb_poll_bus(device_t bus, int max, in ppb_poll_bus()
96 ppb_get_epp_protocol(device_t bus) in ppb_get_epp_protocol()
111 ppb_get_mode(device_t bus) in ppb_get_mode()
126 ppb_set_mode(device_t bus, int mode) in ppb_set_mode()
147 ppb_write(device_t bus, char *buf, int len, int how) in ppb_write()
160 ppb_reset_epp_timeout(device_t bus) in ppb_reset_epp_timeout()
173 ppb_ecp_sync(device_t bus) in ppb_ecp_sync()
186 ppb_get_status(device_t bus, struct ppb_status *status) in ppb_get_status()
205 ppb_lock(device_t bus) in ppb_lock()
213 ppb_unlock(device_t bus) in ppb_unlock()
[all …]
H A Dppb_1284.c59 do_1284_wait(device_t bus, uint8_t mask, uint8_t status) in do_1284_wait()
65 do_peripheral_wait(device_t bus, uint8_t mask, uint8_t status) in do_peripheral_wait()
78 ppb_1284_reset_error(device_t bus, int state) in ppb_1284_reset_error()
94 ppb_1284_get_state(device_t bus) in ppb_1284_get_state()
108 ppb_1284_set_state(device_t bus, int state) in ppb_1284_set_state()
125 ppb_1284_set_error(device_t bus, int error, int event) in ppb_1284_set_error()
196 ppb_peripheral_negociate(device_t bus, int mode, int options) in ppb_peripheral_negociate()
283 ppb_peripheral_terminate(device_t bus, int how) in ppb_peripheral_terminate()
333 byte_peripheral_outbyte(device_t bus, char *buffer, int last) in byte_peripheral_outbyte()
395 byte_peripheral_write(device_t bus, char *buffer, int len, int *sent) in byte_peripheral_write()
[all …]
H A Dppbconf.c62 ppbus_print_child(device_t bus, device_t dev) in ppbus_print_child()
116 ppbus_read_ivar(device_t bus, device_t dev, int index, uintptr_t* val) in ppbus_read_ivar()
132 ppbus_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) in ppbus_write_ivar()
207 ppb_pnp_detect(device_t bus) in ppb_pnp_detect()
288 ppb_scan_bus(device_t bus) in ppb_scan_bus()
441 ppbus_setup_intr(device_t bus, device_t child, struct resource *r, int flags, in ppbus_setup_intr()
465 ppbus_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih) in ppbus_teardown_intr()
490 ppb_request_bus(device_t bus, device_t dev, int how) in ppb_request_bus()
539 ppb_release_bus(device_t bus, device_t dev) in ppb_release_bus()
H A Dppb_msq.c59 mode2xfer(device_t bus, struct ppb_device *ppbdev, int opcode) in mode2xfer()
119 ppb_MS_init(device_t bus, device_t dev, struct ppb_microseq *loop, int opcode) in ppb_MS_init()
137 ppb_MS_exec(device_t bus, device_t dev, int opcode, union ppb_insarg param1, in ppb_MS_exec()
162 ppb_MS_loop(device_t bus, device_t dev, struct ppb_microseq *prolog, in ppb_MS_loop()
256 ppb_MS_microseq(device_t bus, device_t dev, struct ppb_microseq *msq, int *ret) in ppb_MS_microseq()
/freebsd/sys/dev/usb/controller/
H A Dusb_controller.c153 usb_root_mount_rel(struct usb_bus *bus) in usb_root_mount_rel()
169 struct usb_bus *bus = device_get_ivars(dev); in usb_attach() local
195 struct usb_bus *bus = device_get_softc(dev); in usb_detach() local
256 struct usb_bus *bus = device_get_softc(dev); in usb_suspend() local
284 struct usb_bus *bus = device_get_softc(dev); in usb_resume() local
305 usb_bus_reset_async_locked(struct usb_bus *bus) in usb_bus_reset_async_locked()
329 struct usb_bus *bus = device_get_softc(dev); in usb_shutdown() local
364 struct usb_bus *bus; in usb_bus_explore() local
428 struct usb_bus *bus; in usb_bus_detach() local
462 struct usb_bus *bus; in usb_bus_suspend() local
[all …]
/freebsd/sys/dev/iicbus/
H A Diiconf.c94 iicbus_intr(device_t bus, int event, char *buf) in iicbus_intr()
135 iicbus_request_bus(device_t bus, device_t dev, int how) in iicbus_request_bus()
203 iicbus_release_bus(device_t bus, device_t dev) in iicbus_release_bus()
238 iicbus_started(device_t bus) in iicbus_started()
251 iicbus_start(device_t bus, u_char slave, int timeout) in iicbus_start()
273 iicbus_repeated_start(device_t bus, u_char slave, int timeout) in iicbus_repeated_start()
295 iicbus_stop(device_t bus) in iicbus_stop()
318 iicbus_write(device_t bus, const char *buf, int len, int *sent, int timeout) in iicbus_write()
336 iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) in iicbus_read()
353 iicbus_write_byte(device_t bus, char byte, int timeout) in iicbus_write_byte()
[all …]
H A Diicbus.c170 iicbus_probe_nomatch(device_t bus, device_t child) in iicbus_probe_nomatch()
178 iicbus_child_location(device_t bus, device_t child, struct sbuf *sb) in iicbus_child_location()
187 iicbus_child_pnpinfo(device_t bus, device_t child, struct sbuf *sb) in iicbus_child_pnpinfo()
193 iicbus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) in iicbus_read_ivar()
208 iicbus_write_ivar(device_t bus, device_t child, int which, uintptr_t value) in iicbus_write_ivar()
264 iicbus_hinted_child(device_t bus, const char *dname, int dunit) in iicbus_hinted_child()
/freebsd/sys/dev/smbus/
H A Dsmbconf.h97 #define smbus_quick(bus,slave,how) \ argument
99 #define smbus_sendb(bus,slave,byte) \ argument
101 #define smbus_recvb(bus,slave,byte) \ argument
103 #define smbus_writeb(bus,slave,cmd,byte) \ argument
105 #define smbus_writew(bus,slave,cmd,word) \ argument
107 #define smbus_readb(bus,slave,cmd,byte) \ argument
109 #define smbus_readw(bus,slave,cmd,word) \ argument
111 #define smbus_pcall(bus,slave,cmd,sdata,rdata) \ argument
113 #define smbus_bwrite(bus,slave,cmd,count,buf) \ argument
115 #define smbus_bread(bus,slave,cmd,count,buf) \ argument
[all …]
H A Dsmbconf.c46 smbus_intr(device_t bus, u_char devaddr, char low, char high, int error) in smbus_intr()
116 smbus_request_bus(device_t bus, device_t dev, int how) in smbus_request_bus()
160 smbus_release_bus(device_t bus, device_t dev) in smbus_release_bus()
/freebsd/sys/amd64/pci/
H A Dpci_cfgreg.c90 pcie_lookup_region(int domain, int bus) in pcie_lookup_region()
101 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread()
125 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread()
151 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, in pci_cfgregwrite()
180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable()
206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread()
232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite()
313 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument
329 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgread()
361 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgwrite()
/freebsd/sys/dev/atkbdc/
H A Datkbdc_subr.c49 atkbdc_print_child(device_t bus, device_t dev) in atkbdc_print_child()
71 atkbdc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val) in atkbdc_read_ivar()
96 atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) in atkbdc_write_ivar()
121 *atkbdc_get_resource_list(device_t bus, device_t dev) in atkbdc_get_resource_list()
/freebsd/sys/dev/acpica/
H A Dacpi_container.c112 acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount, in acpi_syscont_alloc_msi()
122 acpi_syscont_release_msi(device_t bus, device_t dev, int count, int *irqs) in acpi_syscont_release_msi()
130 acpi_syscont_alloc_msix(device_t bus, device_t dev, int *irq) in acpi_syscont_alloc_msix()
138 acpi_syscont_release_msix(device_t bus, device_t dev, int irq) in acpi_syscont_release_msix()
146 acpi_syscont_map_msi(device_t bus, device_t dev, int irq, uint64_t *addr, in acpi_syscont_map_msi()
/freebsd/sys/x86/pci/
H A Dpci_early_quirks.c70 intel_stolen_base_gen3(int domain, int bus, int slot, int func) in intel_stolen_base_gen3() argument
81 intel_stolen_base_gen11(int domain, int bus, int slot, int func) in intel_stolen_base_gen11() argument
94 intel_stolen_size_gen3(int domain, int bus, int slot, int func) in intel_stolen_size_gen3() argument
134 intel_stolen_size_gen6(int domain, int bus, int slot, int func) in intel_stolen_size_gen6() argument
145 intel_stolen_size_gen8(int domain, int bus, in argument
156 intel_stolen_size_chv(int domain,int bus,int slot,int func) intel_stolen_size_chv() argument
178 intel_stolen_size_gen9(int domain,int bus,int slot,int func) intel_stolen_size_gen9() argument
282 const int bus = 0; intel_graphics_stolen() local
[all...]
H A Dpci_bus.c63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_read_config()
72 legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_write_config()
99 device_t bus; in legacy_pcib_alloc_msi() local
109 device_t bus; in legacy_pcib_alloc_msix() local
119 device_t bus, hostb; in legacy_pcib_map_msi() local
139 legacy_pcib_is_host_bridge(int bus, int slot, int func, in legacy_pcib_is_host_bridge()
378 int bus, slot, func; in legacy_pcib_identify() local
513 int bus; in legacy_pcib_attach() local
747 int bus; in pcibios_pcib_probe() local
H A Dqpi.c100 qpi_probe_pcib(device_t dev, int bus) in qpi_probe_pcib()
148 int bus; in qpi_attach() local
163 qpi_print_child(device_t bus, device_t child) in qpi_print_child()
267 device_t bus; in qpi_pcib_map_msi() local
/freebsd/sys/dev/usb/
H A Dusb_bus.h40 struct usb_bus *bus; member
53 #define USB_BUS_TT_PROC(bus) USB_BUS_NON_GIANT_ISOC_PROC(bus) argument
54 #define USB_BUS_CS_PROC(bus) USB_BUS_NON_GIANT_ISOC_PROC(bus) argument
57 #define USB_BUS_GIANT_PROC(bus) (&(bus)->giant_callback_proc) argument
58 #define USB_BUS_NON_GIANT_ISOC_PROC(bus) (&(bus)->non_giant_isoc_callback_proc) argument
59 #define USB_BUS_NON_GIANT_BULK_PROC(bus) (&(bus)->non_giant_bulk_callback_proc) argument
60 #define USB_BUS_EXPLORE_PROC(bus) (&(bus)->explore_proc) argument
61 #define USB_BUS_CONTROL_XFER_PROC(bus) (&(bus)->control_xfer_proc) argument
/freebsd/sys/powerpc/psim/
H A Diobus.c307 iobus_get_rman(device_t bus, int type, u_int flags) in iobus_get_rman()
322 iobus_alloc_resource(device_t bus, device_t child, int type, int *rid, in iobus_alloc_resource()
343 iobus_adjust_resource(device_t bus, device_t child, struct resource *r, in iobus_adjust_resource()
360 iobus_release_resource(device_t bus, device_t child, struct resource *res) in iobus_release_resource()
375 iobus_activate_resource(device_t bus, device_t child, struct resource *res) in iobus_activate_resource()
390 iobus_deactivate_resource(device_t bus, device_t child, struct resource *res) in iobus_deactivate_resource()
405 iobus_map_resource(device_t bus, device_t child, struct resource *r, in iobus_map_resource()
443 iobus_unmap_resource(device_t bus, device_t child, struct resource *r, in iobus_unmap_resource()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c318 ofw_pcib_route_interrupt(device_t bus, device_t dev, int pin) in ofw_pcib_route_interrupt()
422 ofw_pcib_alloc_resource(device_t bus, device_t child, int type, int *rid, in ofw_pcib_alloc_resource()
443 ofw_pcib_release_resource(device_t bus, device_t child, struct resource *res) in ofw_pcib_release_resource()
460 ofw_pcib_translate_resource(device_t bus, int type, rman_res_t start, in ofw_pcib_translate_resource()
499 ofw_pcib_activate_resource(device_t bus, device_t child, struct resource *res) in ofw_pcib_activate_resource()
603 ofw_pcib_bus_get_bus_tag(device_t bus, device_t child) in ofw_pcib_bus_get_bus_tag()
611 ofw_pcib_deactivate_resource(device_t bus, device_t child, struct resource *res) in ofw_pcib_deactivate_resource()
629 ofw_pcib_adjust_resource(device_t bus, device_t child, in ofw_pcib_adjust_resource()
650 ofw_pcib_get_node(device_t bus, device_t dev) in ofw_pcib_get_node()
708 ofw_pcib_get_rman(device_t bus, int type, u_int flags) in ofw_pcib_get_rman()
/freebsd/sys/i386/pci/
H A Dpci_cfgreg.c164 pcie_lookup_region(int domain, int bus) in pcie_lookup_region()
175 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread()
199 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread()
220 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, in pci_cfgregwrite()
249 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable()
299 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread()
325 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite()
592 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument
600 pciereg_findaddr(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_findaddr()
650 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgread()
[all …]
/freebsd/sys/dev/hid/
H A Dhidbus.c286 device_t *children, bus; in hidbus_detach_children() local
396 hidbus_child_detached(device_t bus, device_t child) in hidbus_child_detached()
420 hidbus_child_deleted(device_t bus, device_t child) in hidbus_child_deleted()
433 hidbus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) in hidbus_read_ivar()
461 hidbus_write_ivar(device_t bus, device_t child, int which, uintptr_t value) in hidbus_write_ivar()
494 hidbus_child_location(device_t bus, device_t child, struct sbuf *sb) in hidbus_child_location()
504 hidbus_child_pnpinfo(device_t bus, device_t child, struct sbuf *sb) in hidbus_child_pnpinfo()
521 device_t bus = device_get_parent(child); in hidbus_set_desc() local
535 hidbus_find_child(device_t bus, int32_t usage) in hidbus_find_child()
600 hidbus_intr_start(device_t bus, device_t child) in hidbus_intr_start()
[all …]
/freebsd/sys/powerpc/powermac/
H A Duninorth.c466 unin_chip_get_rman(device_t bus, int type, u_int flags) in unin_chip_get_rman()
481 unin_chip_alloc_resource(device_t bus, device_t child, int type, int *rid, in unin_chip_alloc_resource()
557 unin_chip_adjust_resource(device_t bus, device_t child, struct resource *r, in unin_chip_adjust_resource()
573 unin_chip_release_resource(device_t bus, device_t child, struct resource *res) in unin_chip_release_resource()
587 unin_chip_activate_resource(device_t bus, device_t child, struct resource *res) in unin_chip_activate_resource()
601 unin_chip_deactivate_resource(device_t bus, device_t child, in unin_chip_deactivate_resource()
616 unin_chip_map_resource(device_t bus, device_t child, struct resource *r, in unin_chip_map_resource()
655 unin_chip_unmap_resource(device_t bus, device_t child, struct resource *r, in unin_chip_unmap_resource()
/freebsd/sys/riscv/riscv/
H A Dnexus.c181 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
192 nexus_add_child(device_t bus, u_int order, const char *name, int unit) in nexus_add_child()
210 nexus_get_rman(device_t bus, int type, u_int flags) in nexus_get_rman()
228 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource()
305 nexus_activate_resource(device_t bus, device_t child, struct resource *r) in nexus_activate_resource()
339 nexus_deactivate_resource(device_t bus, device_t child, struct resource *r) in nexus_deactivate_resource()
361 nexus_map_resource(device_t bus, device_t child, struct resource *r, in nexus_map_resource()
397 nexus_unmap_resource(device_t bus, device_t child, struct resource *r, in nexus_unmap_resource()
/freebsd/sys/dev/spibus/
H A Dspibus.c81 spibus_probe_nomatch(device_t bus, device_t child) in spibus_probe_nomatch()
91 spibus_child_location(device_t bus, device_t child, struct sbuf *sb) in spibus_child_location()
102 spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) in spibus_read_ivar()
126 spibus_write_ivar(device_t bus, device_t child, int which, uintptr_t value) in spibus_write_ivar()
199 spibus_hinted_child(device_t bus, const char *dname, int dunit) in spibus_hinted_child()
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma_subr.c160 bcma_dinfo_init_port_resource_info(device_t bus, struct bcma_devinfo *dinfo, in bcma_dinfo_init_port_resource_info()
212 bcma_dinfo_init_agent(device_t bus, device_t child, struct bcma_devinfo *dinfo) in bcma_dinfo_init_agent()
263 bcma_dinfo_init_intrs(device_t bus, device_t child, in bcma_dinfo_init_intrs()
325 bcma_alloc_dinfo(device_t bus) in bcma_alloc_dinfo()
360 bcma_init_dinfo(device_t bus, device_t child, struct bcma_devinfo *dinfo, in bcma_init_dinfo()
426 bcma_free_dinfo(device_t bus, device_t child, struct bcma_devinfo *dinfo) in bcma_free_dinfo()
/freebsd/sys/arm/arm/
H A Dnexus.c194 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
205 nexus_add_child(device_t bus, u_int order, const char *name, int unit) in nexus_add_child()
223 nexus_get_rman(device_t bus, int type, u_int flags) in nexus_get_rman()
308 nexus_activate_resource(device_t bus, device_t child, struct resource *r) in nexus_activate_resource()
332 nexus_map_resource(device_t bus, device_t child, struct resource *r, in nexus_map_resource()
375 nexus_unmap_resource(device_t bus, device_t child, struct resource *r, in nexus_unmap_resource()
394 nexus_deactivate_resource(device_t bus, device_t child, struct resource *r) in nexus_deactivate_resource()

12345678910>>...16