/freebsd/sys/dev/syscon/ |
H A D | syscon.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 * This is a generic syscon driver, whose purpose is to provide access to 35 #include <sys/cdefs.h> 38 #include <sys/param.h> 39 #include <sys/systm.h> 40 #include <sys/bus.h> 41 #include <sys/kernel.h> 42 #include <sys/kobj.h> 43 #include <sys/lock.h> [all …]
|
H A D | syscon_generic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * This is a generic syscon driver, whose purpose is to provide access to 36 #include <sys/param.h> 37 #include <sys/systm.h> 38 #include <sys/bus.h> 39 #include <sys/kernel.h> 40 #include <sys/lock.h> 41 #include <sys/module.h> 42 #include <sys/mutex.h> [all …]
|
H A D | syscon_power.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 * Driver for simple syscon poweroff and reset devices. The device tree 32 * https://www.kernel.org/doc/Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt 33 * https://www.kernel.org/doc/Documentation/devicetree/bindings/power/reset/syscon-reboot.txt 36 #include <sys/param.h> 37 #include <sys/bus.h> 38 #include <sys/types.h> 39 #include <sys/eventhandler.h> 40 #include <sys/kernel.h> [all …]
|
H A D | syscon.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 #include <sys/types.h> 33 #include <sys/kobj.h> 38 struct syscon { struct 41 TAILQ_ENTRY(syscon) syscon_link; /* Global list entry */ 45 phandle_t ofw_node; /* OFW node for syscon */ argument 59 void *syscon_get_softc(struct syscon *syscon); argument 64 struct syscon *syscon_create(device_t pdev, syscon_class_t syscon_class); 65 struct syscon *syscon_register(struct syscon *syscon); [all …]
|
H A D | syscon_if.m | 1 #- 30 INTERFACE syscon; 33 struct syscon; 34 int syscon_get_handle_default(device_t dev, struct syscon **syscon); 38 #include <sys/systm.h> 39 #include <sys/bus.h> 42 syscon_get_handle_default(device_t dev, struct syscon **syscon) 49 return (SYSCON_GET_HANDLE(parent, syscon)); 68 struct syscon *syscon; 72 struct syscon *syscon; [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_scm_syscon.c | 1 /*- 27 /* Based on sys/arm/ti/ti_sysc.c */ 29 #include <sys/param.h> 30 #include <sys/systm.h> 31 #include <sys/kernel.h> 32 #include <sys/module.h> 33 #include <sys/bus.h> 34 #include <sys/resource.h> 35 #include <sys/rman.h> 36 #include <sys/lock.h> [all …]
|
/freebsd/sys/dev/fdt/ |
H A D | simple_mfd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 #include <sys/param.h> 30 #include <sys/systm.h> 31 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/lock.h> 34 #include <sys/module.h> 35 #include <sys/mutex.h> 36 #include <sys/rman.h> [all …]
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_pwmss.c | 1 /*- 27 #include <sys/param.h> 28 #include <sys/systm.h> 29 #include <sys/bus.h> 30 #include <sys/kernel.h> 31 #include <sys/limits.h> 32 #include <sys/lock.h> 33 #include <sys/module.h> 34 #include <sys/mutex.h> 35 #include <sys/resource.h> [all …]
|
H A D | am335x_musb.c | 1 /*- 26 #include <sys/cdefs.h> 27 #include <sys/stdint.h> 28 #include <sys/stddef.h> 29 #include <sys/param.h> 30 #include <sys/queue.h> 31 #include <sys/types.h> 32 #include <sys/systm.h> 33 #include <sys/kernel.h> 34 #include <sys/bus.h> [all …]
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_usbphy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 31 #include <sys/gpio.h> 32 #include <sys/kernel.h> 33 #include <sys/module.h> 34 #include <sys/malloc.h> 35 #include <sys/rman.h> [all …]
|
H A D | rk3399_emmcphy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 #include <sys/param.h> 34 #include <sys/systm.h> 35 #include <sys/bus.h> 36 #include <sys/rman.h> 37 #include <sys/kernel.h> 38 #include <sys/module.h> 39 #include <sys/gpio.h> 47 #include <dev/syscon/syscon.h> [all …]
|
H A D | rk_pcie_phy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 #include <sys/param.h> 33 #include <sys/systm.h> 34 #include <sys/bus.h> 35 #include <sys/rman.h> 36 #include <sys/kernel.h> 37 #include <sys/module.h> 38 #include <sys/mutex.h> 39 #include <sys/gpio.h> [all …]
|
/freebsd/sys/arm/mv/clk/ |
H A D | a37x0_xtal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/bus.h> 30 #include <sys/kernel.h> 31 #include <sys/module.h> 32 #include <sys/mutex.h> 33 #include <sys/rman.h> 40 #include <dev/syscon/syscon.h> 69 "a37x0-xtal", [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mv_ap806_clock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/module.h> 34 #include <sys/rman.h> 35 #include <sys/lock.h> 36 #include <sys/mutex.h> [all …]
|
H A D | mvebu_pinctrl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/module.h> 34 #include <sys/rman.h> 35 #include <sys/lock.h> 36 #include <sys/mutex.h> [all …]
|
H A D | mv_thermal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/module.h> 34 #include <sys/rman.h> 35 #include <sys/lock.h> 36 #include <sys/mutex.h> [all …]
|
H A D | mv_cp110_clock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/module.h> 34 #include <sys/rman.h> 35 #include <sys/lock.h> 36 #include <sys/mutex.h> [all …]
|
/freebsd/sys/riscv/eswin/ |
H A D | eswin_reset.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 28 #include <sys/param.h> 29 #include <sys/systm.h> 30 #include <sys/bus.h> 31 #include <sys/kernel.h> 32 #include <sys/lock.h> 33 #include <sys/module.h> 34 #include <sys/mutex.h> 39 #include <dev/syscon/syscon.h> [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | riscv_syscon.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * RISC-V syscon driver. Used as a generic interface by QEMU's virt machine for 34 #include <sys/param.h> 35 #include <sys/bus.h> 36 #include <sys/kernel.h> 37 #include <sys/module.h> 38 #include <sys/mutex.h> 39 #include <sys/rman.h> 46 #include <dev/syscon/syscon.h> [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_syscon.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 * Allwinner syscon driver 32 #include <sys/param.h> 33 #include <sys/bus.h> 34 #include <sys/kernel.h> 35 #include <sys/module.h> 36 #include <sys/mutex.h> 37 #include <sys/rman.h> 44 #include <dev/syscon/syscon.h> [all …]
|
/freebsd/sys/arm64/qoriq/clk/ |
H A D | ls1028a_flexspi_clk.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 #include <sys/param.h> 30 #include <sys/systm.h> 31 #include <sys/bus.h> 32 #include <sys/kernel.h> 33 #include <sys/kobj.h> 34 #include <sys/module.h> 35 #include <sys/malloc.h> 36 #include <sys/rman.h> [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | arm,syscon-icst.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/arm,syscon-icst.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linusw@kernel.org> 25 connects the low 8 bits of the VDW (missing one bit), hard-wires RDW to 26 different values and sometimes also hard-wires the output divider. They 38 integratorap-cm 41 integratorap-sys 44 integratorap-pci 14 1 14 [all …]
|
H A D | oxnas,stdclk.txt | 4 Please also refer to clock-bindings.txt in this directory for common clock 8 - compatible: For OX810SE, should be "oxsemi,ox810se-stdclk" 9 For OX820, should be "oxsemi,ox820-stdclk" 10 - #clock-cells: 1, see below 13 - compatible: For OX810SE, should be 14 "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd" 16 "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd" 20 sys: sys-ctrl@000000 { 21 compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"; 25 compatible = "oxsemi,ox810se-stdclk"; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | syscon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/syscon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 represent as any specific type of device. The typical use-case is 13 for some other node's driver, or platform-specific code, to acquire 14 a reference to the syscon node (e.g. by phandle, node path, or 20 - Lee Jones <lee@kernel.org> 24 # syscon fallback. 30 - al,alpine-sysfabric-servic [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/reset/ |
H A D | oxnas,reset.txt | 8 - compatible: For OX810SE, should be "oxsemi,ox810se-reset" 9 For OX820, should be "oxsemi,ox820-reset" 10 - #reset-cells: 1, see below 13 - compatible: For OX810SE, should be : 14 "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd" 16 "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd" 18 Reset indices are in dt-bindings include files : 19 - For OX810SE: include/dt-bindings/reset/oxsemi,ox810se.h 20 - For OX820: include/dt-bindings/reset/oxsemi,ox820.h 24 sys: sys-ctrl@000000 { [all …]
|