| /freebsd-14.2/sys/dev/usb/controller/ |
| H A D | usb_controller.c | 815 bus->explore_msg[0].bus = bus; in usb_attach_sub() 817 bus->explore_msg[1].bus = bus; in usb_attach_sub() 820 bus->detach_msg[0].bus = bus; in usb_attach_sub() 822 bus->detach_msg[1].bus = bus; in usb_attach_sub() 825 bus->attach_msg[0].bus = bus; in usb_attach_sub() 827 bus->attach_msg[1].bus = bus; in usb_attach_sub() 830 bus->suspend_msg[0].bus = bus; in usb_attach_sub() 835 bus->resume_msg[0].bus = bus; in usb_attach_sub() 837 bus->resume_msg[1].bus = bus; in usb_attach_sub() 840 bus->reset_msg[0].bus = bus; in usb_attach_sub() [all …]
|
| /freebsd-14.2/sys/dev/ppbus/ |
| H A D | ppb_1284.c | 219 r = ppb_rdtr(bus); in ppb_peripheral_negociate() 254 ppb_wctr(bus, SELECTIN); in ppb_peripheral_negociate() 353 ppb_wdtr(bus, *buffer); in byte_peripheral_outbyte() 409 r = ppb_rctr(bus); in byte_peripheral_write() 456 *buffer = ppb_rdtr(bus); in byte_1284_inbyte() 546 ppb_1284_terminate(bus); in spp_1284_read() 583 ppb_1284_terminate(bus); in spp_1284_read() 617 ppb_1284_terminate(bus); in ppb_1284_read_id() 667 ppb_1284_terminate(bus); in ppb_1284_negociate() 797 ppb_set_mode(bus, mode); in ppb_1284_negociate() [all …]
|
| H A D | ppb_base.c | 63 ppb_assert_locked(bus); in ppb_poll_bus() 68 r = ppb_rstr(bus); in ppb_poll_bus() 101 ppb_assert_locked(bus); in ppb_get_epp_protocol() 102 BUS_READ_IVAR(device_get_parent(bus), bus, PPC_IVAR_EPP_PROTO, &protocol); in ppb_get_epp_protocol() 117 ppb_assert_locked(bus); in ppb_get_mode() 132 ppb_assert_locked(bus); in ppb_set_mode() 151 ppb_assert_locked(bus); in ppb_write() 164 ppb_assert_locked(bus); in ppb_reset_epp_timeout() 177 ppb_assert_locked(bus); in ppb_ecp_sync() 191 ppb_assert_locked(bus); in ppb_get_status() [all …]
|
| H A D | ppbconf.c | 138 ppb_set_mode(bus, val); in ppbus_write_ivar() 233 device_printf(bus, "<%s", in ppb_pnp_detect() 288 ppb_scan_bus(device_t bus) in ppb_scan_bus() argument 304 ppb_1284_terminate(bus); in ppb_scan_bus() 310 ppb_1284_terminate(bus); in ppb_scan_bus() 315 ppb_1284_terminate(bus); in ppb_scan_bus() 320 ppb_1284_terminate(bus); in ppb_scan_bus() 325 ppb_1284_terminate(bus); in ppb_scan_bus() 330 ppb_1284_terminate(bus); in ppb_scan_bus() 338 ppb_1284_terminate(bus); in ppb_scan_bus() [all …]
|
| /freebsd-14.2/sys/dev/iicbus/ |
| H A D | iiconf.c | 165 sc->busydev = bus; in iicbus_request_bus() 178 reqdata.bus = bus; in iicbus_request_bus() 220 reqdata.bus = bus; in iicbus_release_bus() 296 iicbus_stop(device_t bus) in iicbus_stop() argument 401 iicbus_stop(bus); in iicbus_block_write() 422 iicbus_stop(bus); in iicbus_block_read() 450 device_t bus; in iicbus_transfer_excl() local 470 device_t *children, bus; in iicbus_transfer_gen() local 479 bus = children[0]; in iicbus_transfer_gen() 511 iicbus_stop(bus); in iicbus_transfer_gen() [all …]
|
| /freebsd-14.2/sys/amd64/pci/ |
| H A D | pci_cfgreg.c | 91 pcie_lookup_region(int domain, int bus) in pcie_lookup_region() argument 95 bus >= mcfg_regions[i].minbus && in pcie_lookup_region() 96 bus <= mcfg_regions[i].maxbus) in pcie_lookup_region() 110 region = pcie_lookup_region(domain, bus); in pci_docfgregread() 164 region = pcie_lookup_region(domain, bus); in pci_cfgregwrite_domain() 214 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread() 239 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgwrite() 315 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument 317 ((((bus) & 0xff) << 20) | \ 337 MPASS(bus >= region->minbus && bus <= region->maxbus); in pciereg_cfgread() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | ibm-power9-dual.dtsi | 22 cfam0_i2c0: i2c-bus@0 { 26 cfam0_i2c1: i2c-bus@1 { 30 cfam0_i2c2: i2c-bus@2 { 34 cfam0_i2c3: i2c-bus@3 { 38 cfam0_i2c4: i2c-bus@4 { 42 cfam0_i2c5: i2c-bus@5 { 46 cfam0_i2c6: i2c-bus@6 { 50 cfam0_i2c7: i2c-bus@7 { 54 cfam0_i2c8: i2c-bus@8 { 58 cfam0_i2c9: i2c-bus@9 { [all …]
|
| /freebsd-14.2/sys/dev/smbus/ |
| H A D | smbconf.h | 97 #define smbus_quick(bus,slave,how) \ argument 98 (SMBUS_QUICK(device_get_parent(bus), slave, how)) 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 [all …]
|
| /freebsd-14.2/sys/i386/pci/ |
| H A D | pci_cfgreg.c | 165 pcie_lookup_region(int domain, int bus) in pcie_lookup_region() argument 169 bus >= mcfg_regions[i].minbus && in pcie_lookup_region() 170 bus <= mcfg_regions[i].maxbus) in pcie_lookup_region() 184 region = pcie_lookup_region(domain, bus); in pci_docfgregread() 232 region = pcie_lookup_region(domain, bus); in pci_cfgregwrite() 254 if (bus <= PCI_BUSMAX in pci_cfgenable() 265 | (bus << 16) | (slot << 11) in pci_cfgenable() 271 outb(CONF2_FORWARD_PORT, bus); in pci_cfgenable() 593 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument 595 ((((bus) & 0xff) << 20) | \ [all …]
|
| /freebsd-14.2/sys/dev/usb/ |
| H A D | usb_bus.h | 40 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
|
| H A D | usb_hub.c | 514 bus = sc->sc_udev->bus; in uhub_explore_sub() 1552 struct usb_bus *bus = sc->sc_udev->bus; in uhub_detach() local 1578 USB_BUS_LOCK(bus); in uhub_detach() 1865 struct usb_bus *bus = udev->bus; in usb_hs_bandwidth_adjust() local 2097 bus = isoc_xfer->xroot->bus; in usbd_fs_isoc_schedule_alloc_slot() 2297 &bus->explore_msg[0], &bus->explore_msg[1])) { in usb_needs_explore() 2334 if (bus) { in usb_needs_explore_all() 2453 (udev->bus->methods->set_hw_power) (udev->bus); in usbd_transfer_power_ref() 2594 (bus->methods->set_hw_power) (bus); in usb_bus_powerd() 2680 bus = udev->bus; in usb_dev_resume_peer() [all …]
|
| H A D | usb_transfer.c | 1086 info->bus = udev->bus; in usbd_transfer_setup() 1725 bus = info->bus; in usbd_transfer_submit() 1733 USB_BUS_LOCK(bus); in usbd_transfer_submit() 1750 USB_BUS_LOCK(bus); in usbd_transfer_submit() 1766 USB_BUS_LOCK(bus); in usbd_transfer_submit() 1793 USB_BUS_LOCK(bus); in usbd_transfer_submit() 2967 bus = xfer->xroot->bus; in usbd_callback_wrapper_sub() 3122 USB_BUS_LOCK(bus); in usbd_callback_wrapper_sub() 3450 bus = udev->bus; in usbd_transfer_poll() 3451 if (bus == NULL) in usbd_transfer_poll() [all …]
|
| /freebsd-14.2/sys/x86/pci/ |
| H A D | pci_bus.c | 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 154 *busnum = bus; in legacy_pcib_is_host_bridge() 378 int bus, slot, func; in legacy_pcib_identify() local 398 bus = 0; in legacy_pcib_identify() 479 bus++; in legacy_pcib_identify() 513 int bus; in legacy_pcib_attach() local 515 bus = pcib_get_bus(dev); in legacy_pcib_attach() 743 int bus; in pcibios_pcib_probe() local [all …]
|
| H A D | pci_early_quirks.c | 71 intel_stolen_base_gen3(int domain, int bus, int slot, int func) in intel_stolen_base_gen3() argument 76 ctrl = pci_cfgregread(domain, bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3() 82 intel_stolen_base_gen11(int domain, int bus, int slot, int func) in intel_stolen_base_gen11() argument 90 domain, bus, slot, func, INTEL_GEN11_BSM_DW1, 4) << 32; in intel_stolen_base_gen11() 95 intel_stolen_size_gen3(int domain, int bus, int slot, int func) in intel_stolen_size_gen3() argument 135 intel_stolen_size_gen6(int domain, int bus, int slot, int func) in intel_stolen_size_gen6() argument 146 intel_stolen_size_gen8(int domain, int bus, int slot, int func) in intel_stolen_size_gen8() argument 157 intel_stolen_size_chv(int domain, int bus, int slot, int func) in intel_stolen_size_chv() argument 195 vm_paddr_t (*base)(int domain, int bus, int slot, int func); 196 vm_paddr_t (*size)(int domain, int bus, int slot, int func); [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/interconnect/ |
| H A D | samsung,exynos-bus.yaml | 27 - parent bus device 28 - passive bus device 32 rest bus devices (passive bus device) depend on the decision of the parent 163 - samsung,exynos-bus 170 - const: bus 175 Parent bus device. Valid and required only for the passive bus devices. 211 Main bus power rail. Valid and required only for the parent bus devices. 225 bus-dmc { 278 bus-rightbus { 287 dmc: bus-dmc { [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/exynos/ |
| H A D | exynos5433-bus.dtsi | 11 compatible = "samsung,exynos-bus"; 13 clock-names = "bus"; 21 clock-names = "bus"; 29 clock-names = "bus"; 37 clock-names = "bus"; 45 clock-names = "bus"; 53 clock-names = "bus"; 61 clock-names = "bus"; 69 clock-names = "bus"; 77 clock-names = "bus"; [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/devfreq/ |
| H A D | exynos-bus.txt | 7 of the bus in runtime. To monitor the usage of each bus in runtime, 16 - parent bus device 17 - passive bus device 21 and the rest bus devices (passive bus device) depend on the decision of 37 - clock-names : the name of clock used by the bus, "bus". 207 clock-names = "bus"; 241 clock-names = "bus"; 249 clock-names = "bus"; 257 clock-names = "bus"; 265 clock-names = "bus"; [all …]
|
| /freebsd-14.2/sys/dev/mdio/ |
| H A D | mdio_if.m | 2 #include <sys/bus.h> 31 * @param dev MDIO bus device. 44 * @param dev MDIO bus device. 45 * @param bus MDIO bus mux position 51 int bus; 59 * @param dev MDIO bus device. 74 * @param dev MDIO bus device. 75 * @param bus MDIO bus mux position 82 int bus; 92 * @param dev MDIO bus device. [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/bus/ |
| H A D | fsl,spba-bus.yaml | 4 $id: http://devicetree.org/schemas/bus/fsl,spba-bus.yaml# 13 A simple bus enabling access to shared peripherals. 15 The "spba-bus" follows the "simple-bus" set of properties, as 17 "simple-bus" because the SDMA controller uses this compatible flag to 19 the SDMA can access. There are no special clocks for the bus, because 26 const: fsl,spba-bus 32 pattern: "^spba-bus(@[0-9a-f]+)?$" 36 - const: fsl,spba-bus 37 - const: simple-bus 62 spba-bus@30000000 { [all …]
|
| H A D | simple-pm-bus.yaml | 4 $id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml# 17 of a functional clock. Hence, the bus controller's PM domain and/or 18 clock must be enabled for child devices connected to the bus (either 21 While "simple-pm-bus" follows the "simple-bus" set of properties, as 23 "simple-bus". 27 pattern: "^bus(@[0-9a-f]+)?$" 31 const: simple-pm-bus 33 Shall contain "simple-pm-bus" in addition to a optional bus-specific 34 compatible strings defined in individual pm-bus bindings. 71 bus { [all …]
|
| /freebsd-14.2/contrib/wpa/wpa_supplicant/examples/ |
| H A D | wpas-dbus-new-signals.py | 128 global bus 129 bus = dbus.SystemBus() 137 bus.add_signal_receiver(interfaceAdded, 154 bus.add_signal_receiver(scanDone, 158 bus.add_signal_receiver(bssAdded, 162 bus.add_signal_receiver(bssRemoved, 166 bus.add_signal_receiver(blobAdded, 170 bus.add_signal_receiver(blobRemoved, 174 bus.add_signal_receiver(networkAdded, 178 bus.add_signal_receiver(networkRemoved, [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/arm/omap/ |
| H A D | l4.txt | 3 These bindings describe the OMAP SoCs L4 interconnect bus. 6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus 7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus 8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus 9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus 10 Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus 12 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus 14 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus 15 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus 18 - ranges : contains the IO map range for the bus [all …]
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_xpt.c | 1601 && (cdm->pos.cookie.bus == bus) in xptedtbusfunc() 1635 cdm->pos.cookie.bus = bus; in xptedtbusfunc() 1666 && (cdm->pos.cookie.bus == bus) in xptedtbusfunc() 1692 bus = target->bus; in xptedttargetfunc() 1729 bus = device->target->bus; in xptedtdevicefunc() 2210 bus = target->bus; in xptdevicetraverse() 2251 bus = device->target->bus; in xptperiphtraverse() 3536 new_path->bus = bus; in xpt_compile_path() 4021 bus = TAILQ_NEXT(bus, links); in xptnextfreepathid() 4209 bus = path->bus; in xpt_async_process() [all …]
|
| /freebsd-14.2/sys/dev/acpica/ |
| H A D | acpi_container.c | 45 static int acpi_syscont_release_msi(device_t bus, device_t dev, 47 static int acpi_syscont_alloc_msix(device_t bus, device_t dev, 49 static int acpi_syscont_release_msix(device_t bus, device_t dev, 51 static int acpi_syscont_map_msi(device_t bus, device_t dev, 123 device_t parent = device_get_parent(bus); in acpi_syscont_alloc_msi() 132 device_t parent = device_get_parent(bus); in acpi_syscont_release_msi() 138 acpi_syscont_alloc_msix(device_t bus, device_t dev, int *irq) in acpi_syscont_alloc_msix() argument 140 device_t parent = device_get_parent(bus); in acpi_syscont_alloc_msix() 146 acpi_syscont_release_msix(device_t bus, device_t dev, int irq) in acpi_syscont_release_msix() argument 148 device_t parent = device_get_parent(bus); in acpi_syscont_release_msix() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-aspeed.txt | 6 - reg : address offset and range of bus 7 - compatible : should be "aspeed,ast2400-i2c-bus" 8 or "aspeed,ast2500-i2c-bus" 9 or "aspeed,ast2600-i2c-bus" 10 - clocks : root clock of bus, should reference the APB 17 - bus-frequency : frequency of the bus clock in Hz defaults to 100 kHz when not 19 - multi-master : states that there is another master active on this bus. 24 compatible = "simple-bus"; 37 i2c0: i2c-bus@40 { 42 compatible = "aspeed,ast2400-i2c-bus"; [all …]
|