Home
last modified time | relevance | path

Searched +full:source +full:- +full:bus +full:- +full:type (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Dadi,axi-dmac.yaml1 # 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 Dadi,axi-dmac.txt1 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 …]
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutresdecode.c3 * Module Name: utresdecode - Resource descriptor keyword strings
11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
22 * copy of the source code appearing in this file ("Covered Code") an
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
42 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43 * Redistribution of source code of any substantial portion of the Covered
44 * Code or modification with rights to further distribute source must include
54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55 * Redistribution of source code of any substantial portion of the Covered
56 * Code or modification without rights to further distribute source must
[all …]
/freebsd/sys/xen/xenbus/
H A Dxenbusb.h1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
10 * Redistribution and use in source and binary forms, with or without
13 * 1. Redistributions of source code must retain the above copyright
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.
[all …]
H A Dxenbusb_if.m1 #-
5 # Redistribution and use in source and binary forms, with or without
8 # 1. Redistributions of source code must retain the above copyright
32 #include <sys/bus.h>
43 * \brief Enumerate all devices of the given type on this bus.
45 * \param _dev NewBus device_t for this XenBus (front/back) bus instance.
46 * \param _type String indicating the device sub-tree (e.g. "vfb", "vif")
50 * type of failure.
69 * \param _dev NewBus device_t for this XenBus (front/back) bus instance.
74 * type of failure.
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Disa.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Redistribution and use in source and binary forms, with or without
9 * 1. Redistributions of source code must retain the above copyright
29 #include <sys/bus.h>
31 #include <machine/bus.h>
47 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, in isa_alloc_resource() argument
51 struct resource_list *rl = &idev->id_resources; in isa_alloc_resource()
55 passthrough = (device_get_parent(child) != bus) ? 1 : 0; in isa_alloc_resource()
58 resource_list_find(rl, type, *rid) == NULL) { in isa_alloc_resource()
[all …]
/freebsd/sys/dev/clk/allwinner/
H A Dccu_de2.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Redistribution and use in source and binary forms, with or without
9 * 1. Redistributions of source code must retain the above copyright
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)
[all …]
/freebsd/share/man/man9/
H A Dbus_alloc_resource.91 .\" -*- nroff -*-
9 .\" Redistribution and use in source and binary forms, with or without
12 .\" 1. Redistributions of source code must retain the above copyright
36 .Nd allocate resources from a parent bus
46 .Fa "device_t dev" "int type" "int rid" "rman_res_t start" "rman_res_t end"
50 .Fn bus_alloc_resource_any "device_t dev" "int type" "int rid" "u_int flags"
53 .Fa "device_t dev" "int type" "int rid" "rman_res_t count" "u_int flags"
56 This is an easy interface to the resource-management functions.
86 .Bl -item
90 Before allocation, the resource is owned by the parent bus.
[all …]
H A Dbus_space.95 .\" Redistribution and use in source and binary forms, with or without
8 .\" 1. Redistributions of source code must retain the above copyright
32 .\" Redistribution and use in source and binary forms, with or without
35 .\" 1. Redistributions of source code must retain the above copyright
143 .Nd "bus space manipulation functions"
627 machine-independent access to bus memory and register areas.
640 creating a non-linear register space).
642 driver may need to access the same type of device in multiple ways in a
646 functions is to allow a single driver source file to manipulate a set
648 object file to manipulate a set of devices on multiple bus types on a
[all …]
/freebsd/sys/dev/bhnd/
H A Dbhnd_bus_if.m1 #-
2 # Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
9 # Redistribution and use in source and binary forms, with or without
12 # 1. Redistributions of source code must retain the above copyright
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)
[all …]
H A Dbhnd_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
37 #include <sys/bus.h>
41 #include <machine/bus.h>
115 BHND_CDESC(BCM, ARM7S, CPU, "ARM7TDMI-S CPU"),
118 BHND_CDESC(BCM, SSNPHY, WLAN_PHY, "802.11n Single-Stream PHY"),
120 BHND_CDESC(BCM, ARMCM3, CPU, "ARM Cortex-M3 CPU"),
[all …]
/freebsd/sys/dev/pci/
H A Dpci_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
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()
[all …]
/freebsd/sys/x86/isa/
H A Disa.c1 /*-
2 * SPDX-License-Identifier: (BSD-2-Clause AND ISC)
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
30 /*-
61 #include <sys/bus.h>
65 #include <machine/bus.h>
80 * bus, which in our case is the special i386 nexus, substituting any
87 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, in isa_alloc_resource() argument
93 int passthrough = (device_get_parent(child) != bus); in isa_alloc_resource()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/freebsd/sys/dev/vnic/
H A Dmrml_bridge.c7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
32 #include <sys/bus.h>
44 #include <machine/bus.h>
62 /* Bus interface */
95 if (!ofw_bus_is_compatible(dev, "cavium,thunder-8890-mrml-bridge")) in mrmlb_fdt_probe()
115 /* OFW bus interface */
122 mrmlb_ofw_get_devinfo(device_t bus __unused, device_t child) in mrmlb_ofw_get_devinfo()
127 return (&di->di_dinfo); in mrmlb_ofw_get_devinfo()
131 mrmlb_ofw_bus_alloc_res(device_t bus, device_t child, int type, int *rid, in mrmlb_ofw_bus_alloc_res() argument
[all …]
/freebsd/sys/dev/fdt/
H A Dsimplebus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
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,
[all …]
/freebsd/sys/kern/
H A Dbus_if.m1 #-
2 # Copyright (c) 1998-2004 Doug Rabson
5 # Redistribution and use in source and binary forms, with or without
8 # 1. Redistributions of source code must retain the above copyright
30 #include <sys/bus.h>
33 * @defgroup BUS bus - KObj methods for drivers of devices with children
38 INTERFACE bus;
46 int type, int *rid, rman_res_t start, rman_res_t end,
53 null_remap_intr(device_t bus, device_t dev, u_int irq)
62 null_add_child(device_t bus, int order, const char *name,
[all …]
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dmicrochip,xisc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Eugen Hristev <eugen.hristev@microchip.com>
18 The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a
25 const: microchip,sama7g5-isc
36 clock-names:
38 - const: hclock
40 '#clock-cells':
43 clock-output-names:
[all …]
H A Dmicrochip,csi2dc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <eugen.hristev@microchip.com>
13 CSI2DC - Camera Serial Interface 2 Demux Controller
16 IDI interface or from a parallel bus interface.
17 It filters IDI packets based on their data type and virtual channel
30 32-bit IDI interface or a parallel interface.
32 CSI2DC supports one 'port' node as source port with parallel interface.
44 const: microchip,sama7g5-csi2dc
[all …]
H A Dvideo-interfaces.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sakari Ailus <sakari.ailus@linux.intel.com>
11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
15 controlled over an I2C, SPI or UART bus, and SoC internal IP blocks, including
20 bus controller nodes, e.g. I2C.
29 #address-cells = <1>;
30 #size-cells = <0>;
[all …]
/freebsd/sys/powerpc/psim/
H A Diobus.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
6 * Redistribution and use in source and binary forms, with or without
9 * 1. Redistributions of source code must retain the above copyright
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
[all …]
/freebsd/sys/dev/smbus/
H A Dsmbconf.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
56 * SMB bus errors
88 #define SMBUS_ACCESSOR(var, ivar, type) \ argument
89 __BUS_ACCESSOR(smbus, var, SMBUS, ivar, type)
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
[all …]
/freebsd/sys/powerpc/powermac/
H A Duninorthpci.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
31 #include <sys/bus.h>
47 #include <machine/bus.h>
104 const char *type, *compatible; in uninorth_probe() local
106 type = ofw_bus_get_type(dev); in uninorth_probe()
109 if (type == NULL || compatible == NULL) in uninorth_probe()
112 if (strcmp(type, "pci") != 0) in uninorth_probe()
[all …]
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_if.m1 #-
2 # Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
9 # Redistribution and use in source and binary forms, with or without
12 # 1. Redistributions of source code must retain the above copyright
31 #include <sys/bus.h>
33 #include <machine/bus.h>
84 bhndb_null_suspend_resource(device_t dev, device_t child, int type,
91 bhndb_null_resume_resource(device_t dev, device_t child, int type,
122 * @param child The bhndb-attached device.
134 * @param child The bhndb-attached device.
[all …]
/freebsd/sys/dev/ppbus/
H A Dppb_msq.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
38 #include <sys/bus.h>
59 mode2xfer(device_t bus, struct ppb_device *ppbdev, int opcode) in mode2xfer() argument
66 table = ppbdev->get_xfer; in mode2xfer()
70 table = ppbdev->put_xfer; in mode2xfer()
78 mode = ppb_get_mode(bus); in mode2xfer()
90 switch ((epp = ppb_get_epp_protocol(bus))) { in mode2xfer()
[all …]

12345678910>>...42