Home
last modified time | relevance | path

Searched full:syscon (Results 1 – 25 of 1055) sorted by relevance

12345678910>>...43

/freebsd-src/sys/dev/syscon/
H A Dsyscon.c29 * This is a generic syscon driver, whose purpose is to provide access to
58 #include "syscon.h"
61 * Syscon interface details
63 typedef TAILQ_HEAD(syscon_list, syscon) syscon_list_t;
68 static int syscon_method_init(struct syscon *syscon);
69 static int syscon_method_uninit(struct syscon *syscon);
70 static uint32_t syscon_method_read_4(struct syscon *syscon, bus_size_t offset);
71 static int syscon_method_write_4(struct syscon *syscon, bus_size_t offset,
73 static int syscon_method_modify_4(struct syscon *syscon, bus_size_t offset,
77 MALLOC_DEFINE(M_SYSCON, "syscon", "Syscon driver");
[all …]
H A Dsyscon_if.m30 INTERFACE syscon;
33 struct syscon;
34 int syscon_get_handle_default(device_t dev, struct syscon **syscon);
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;
76 * Accessor functions for syscon register space
79 struct syscon *syscon;
84 struct syscon *syscon;
[all …]
H A Dsyscon.h38 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);
66 int syscon_unregister(struct syscon *syscon);
69 struct syscon *syscon_create_ofw_node(device_t pdev,
71 phandle_t syscon_get_ofw_node(struct syscon *syscon);
73 struct syscon **syscon);
[all …]
H A Dsyscon_generic.c30 * This is a generic syscon driver, whose purpose is to provide access to
51 #include "syscon.h"
56 static uint32_t syscon_generic_unlocked_read_4(struct syscon *syscon,
58 static int syscon_generic_unlocked_write_4(struct syscon *syscon,
60 static int syscon_generic_unlocked_modify_4(struct syscon *syscon,
64 * Generic syscon driver (FDT)
67 {"syscon",
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...]
/freebsd-src/sys/contrib/device-tree/Bindings/soc/rockchip/
H A Dgrf.txt22 - "rockchip,px30-grf", "syscon": for px30
23 - "rockchip,rk3036-grf", "syscon": for rk3036
24 - "rockchip,rk3066-grf", "syscon": for rk3066
25 - "rockchip,rk3188-grf", "syscon": for rk3188
26 - "rockchip,rk3228-grf", "syscon": for rk3228
27 - "rockchip,rk3288-grf", "syscon": for rk3288
28 - "rockchip,rk3308-grf", "syscon": for rk3308
29 - "rockchip,rk3328-grf", "syscon": for rk3328
30 - "rockchip,rk3368-grf", "syscon": for rk3368
31 - "rockchip,rk3399-grf", "syscon": for rk3399
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/gemini/
H A Dgemini.dtsi21 syscon = <&syscon>;
28 syscon: syscon@40000000 { label
29 compatible = "cortina,gemini-syscon",
30 "syscon", "simple-mfd";
35 syscon-reboot {
36 compatible = "syscon-reboot";
37 regmap = <&syscon>;
46 regmap = <&syscon>;
161 resets = <&syscon GEMINI_RESET_WDOG>;
162 clocks = <&syscon GEMINI_CLK_APB>;
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/
H A Darm,dev-platforms-syscon.yaml4 $id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml#
22 - arm,integrator-ap-syscon
23 - arm,integrator-cp-syscon
24 - arm,integrator-sp-syscon
25 - arm,im-pd1-syscon
26 - const: syscon
30 - arm,integrator-ap-syscon
31 - arm,integrator-cp-syscon
32 - arm,integrator-sp-syscon
33 - arm,realview-eb-syscon
[all …]
H A Dqcom,tcsr.txt5 registers via syscon.
9 "qcom,tcsr-ipq6018", "syscon", "simple-mfd" for IPQ6018
10 "qcom,tcsr-ipq8064", "syscon" for IPQ8064
11 "qcom,tcsr-apq8064", "syscon" for APQ8064
12 "qcom,tcsr-msm8660", "syscon" for MSM8660
13 "qcom,tcsr-msm8953", "syscon" for MSM8953
14 "qcom,tcsr-msm8960", "syscon" for MSM8960
15 "qcom,tcsr-msm8974", "syscon" for MSM8974
16 "qcom,tcsr-apq8084", "syscon" for APQ8084
17 "qcom,tcsr-msm8916", "syscon" for MSM8916
[all …]
H A Datmel-matrix.txt8 "atmel,at91sam9260-matrix", "syscon"
9 "atmel,at91sam9261-matrix", "syscon"
10 "atmel,at91sam9263-matrix", "syscon"
11 "atmel,at91sam9rl-matrix", "syscon"
12 "atmel,at91sam9g45-matrix", "syscon"
13 "atmel,at91sam9n12-matrix", "syscon"
14 "atmel,at91sam9x5-matrix", "syscon"
15 "atmel,sama5d3-matrix", "syscon"
16 "microchip,sam9x60-matrix", "syscon"
17 "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon"
[all …]
H A Dsyscon.yaml4 $id: http://devicetree.org/schemas/mfd/syscon.yaml#
14 a reference to the syscon node (e.g. by phandle, node path, or
24 # syscon fallback.
37 - amd,pensando-elba-syscon
55 - axis,artpec6-syscon
75 - loongson,ls1b-syscon
76 - loongson,ls1c-syscon
77 - lsi,axxia-syscon
90 - microchip,lan966x-cpu-syscon
93 - mscc,ocelot-cpu-syscon
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-g6.dtsi71 clocks = <&syscon ASPEED_CLK_HPLL>;
77 compatible = "aspeed,ast2600-sdram-edac", "syscon";
102 compatible = "aspeed,ast2600-ahbc", "syscon";
111 clocks = <&syscon ASPEED_CLK_AHB>;
142 clocks = <&syscon ASPEED_CLK_AHB>;
165 clocks = <&syscon ASPEED_CLK_AHB>;
198 resets = <&syscon ASPEED_RESET_MII>;
209 resets = <&syscon ASPEED_RESET_MII>;
220 resets = <&syscon ASPEED_RESET_MII>;
231 resets = <&syscon ASPEED_RESET_MI
343 syscon: syscon@1e6e2000 { global() label
[all...]
H A Daspeed-g5.dtsi62 clocks = <&syscon ASPEED_CLK_AHB>;
93 clocks = <&syscon ASPEED_CLK_AHB>;
116 clocks = <&syscon ASPEED_CLK_AHB>;
153 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
161 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
169 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
179 clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
190 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
202 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
223 syscon label
[all...]
H A Daspeed-g4.dtsi61 clocks = <&syscon ASPEED_CLK_AHB>;
106 clocks = <&syscon ASPEED_CLK_AHB>;
135 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
143 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
151 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
162 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
174 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
188 syscon: syscon@1e6e2000 { label
189 compatible = "aspeed,ast2400-scu", "syscon", "simpl
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/soc/starfive/
H A Dstarfive,jh7110-syscon.yaml4 $id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml#
20 - const: starfive,jh7110-sys-syscon
21 - const: syscon
25 - starfive,jh7110-aon-syscon
26 - starfive,jh7110-stg-syscon
27 - const: syscon
48 const: starfive,jh7110-sys-syscon
59 const: starfive,jh7110-aon-syscon
71 syscon@10240000 {
72 compatible = "starfive,jh7110-stg-syscon", "syscon";
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/arm/mediatek/
H A Dmediatek,infracfg.txt10 - "mediatek,mt2701-infracfg", "syscon"
11 - "mediatek,mt2712-infracfg", "syscon"
12 - "mediatek,mt6765-infracfg", "syscon"
13 - "mediatek,mt6779-infracfg_ao", "syscon"
14 - "mediatek,mt6797-infracfg", "syscon"
15 - "mediatek,mt7622-infracfg", "syscon"
16 - "mediatek,mt7623-infracfg", "mediatek,mt2701-infracfg", "syscon"
17 - "mediatek,mt7629-infracfg", "syscon"
18 - "mediatek,mt7986-infracfg", "syscon"
19 - "mediatek,mt8135-infracfg", "syscon"
[all …]
H A Dmediatek,ipu.txt9 - "mediatek,mt8183-ipu_conn", "syscon"
10 - "mediatek,mt8183-ipu_adl", "syscon"
11 - "mediatek,mt8183-ipu_core0", "syscon"
12 - "mediatek,mt8183-ipu_core1", "syscon"
21 ipu_conn: syscon@19000000 {
22 compatible = "mediatek,mt8183-ipu_conn", "syscon";
27 ipu_adl: syscon@19010000 {
28 compatible = "mediatek,mt8183-ipu_adl", "syscon";
33 ipu_core0: syscon@19180000 {
34 compatible = "mediatek,mt8183-ipu_core0", "syscon";
[all …]
H A Dmediatek,mmsys.txt10 - "mediatek,mt2701-mmsys", "syscon"
11 - "mediatek,mt2712-mmsys", "syscon"
12 - "mediatek,mt6765-mmsys", "syscon"
13 - "mediatek,mt6779-mmsys", "syscon"
14 - "mediatek,mt6797-mmsys", "syscon"
15 - "mediatek,mt7623-mmsys", "mediatek,mt2701-mmsys", "syscon"
16 - "mediatek,mt8167-mmsys", "syscon"
17 - "mediatek,mt8173-mmsys", "syscon"
18 - "mediatek,mt8183-mmsys", "syscon"
27 mmsys: syscon@14000000 {
[all …]
H A Dmediatek,imgsys.txt9 - "mediatek,mt2701-imgsys", "syscon"
10 - "mediatek,mt2712-imgsys", "syscon"
11 - "mediatek,mt6765-imgsys", "syscon"
12 - "mediatek,mt6779-imgsys", "syscon"
13 - "mediatek,mt6797-imgsys", "syscon"
14 - "mediatek,mt7623-imgsys", "mediatek,mt2701-imgsys", "syscon"
15 - "mediatek,mt8167-imgsys", "syscon"
16 - "mediatek,mt8173-imgsys", "syscon"
17 - "mediatek,mt8183-imgsys", "syscon"
27 compatible = "mediatek,mt8173-imgsys", "syscon";
/freebsd-src/sys/dev/fdt/
H A Dsimple_mfd.c53 #include <dev/syscon/syscon.h>
57 static uint32_t simple_mfd_syscon_read_4(struct syscon *syscon,
59 static int simple_mfd_syscon_write_4(struct syscon *syscon, bus_size_t offset,
61 static int simple_mfd_syscon_modify_4(struct syscon *syscon, bus_size_t offset,
67 device_get_nameunit((_sc)->dev), "syscon", MTX_SPIN)
83 simple_mfd_syscon_read_4(struct syscon *sysco 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/contrib/device-tree/Bindings/arm/
H A Dgemini.txt23 - syscon: the soc bus node must have a system controller node pointing to the
25 "cortina,gemini-syscon", "syscon";
27 Required properties on the syscon:
28 - reg: syscon register location and size.
69 syscon: syscon@40000000 {
70 compatible = "cortina,gemini-syscon", "syscon";
79 resets = <&syscon GEMINI_RESET_UART>;
80 clocks = <&syscon GEMINI_CLK_UART>;
92 resets = <&syscon GEMINI_RESET_TIMER>;
94 clocks = <&syscon GEMINI_CLK_APB>,
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/reset/
H A Dti-syscon-reset.txt1 TI SysCon Reset Controller
8 functionalities. This register range is best represented as a syscon node to
12 A SysCon Reset Controller node defines a device that uses a syscon node
16 SysCon Reset Controller Node
18 Each of the reset provider/controller nodes should be a child of a syscon
27 "ti,syscon-reset"
34 register from the syscon register base
38 register from the syscon register base
42 from the syscon register base
47 file <dt-bindings/reset/ti-syscon.h>
[all …]
/freebsd-src/sys/arm/ti/
H A Dti_scm_syscon.c49 #include <dev/syscon/syscon.h>
65 struct syscon * syscon; member
79 { "syscon", 1 },
83 /* --- dev/extres/syscon syscon_method_t interface --- */
85 ti_scm_syscon_write_4(struct syscon *syscon, bus_size_t offset, uint32_t val) in ti_scm_syscon_write_4() argument
89 sc = device_get_softc(syscon->pdev); in ti_scm_syscon_write_4()
98 ti_scm_syscon_read_4(struct syscon *sysco 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/contrib/device-tree/Bindings/phy/
H A Dhisilicon,hi3670-usb3.yaml22 hisilicon,pericrg-syscon:
24 description: phandle of syscon used to control iso refclk.
26 hisilicon,pctrl-syscon:
28 description: phandle of syscon used to control usb tcxo.
30 hisilicon,sctrl-syscon:
32 description: phandle of syscon used to control phy deep sleep.
45 - hisilicon,pericrg-syscon
46 - hisilicon,pctrl-syscon
47 - hisilicon,sctrl-syscon
59 hisilicon,pericrg-syscon = <&crg_ctrl>;
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/power/reset/
H A Daxxia-reset.txt3 This driver can do reset of the Axxia SoC. It uses the registers in the syscon
8 -syscon: phandle to the syscon node.
12 syscon: syscon@2010030000 {
13 compatible = "lsi,axxia-syscon", "syscon";
19 syscon = <&syscon>;
/freebsd-src/sys/contrib/device-tree/Bindings/mips/
H A Dmscc.txt19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon"
23 syscon@71070000 {
24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon";
35 - compatible: Should be "mscc,ocelot-hsio", "syscon", "simple-mfd"
39 syscon@10d0000 {
40 compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";

12345678910>>...43