Home
last modified time | relevance | path

Searched +full:bus +full:- +full:id (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/freebsd/sys/dev/hid/
H A Dhidbus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2019-2020 Vladimir Kondratyev <wulf@FreeBSD.org>
29 #include <sys/bus.h>
94 hri->data = __DECONST(void *, data); in hidbus_fill_rdesc_info()
95 hri->len = len; in hidbus_fill_rdesc_info()
101 hri->isize = len == 0 ? HID_RSIZE_MAX : in hidbus_fill_rdesc_info()
102 hid_report_size_max(data, len, hid_input, &hri->iid); in hidbus_fill_rdesc_info()
103 hri->osize = len == 0 ? HID_RSIZE_MAX : in hidbus_fill_rdesc_info()
104 hid_report_size_max(data, len, hid_output, &hri->oid); in hidbus_fill_rdesc_info()
[all …]
/freebsd/sys/dev/clk/allwinner/
H A Dccu_d1.c1 /*-
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 Dccu_h3.c1 /*-
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 Dccu_a64.c1 /*-
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 Dccu_a83t.c1 /*-
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 Dccu_h6.c1 /*-
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/x86/pci/
H A Dpci_bus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 #include <sys/bus.h>
63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, in legacy_pcib_read_config() argument
66 return(pci_cfgregread(0, bus, slot, func, reg, bytes)); 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() argument
75 pci_cfgregwrite(0, bus, slot, func, reg, data, bytes); in legacy_pcib_write_config()
99 device_t bus; in legacy_pcib_alloc_msi() local
101 bus = device_get_parent(pcib); in legacy_pcib_alloc_msi()
102 return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount, in legacy_pcib_alloc_msi()
[all …]
/freebsd/sys/x86/x86/
H A Dmptable.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 #include <sys/bus.h>
62 #define MAX_LAPIC_ID 63 /* Max local APIC ID for HTT fixup */
64 #define MAX_LAPIC_ID 31 /* Max local APIC ID for HTT fixup */
84 {1, 8, "Bus"},
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/contrib/device-tree/Bindings/fsi/
H A Dfsi.txt1 FSI bus & engine generic device tree bindings
4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and
6 nodes to probed engines. This allows for fsi engines to expose non-probeable
8 that is an I2C master - the I2C bus can be described by the device tree under
13 the fsi-master-* binding specifications.
15 Under the masters' nodes, we can describe the bus topology using nodes to
18 fsi-master {
19 /* top-level of FSI bus topology, bound to an FSI master driver and
20 * exposes an FSI bus */
22 fsi-slave@<link,id> {
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_hsi_debug_tools.h2 * Copyright (c) 2017-2018 Cavium, Inc.
237 BIN_BUF_DBG_BUS_BLOCKS /* Debug Bus blocks */,
238 BIN_BUF_DBG_BUS_LINES /* Debug Bus lines */,
239 BIN_BUF_DBG_BUS_BLOCKS_USER_DATA /* Debug Bus blocks user data */,
240 BIN_BUF_DBG_BUS_LINE_NAME_OFFSETS /* Debug Bus line name offsets */,
258 * Attention block per-type data
274 …struct dbg_attn_block_type_data per_type_data[2] /* attention block per-type data. Count must matc…
287 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */;
298 u8 block_id /* Registers block ID */;
326 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dxlnx,versal-net-cdx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/bus/xlnx,versal-net-cdx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMD CDX bus controller
10 CDX bus controller for AMD devices is implemented to dynamically
11 detect CDX bus and devices using the firmware.
12 The CDX bus manages multiple FPGA based hardware devices, which
15 on run-time.
17 All devices on the CDX bus will have a unique streamid (for IOMMU)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-opal.txt1 Device-tree bindings for I2C OPAL driver
2 ----------------------------------------
6 perspective, the properties of use are "ibm,port-name" and "ibm,opal-id".
10 - reg: Port-id within a given master
11 - compatible: must be "ibm,opal-i2c"
12 - ibm,opal-id: Refers to a specific bus and used to identify it when calling
14 - bus-frequency: Operating frequency of the i2c bus (in HZ). Informational for
18 - ibm,port-name: Firmware provides this name that uniquely identifies the i2c
23 a P8 on-chip bus.
27 i2c-bus@0 {
[all …]
H A Dnvidia,tegra186-bpmp-i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/nvidia,tegra186-bpmp-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
16 management I2C bus. Software running on other CPUs must perform IPC to
17 the BPMP in order to execute transactions on that I2C bus. This
18 binding describes an I2C bus that is accessed in such a fashion.
21 See ../firmware/nvidia,tegra186-bpmp.yaml for details of the BPMP
[all …]
/freebsd/sys/xen/xenbus/
H A Dxenbusb_back.c7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard
35 * XenBus management of the NewBus bus containing the backend instances of
40 #include <sys/bus.h>
54 #include <xen/xen-os.h>
59 /*------------------ Private Device Attachment Functions --------------------*/
61 * \brief Probe for the existence of the XenBus back bus.
63 * \param dev NewBus device_t for this XenBus back bus instance.
76 * \brief Attach the XenBus back bus.
78 * \param dev NewBus device_t for this XenBus back bus instance.
97 mtx_lock(&xbs->xbs_lock); in xenbusb_back_attach()
[all …]
H A Dxenbusb.h1 /*-
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 …]
/freebsd/share/man/man9/
H A Dbhnd.91 .\" Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
38 .Ss Bus Resource Functions
70 .Ss "Bus Space Functions"
330 .Fa "device_t bus" "const struct bhnd_core_match *desc"
392 .Bd -literal
398 .Bd -literal
406 .Bd -literal
414 .Bd -literal
417 .Bd -literal
427 .Bd -literal
[all …]
/freebsd/sys/arm64/cavium/
H A Dthunder_pcie_pem.c1 /*-
36 #include <sys/bus.h>
57 #include <machine/bus.h>
108 * Each PEM device creates its own bus with
109 * own address translation, so we can adjust bus addresses
110 * as we want. To support 32-bit cards let's assume
113 * 0x00000000 - 0x000FFFFF IO
114 * 0x00100000 - 0xFFFFFFFF Memory
170 /* Bus interface */
213 /* max slots per bus acc. to standard */ in thunder_pem_maxslots()
[all …]
/freebsd/sys/dev/bhnd/bcma/
H A Dbcmavar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
41 #include <sys/bus.h>
44 #include <machine/bus.h>
53 /** Base resource ID for per-core agent register allocations */
62 ((_dinfo)->corecfg->core_info.core_idx)
68 /** BCMA per-port region map identifier. */
86 int bcma_add_children(device_t bus);
91 struct bcma_devinfo *bcma_alloc_dinfo(device_t bus);
[all …]
/freebsd/sys/dev/isp/
H A DDriverManual.txt54 PCI and SBus SCSI cards, and now also drove the QLogic 2100 FC-AL HBA.
56 After this, ports to non-NetBSD platforms became interesting as well.
65 mode support has been added, and 2300 support as well as an FC-IP stack
71 Normally you design via top-down methodologies and set an initial goal
76 as I perceive them to be now- not necessarily what they started as.
90 as well as private loop and private loop, direct-attach topologies.
91 FC-IP support is also a goal.
119 The QLogic HBA cards all contain a tiny 16-bit RISC-like processor and
120 varying sizes of SRAM. Each card contains a Bus Interface Unit (BIU)
121 as appropriate for the host bus (SBus or PCI). The BIUs allow access
[all …]
/freebsd/sys/contrib/device-tree/Bindings/slimbus/
H A Dbus.txt1 SLIM(Serial Low Power Interchip Media Bus) bus
3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
4 components like audio-codec.
7 - compatible - name of SLIMbus controller
11 representing slave devices on the bus. Every SLIMbus slave device is
13 Manufacturer ID, Product code, Device index, and Instance value for
18 In some cases it may be necessary to describe non-probeable device
19 details such as non-standard ways of powering up a device. In
24 - reg - Should be ('Device index', 'Instance ID') from SLIMbus
28 Instance ID Is for the cases where multiple Devices of the
[all …]
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iommu/
H A Darm,smmu.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Wil
[all...]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_fdt.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright © 2021-2022 Dmitry Salychev
31 * The DPAA2 Management Complex (MC) Bus Driver (FDT-based).
35 * hardware objects used in network-oriented packet processing applications.
40 #include <sys/bus.h>
46 #include <machine/bus.h>
73 compatible = "fsl,qoriq-mc-dpmac";
76 pcs-handle = <0x15>;
77 phy-connection-type = "10gbase-r";
[all …]
/freebsd/sys/contrib/device-tree/Bindings/spmi/
H A Dqcom,spmi-pmic-arb.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stephen Boyd <sboyd@kernel.org>
14 controller with wrapping arbitration logic to allow for multiple on-chip
21 - $ref: spmi.yaml
25 const: qcom,spmi-pmic-arb
29 - items: # V1
30 - description: core registers
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dmdio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MDIO Bus Common Properties
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
15 These are generic properties that can apply to any MDIO bus. Any
16 MDIO bus must have a list of child nodes, one per device on the
[all …]

12345678910>>...42