| /freebsd-src/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/kerne 90 syscon_generic_unlocked_read_4(struct syscon * syscon,bus_size_t offset) syscon_generic_unlocked_read_4() argument 102 syscon_generic_unlocked_write_4(struct syscon * syscon,bus_size_t offset,uint32_t val) syscon_generic_unlocked_write_4() argument 113 syscon_generic_unlocked_modify_4(struct syscon * syscon,bus_size_t offset,uint32_t clear_bits,uint32_t set_bits) syscon_generic_unlocked_modify_4() argument [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-src/sys/riscv/starfive/ |
| H A D | starfive_syscon.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * StarFive syscon driver. 13 * On the JH7110, the PLL clock driver is a child of the sys-syscon device. 17 #include <sys/param.h> 18 #include <sys/bus.h> 19 #include <sys/kernel.h> 20 #include <sys/module.h> 21 #include <sys/mutex.h> 29 #include <dev/syscon/syscon.h> [all …]
|
| /freebsd-src/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/loc 65 struct syscon * syscon; global() member 85 ti_scm_syscon_write_4(struct syscon * syscon,bus_size_t offset,uint32_t val) ti_scm_syscon_write_4() argument 98 ti_scm_syscon_read_4(struct syscon * syscon,bus_size_t offset) ti_scm_syscon_read_4() argument 112 ti_scm_syscon_modify_4(struct syscon * syscon,bus_size_t offset,uint32_t clr,uint32_t set) ti_scm_syscon_modify_4() argument 198 ti_scm_syscon_get_handle(device_t dev,struct syscon ** syscon) ti_scm_syscon_get_handle() argument [all...] |
| /freebsd-src/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/loc 83 simple_mfd_syscon_read_4(struct syscon * syscon,bus_size_t offset) simple_mfd_syscon_read_4() argument 95 simple_mfd_syscon_write_4(struct syscon * syscon,bus_size_t offset,uint32_t val) simple_mfd_syscon_write_4() argument 107 simple_mfd_syscon_modify_4(struct syscon * syscon,bus_size_t offset,uint32_t clear_bits,uint32_t set_bits) simple_mfd_syscon_modify_4() argument 123 simple_mfd_syscon_get_handle(device_t dev,struct syscon ** syscon) simple_mfd_syscon_get_handle() argument [all...] |
| /freebsd-src/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/resourc 72 struct syscon *syscon; global() member [all...] |
| H A D | am335x_scm.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/module.h> 32 #include <sys/sysctl.h> 40 #include <dev/syscon/syscon.h> 48 struct syscon *sysco member [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/bu 133 struct syscon *syscon; global() member [all...] |
| /freebsd-src/sys/contrib/device-tree/Bindings/soc/starfive/ |
| H A D | starfive,jh7110-syscon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - William Qiu <william.qiu@starfivetech.com> 19 - items: 20 - const: starfive,jh7110-sys-syscon 21 - const: syscon 22 - const: simple-mfd 23 - items: [all …]
|
| /freebsd-src/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/kerne 87 struct syscon *syscon; global() member 150 struct syscon *syscon; rk_usbphy_init_phy() local [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 …]
|
| /freebsd-src/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-src/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-src/sys/dev/clk/starfive/ |
| H A D | jh7110_clk_pll.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 #include <sys/param.h> 12 #include <sys/systm.h> 13 #include <sys/bus.h> 14 #include <sys/kernel.h> 15 #include <sys/module.h> 16 #include <sys/mutex.h> 27 #include <dev/syscon/syscon.h> 29 #include <dt-bindings/clock/starfive,jh7110-crg.h> [all …]
|
| /freebsd-src/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-src/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/modul [all...] |
| /freebsd-src/sys/contrib/device-tree/Bindings/phy/ |
| H A D | starfive,jh7110-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Minda Chen <minda.chen@starfivetech.com> 14 const: starfive,jh7110-pcie-phy 19 "#phy-cells": 22 starfive,sys-syscon: 23 $ref: /schemas/types.yaml#/definitions/phandle-array 25 - items: [all …]
|
| /freebsd-src/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-src/sys/contrib/device-tree/Bindings/clock/ |
| 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 …]
|