Home
last modified time | relevance | path

Searched +full:sys +full:- +full:syscon (Results 1 – 25 of 132) sorted by relevance

123456

/freebsd-src/sys/dev/syscon/
H A Dsyscon.c1 /*-
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 Dsyscon_generic.c1 /*-
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 Dsyscon_power.c1 /*-
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 Dsyscon.h1 /*-
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 Dsyscon_if.m1 #-
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 Dstarfive_syscon.c1 /*-
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 Dti_scm_syscon.c1 /*-
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 Dsimple_mfd.c1 /*-
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 Dam335x_pwmss.c1 /*-
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 Dam335x_scm.c1 /*-
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 Dam335x_musb.c1 /*-
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 Dstarfive,jh7110-syscon.yaml1 # 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 Drk_usbphy.c1 /*-
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 Drk3399_emmcphy.c1 /*-
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 Da37x0_xtal.c1 /*-
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 Dmv_ap806_clock.c1 /*-
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 Dmvebu_pinctrl.c1 /*-
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 Dmv_thermal.c1 /*-
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 Dmv_cp110_clock.c1 /*-
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 Djh7110_clk_pll.c1 /*-
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 Driscv_syscon.c1 /*-
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 Daw_syscon.c1 /*-
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 Dstarfive,jh7110-pcie-phy.yaml1 # 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 Dls1028a_flexspi_clk.c1 /*-
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 Doxnas,stdclk.txt4 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 …]

123456