| /freebsd/sys/contrib/device-tree/Bindings/dma/ |
| H A D | adi,axi-dmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/adi,axi-dmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AXI-DMAC DMA controller 10 FPGA-based DMA controller designed for use with high-speed converter hardware. 15 - Nuno Sa <nuno.sa@analog.com> 21 const: adi,axi-dmac-1.00.a 32 "#dma-cells": 37 type: object [all …]
|
| H A D | adi,axi-dmac.txt | 1 Analog Devices AXI-DMAC DMA controller 4 - compatible: Must be "adi,axi-dmac-1.00.a". 5 - reg: Specification for the controllers memory mapped register map. 6 - interrupts: Specification for the controllers interrupt. 7 - clocks: Phandle and specifier to the controllers AXI interface clock 8 - #dma-cells: Must be 1. 10 Required sub-nodes: 11 - adi,channels: This sub-node must contain a sub-node for each DMA channel. For 12 the channel sub-nodes the following bindings apply. They must match the 15 Required properties for adi,channels sub-node: [all …]
|
| H A D | arm-pl08x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/arm-pl08x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: dma-controller.yaml# 22 - arm,pl080 23 - arm,pl081 25 - compatible [all …]
|
| /freebsd/sys/xen/xenbus/ |
| H A D | xenbusb.h | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 42 * bus attachements (e.g. frontend and backend device buses) for XenBus. 55 * \brief Container for all state needed to manage a Xenbus Bus 61 * XenStore where devices for this bus attachment arrive 86 * The number of children for this bus that are still 92 /** The NewBus device_t for this bus attachment. */ 97 * bus attachment manages. 103 * character) that make up the device ID on this bus. 115 * count of its parent bus. [all …]
|
| H A D | xenbusb_back.c | 7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard 35 * XenBus management of the NewBus bus containing the backend instances of 40 #include <sys/bus.h> 53 #include <xen/xen-os.h> 58 /*------------------ Private Device Attachment Functions --------------------*/ 60 * \brief Probe for the existence of the XenBus back bus. 62 * \param dev NewBus device_t for this XenBus back bus instance. 75 * \brief Attach the XenBus back bus. 77 * \param dev NewBus device_t for this XenBus back bus instance. 80 * type of failure. [all …]
|
| H A D | xenbusb_front.c | 7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard 35 * XenBus management of the NewBus bus containing the frontend instances of 40 #include <sys/bus.h> 53 #include <xen/xen-os.h> 58 /*------------------ Private Device Attachment Functions --------------------*/ 60 * \brief Probe for the existence of the XenBus front bus. 62 * \param dev NewBus device_t for this XenBus front bus instance. 75 * \brief Attach the XenBus front bus. 77 * \param dev NewBus device_t for this XenBus front bus instance. 80 * type of failure. [all …]
|
| /freebsd/sys/dev/clk/allwinner/ |
| H A D | ccu_d1.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <sys/bus.h> 39 #include <machine/bus.h> 52 #include <dt-bindings/clock/sun20i-d1-ccu.h> 53 #include <dt-bindings/reset/sun20i-d1-ccu.h> 125 CCU_GATE(CLK_BUS_DE, "bus-de", "psi-ahb", 0x60C, 0) 126 CCU_GATE(CLK_BUS_DI, "bus-di", "psi-ahb", 0x62C, 0) 127 CCU_GATE(CLK_BUS_G2D, "bus-g2d", "psi-ahb", 0x63C, 0) 128 CCU_GATE(CLK_BUS_CE, "bus-ce", "psi-ahb", 0x68C, 0) [all …]
|
| H A D | ccu_a64.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 #include <sys/bus.h> 34 #include <machine/bus.h> 47 #include <dt-bindings/clock/sun50i-a64-ccu.h> 48 #include <dt-bindings/reset/sun50i-a64-ccu.h> 50 /* Non-exported clocks */ 141 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1) 142 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5) 143 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6) [all …]
|
| H A D | ccu_h3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 #include <sys/bus.h> 34 #include <machine/bus.h> 43 #include <sys/bus.h> 55 #include <dt-bindings/clock/sun8i-h3-ccu.h> 56 #include <dt-bindings/reset/sun8i-h3-ccu.h> 58 /* Non-exported resets */ 61 /* Non-exported clocks */ 160 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5) [all …]
|
| H A D | ccu_a83t.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 #include <sys/bus.h> 34 #include <machine/bus.h> 47 #include <dt-bindings/clock/sun8i-a83t-ccu.h> 48 #include <dt-bindings/reset/sun8i-a83t-ccu.h> 50 /* Non-exported clocks */ 76 /* Non-exported fixed clocks */ 134 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1) 135 CCU_GATE(CLK_BUS_SS, "bus-ss", "ahb1", 0x60, 5) [all …]
|
| H A D | ccu_de2.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 #include <sys/bus.h> 34 #include <machine/bus.h> 53 #include <dt-bindings/clock/sun8i-de2.h> 54 #include <dt-bindings/reset/sun8i-de2.h> 78 CCU_GATE(CLK_BUS_MIXER0, "mixer0", "mixer0-div", 0x00, 0) 79 CCU_GATE(CLK_BUS_WB, "wb", "wb-div", 0x00, 2) 81 CCU_GATE(CLK_MIXER0, "bus-mixer0", "bus-de", 0x04, 0) 82 CCU_GATE(CLK_WB, "bus-wb", "bus-de", 0x04, 2) [all …]
|
| H A D | ccu_h6.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 #include <sys/bus.h> 34 #include <machine/bus.h> 47 #include <dt-bindings/clock/sun50i-h6-ccu.h> 48 #include <dt-bindings/reset/sun50i-h6-ccu.h> 50 /* Non-exported clocks */ 117 CCU_GATE(CLK_BUS_PSI, "bus-psi", "psi_ahb1_ahb2", 0x79c, 0) 120 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb3", 0x84c, 0) 121 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb3", 0x84c, 1) [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
| H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
| /freebsd/sys/dev/fdt/ |
| H A D | simplebus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 #include <sys/bus.h> 47 * Bus interface. 52 static void simplebus_probe_nomatch(device_t bus, device_t child); 53 static int simplebus_print_child(device_t bus, device_t child); 56 static struct resource_list *simplebus_get_resource_list(device_t bus, 59 static ssize_t simplebus_get_property(device_t bus, device_t child, 61 device_property_type_t type); 65 static const struct ofw_bus_devinfo *simplebus_get_devinfo(device_t bus, [all …]
|
| /freebsd/sys/dev/pci/ |
| H A D | pci_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #include <sys/bus.h> 47 * Try to read the bus number of a host-PCI bridge using appropriate config 51 host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, in host_pcib_get_busno() argument 56 id = read_config(0, bus, slot, func, PCIR_DEVVENDOR, 4); in host_pcib_get_busno() 64 /* *busnum = read_config(0, bus, slot, func, 0x41, 1); */ in host_pcib_get_busno() 65 *busnum = bus; in host_pcib_get_busno() 69 *busnum = read_config(0, bus, slot, func, 0x4a, 1); in host_pcib_get_busno() 78 * bus numbers for the PXB channels. in host_pcib_get_busno() [all …]
|
| H A D | pci_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 41 #include <sys/bus.h> 76 enum pci_id_type type, uintptr_t *id); 86 int *bus, int *slot, int *func); 104 /* Bus interface */ 147 "Clear firmware-assigned resources for PCI-PCI bridge I/O windows."); 151 * sub-allocated from one of our window resource managers. 158 if (rman_is_region_manager(r, &sc->io.rman)) in pcib_get_resource_window() 159 return (&sc->io); in pcib_get_resource_window() [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_pcib_acpi.c | 1 /*- 33 #include <sys/bus.h> 66 int ap_bus; /* bios-assigned bus number */ 67 int ap_addr; /* device/func of PCI-Host bridge */ 73 static int acpi_pcib_acpi_probe(device_t bus); 74 static int acpi_pcib_acpi_attach(device_t bus); 79 static uint32_t acpi_pcib_read_config(device_t dev, u_int bus, 81 static void acpi_pcib_write_config(device_t dev, u_int bus, 93 device_t child, int type, int rid, 107 static bus_dma_tag_t acpi_pcib_get_dma_tag(device_t bus, device_t child); [all …]
|
| /freebsd/sys/dev/bhnd/ |
| H A D | bhnd_bus_if.m | 1 #- 2 # Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org> 31 #include <sys/bus.h> 40 # bhnd(4) bus interface 258 return (-1); 262 bhnd_bus_null_decode_port_rid(device_t dev, device_t child, int type, 270 bhnd_port_type type, u_int port, u_int region, bhnd_addr_t *addr, 278 const char *name, void *buf, size_t *size, bhnd_nvram_type type) 286 * Return the bhnd(4) bus driver's device enumeration parser class. 288 * @param driver The bhnd bus driver instance. [all …]
|
| H A D | bhnd.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 41 #include <sys/bus.h> 45 #include <machine/bus.h> 63 BHND_IVAR_VENDOR, /**< Designer's JEP-106 manufacturer ID. */ 69 BHND_IVAR_CORE_INDEX, /**< Bus-assigned core number */ 70 BHND_IVAR_CORE_UNIT, /**< Bus-assigned core unit number, 73 BHND_IVAR_PMU_INFO, /**< Internal bus-managed PMU state */ 107 * Per-core IOCTL flags common to all bhnd(4) cores. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-qcom-cci.txt | 5 - compatible: 7 Value type: <string> 9 "qcom,msm8916-cci" 10 "qcom,msm8996-cci" 11 "qcom,sdm845-cci" 12 "qcom,sm8250-cci" 13 "qcom,sm8450-cci" 15 - reg 17 Value type: <prop-encoded-array> 21 - interrupts: [all …]
|
| /freebsd/sys/powerpc/ps3/ |
| H A D | ps3bus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <sys/bus.h> 45 #include <machine/bus.h> 50 #include "ps3-hvcall.h" 58 static int ps3bus_read_ivar(device_t bus, device_t child, int which, 60 static struct rman *ps3bus_get_rman(device_t bus, int type, u_int flags); 61 static struct resource *ps3bus_alloc_resource(device_t bus, device_t child, 62 int type, int rid, rman_res_t start, rman_res_t end, 64 static int ps3bus_map_resource(device_t bus, device_t child, [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/bus/ |
| H A D | intel,ixp4xx-expansion-bus-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/intel,ixp4xx-expansion-bus-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Intel IXP4xx Expansion Bus Controller 10 The IXP4xx expansion bus controller handles access to devices on the 11 memory-mapped expansion bus on the Intel IXP4xx family of system on chips, 15 - Linus Walleij <linus.walleij@linaro.org> 19 pattern: '^bus@[0-9a-f]+$' 23 - enum: [all …]
|
| /freebsd/share/man/man9/ |
| H A D | bhnd.9 | 1 .\" Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org> 38 .Ss Bus Resource Functions 41 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r" 45 .Fa "device_t dev" "int type" "int *rid" "rman_res_t start" "rman_res_t end" 50 .Fa "device_t dev" "int type" "int *rid" "u_int flags" 58 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r" 62 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r" 70 .Ss "Bus Space Functions" 330 .Fa "device_t bus" "const struct bhnd_core_match *desc" 392 .Bd -literal [all …]
|
| /freebsd/sys/x86/x86/ |
| H A D | mptable.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <sys/bus.h> 76 uint8_t type; member 84 {1, 8, "Bus"}, 106 u_char type; member 110 /* From MP spec v1.4, table 4-8. */ 133 /* From MP spec v1.4, table 5-1. */ 147 u_char bus; member 152 u_char bus; /* Source bus. */ member [all …]
|
| /freebsd/sys/powerpc/psim/ |
| H A D | iobus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 31 * PSIM 'iobus' local bus. Should be set up in the device tree like: 33 * /iobus@0x80000000/name psim-iobus 35 * Code borrowed from various nexus.c and uninorth.c :-) 43 #include <sys/bus.h> 44 #include <machine/bus.h> 89 * Bus interface definition 100 /* Bus interface */ 130 const char *type = ofw_bus_get_name(dev); in iobus_probe() local [all …]
|