Home
last modified time | relevance | path

Searched refs:sysreg (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.12.1/arch/arm/include/asm/
Dvfpmacros.h12 .macro VFPFMRX, rd, sysreg, cond
13 vmrs\cond \rd, \sysreg
16 .macro VFPFMXR, sysreg, rd, cond
17 vmsr\cond \sysreg, \rd
21 .macro VFPFMRX, rd, sysreg, cond
22 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg
25 .macro VFPFMXR, sysreg, rd, cond
26 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd
/linux-6.12.1/drivers/phy/nuvoton/
Dphy-ma35d1-usb2.c27 struct regmap *sysreg; member
42 regmap_read(p_phy->sysreg, MA35_SYS_REG_USBPMISCR, &val); in ma35_usb_phy_power_on()
48 ret = regmap_read_poll_timeout(p_phy->sysreg, MA35_SYS_REG_USBPMISCR, val, in ma35_usb_phy_power_on()
58 regmap_update_bits(p_phy->sysreg, MA35_SYS_REG_USBPMISCR, 0x7, (PHY0POR | PHY0SUSPEND)); in ma35_usb_phy_power_on()
62 regmap_update_bits(p_phy->sysreg, MA35_SYS_REG_USBPMISCR, 0x7, PHY0SUSPEND); in ma35_usb_phy_power_on()
65 ret = regmap_read_poll_timeout(p_phy->sysreg, MA35_SYS_REG_USBPMISCR, val, in ma35_usb_phy_power_on()
103 p_phy->sysreg = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, "nuvoton,sys"); in ma35_usb_phy_probe()
104 if (IS_ERR(p_phy->sysreg)) in ma35_usb_phy_probe()
105 return dev_err_probe(&pdev->dev, PTR_ERR(p_phy->sysreg), in ma35_usb_phy_probe()
/linux-6.12.1/arch/arm/boot/dts/arm/
Dvexpress-v2p-ca15-tc1.dts148 arm,vexpress-sysreg,func = <1 0>;
157 arm,vexpress-sysreg,func = <1 4>;
166 arm,vexpress-sysreg,func = <1 5>;
175 arm,vexpress-sysreg,func = <1 6>;
184 arm,vexpress-sysreg,func = <1 7>;
193 arm,vexpress-sysreg,func = <1 8>;
202 arm,vexpress-sysreg,func = <2 0>;
213 arm,vexpress-sysreg,func = <3 0>;
220 arm,vexpress-sysreg,func = <4 0>;
227 arm,vexpress-sysreg,func = <12 0>;
[all …]
Dvexpress-v2p-ca9.dts193 arm,vexpress-sysreg,func = <1 0>;
202 arm,vexpress-sysreg,func = <1 1>;
211 arm,vexpress-sysreg,func = <1 2>;
220 arm,vexpress-sysreg,func = <2 0>;
229 arm,vexpress-sysreg,func = <2 1>;
238 arm,vexpress-sysreg,func = <2 2>;
247 arm,vexpress-sysreg,func = <2 3>;
256 arm,vexpress-sysreg,func = <2 4>;
264 arm,vexpress-sysreg,func = <2 5>;
274 arm,vexpress-sysreg,func = <3 0>;
[all …]
Dvexpress-v2p-ca15_a7.dts259 arm,vexpress-sysreg,func = <1 0>;
268 arm,vexpress-sysreg,func = <1 1>;
277 arm,vexpress-sysreg,func = <1 2>;
286 arm,vexpress-sysreg,func = <1 3>;
295 arm,vexpress-sysreg,func = <1 4>;
304 arm,vexpress-sysreg,func = <1 5>;
313 arm,vexpress-sysreg,func = <1 6>;
322 arm,vexpress-sysreg,func = <1 7>;
331 arm,vexpress-sysreg,func = <1 8>;
340 arm,vexpress-sysreg,func = <2 0>;
[all …]
Dvexpress-v2m-rs1.dtsi209 v2m_sysreg: sysreg@10000 {
210 compatible = "arm,vexpress-sysreg";
217 compatible = "arm,vexpress-sysreg,sys_led";
224 compatible = "arm,vexpress-sysreg,sys_mci";
231 compatible = "arm,vexpress-sysreg,sys_flash";
426 arm,vexpress-sysreg,func = <1 0>;
435 arm,vexpress-sysreg,func = <1 1>;
444 arm,vexpress-sysreg,func = <1 2>;
453 arm,vexpress-sysreg,func = <2 0>;
462 arm,vexpress-sysreg,func = <4 0>;
[all …]
Dvexpress-v2m.dtsi129 v2m_sysreg: sysreg@0 {
130 compatible = "arm,vexpress-sysreg";
137 compatible = "arm,vexpress-sysreg,sys_led";
144 compatible = "arm,vexpress-sysreg,sys_mci";
151 compatible = "arm,vexpress-sysreg,sys_flash";
442 arm,vexpress-sysreg,func = <1 0>;
451 arm,vexpress-sysreg,func = <1 1>;
460 arm,vexpress-sysreg,func = <1 2>;
469 arm,vexpress-sysreg,func = <2 0>;
478 arm,vexpress-sysreg,func = <4 0>;
[all …]
Dvexpress-v2p-ca5s.dts151 arm,vexpress-sysreg,func = <1 0>;
160 arm,vexpress-sysreg,func = <1 1>;
169 arm,vexpress-sysreg,func = <1 2>;
178 arm,vexpress-sysreg,func = <1 3>;
187 arm,vexpress-sysreg,func = <1 4>;
196 arm,vexpress-sysreg,func = <1 5>;
205 arm,vexpress-sysreg,func = <4 0>;
/linux-6.12.1/arch/arm64/tools/
DMakefile6 kapisyshdr-y := cpucap-defs.h sysreg-defs.h
27 $(kapi)/sysreg-defs.h: $(src)/gen-sysreg.awk $(src)/sysreg FORCE
/linux-6.12.1/arch/arm64/kvm/
Dtrace_arm.h393 TP_PROTO(struct kvm_vcpu *vcpu, u32 sysreg, bool is_read),
394 TP_ARGS(vcpu, sysreg, is_read),
398 __field(u32, sysreg)
404 __entry->sysreg = sysreg;
411 sys_reg_Op0(__entry->sysreg),
412 sys_reg_Op1(__entry->sysreg),
413 sys_reg_CRn(__entry->sysreg),
414 sys_reg_CRm(__entry->sysreg),
415 sys_reg_Op2(__entry->sysreg))
/linux-6.12.1/arch/arm64/boot/dts/arm/
Drtsm_ve-motherboard.dtsi47 arm,vexpress-sysreg,func = <1 1>;
55 arm,vexpress-sysreg,func = <5 0>;
60 arm,vexpress-sysreg,func = <7 0>;
65 arm,vexpress-sysreg,func = <8 0>;
70 arm,vexpress-sysreg,func = <9 0>;
75 arm,vexpress-sysreg,func = <11 0>;
115 v2m_sysreg: sysreg@10000 {
116 compatible = "arm,vexpress-sysreg";
Dvexpress-v2f-1xv7-ca53x2.dts117 arm,vexpress-sysreg,func = <1 4>;
126 arm,vexpress-sysreg,func = <2 0>;
136 arm,vexpress-sysreg,func = <2 1>;
144 arm,vexpress-sysreg,func = <4 0>;
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/
Dvexpress.txt11 - "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
21 arm,vexpress-sysreg,func = <13 0>;
/linux-6.12.1/tools/arch/arm64/tools/
DMakefile23 arm64_sysreg_tbl = $(arm64_tools_dir)/sysreg
24 arm64_gen_sysreg = $(arm64_tools_dir)/gen-sysreg.awk
26 arm64_sysreg_defs = $(arm64_generated_dir)/asm/sysreg-defs.h
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dvexpress.txt6 - "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
27 arm,vexpress-sysreg,func = <2 0>;
/linux-6.12.1/arch/arm64/boot/dts/exynos/
Dexynosautov9.dtsi423 compatible = "samsung,exynosautov9-fsys2-sysreg",
424 "samsung,exynosautov9-sysreg", "syscon";
429 compatible = "samsung,exynosautov9-peric0-sysreg",
430 "samsung,exynosautov9-sysreg", "syscon";
435 compatible = "samsung,exynosautov9-peric1-sysreg",
436 "samsung,exynosautov9-sysreg", "syscon";
444 samsung,sysreg = <&syscon_peric0 0x1000>;
507 samsung,sysreg = <&syscon_peric0 0x1004>;
536 samsung,sysreg = <&syscon_peric0 0x1008>;
599 samsung,sysreg = <&syscon_peric0 0x100c>;
[all …]
Dexynos850.dtsi607 compatible = "samsung,exynos850-peri-sysreg",
608 "samsung,exynos850-sysreg", "syscon";
614 compatible = "samsung,exynos850-cmgp-sysreg",
615 "samsung,exynos850-sysreg", "syscon";
653 samsung,sysreg = <&sysreg_peri 0x1010>;
679 samsung,sysreg = <&sysreg_peri 0x1020>;
708 samsung,sysreg = <&sysreg_peri 0x1030>;
737 samsung,sysreg = <&sysreg_peri 0x1040>;
766 samsung,sysreg = <&sysreg_peri 0x1050>;
798 samsung,sysreg = <&sysreg_cmgp 0x2000>;
[all …]
/linux-6.12.1/drivers/soc/samsung/
Dexynos-usi.c58 struct regmap *sysreg; /* System Register map */ member
113 ret = regmap_update_bits(usi->sysreg, usi->sw_conf, in exynos_usi_set_sw_conf()
189 usi->sysreg = syscon_regmap_lookup_by_phandle(np, "samsung,sysreg"); in exynos_usi_parse_dt()
190 if (IS_ERR(usi->sysreg)) in exynos_usi_parse_dt()
191 return PTR_ERR(usi->sysreg); in exynos_usi_parse_dt()
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos5.dtsi101 compatible = "samsung,exynos5-sysreg", "syscon";
135 samsung,sysreg-phandle = <&sysreg_system_controller>;
145 samsung,sysreg-phandle = <&sysreg_system_controller>;
155 samsung,sysreg-phandle = <&sysreg_system_controller>;
165 samsung,sysreg-phandle = <&sysreg_system_controller>;
195 samsung,sysreg = <&sysreg_system_controller>;
/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_drm_mic.c99 struct regmap *sysreg; member
114 ret = regmap_read(mic->sysreg, DSD_CFG_MUX, &val); in mic_set_path()
131 ret = regmap_write(mic->sysreg, DSD_CFG_MUX, val); in mic_set_path()
404 mic->sysreg = syscon_regmap_lookup_by_phandle(dev->of_node, in exynos_mic_probe()
406 if (IS_ERR(mic->sysreg)) { in exynos_mic_probe()
408 ret = PTR_ERR(mic->sysreg); in exynos_mic_probe()
Dexynos_drm_fimd.c182 struct regmap *sysreg; member
501 if (driver_data->has_vtsel && ctx->sysreg && in fimd_commit()
502 regmap_update_bits(ctx->sysreg, in fimd_commit()
547 if (ctx->sysreg && regmap_update_bits(ctx->sysreg, in fimd_commit()
559 if (driver_data->has_mic_bypass && ctx->sysreg && in fimd_commit()
560 regmap_update_bits(ctx->sysreg, in fimd_commit()
1224 ctx->sysreg = syscon_regmap_lookup_by_phandle(dev->of_node, in fimd_probe()
1226 if (IS_ERR(ctx->sysreg)) { in fimd_probe()
1228 ctx->sysreg = NULL; in fimd_probe()
/linux-6.12.1/tools/perf/
DMANIFEST1 arch/arm64/tools/gen-sysreg.awk
2 arch/arm64/tools/sysreg
/linux-6.12.1/arch/arm64/boot/dts/exynos/google/
Dgs101.dtsi365 compatible = "google,gs101-peric0-sysreg", "syscon";
387 samsung,sysreg = <&sysreg_peric0 0x1000>;
442 samsung,sysreg = <&sysreg_peric0 0x1004>;
497 samsung,sysreg = <&sysreg_peric0 0x1008>;
552 samsung,sysreg = <&sysreg_peric0 0x100c>;
607 samsung,sysreg = <&sysreg_peric0 0x1010>;
662 samsung,sysreg = <&sysreg_peric0 0x1014>;
717 samsung,sysreg = <&sysreg_peric0 0x1018>;
772 samsung,sysreg = <&sysreg_peric0 0x101c>;
827 samsung,sysreg = <&sysreg_peric0 0x1020>;
[all …]
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dswitch.h420 u32 sysreg = esr_sys64_to_sysreg(kvm_vcpu_get_esr(vcpu)); in handle_tx2_tvm() local
431 switch (sysreg) { in handle_tx2_tvm()
476 u32 sysreg; in kvm_hyp_handle_cntpct() local
484 sysreg = esr_sys64_to_sysreg(kvm_vcpu_get_esr(vcpu)); in kvm_hyp_handle_cntpct()
486 switch (sysreg) { in kvm_hyp_handle_cntpct()
524 u32 sysreg = esr_sys64_to_sysreg(kvm_vcpu_get_esr(vcpu)); in handle_ampere1_tcr() local
528 if (sysreg != SYS_TCR_EL1) in handle_ampere1_tcr()
/linux-6.12.1/drivers/i2c/busses/
Di2c-s3c2410.c119 struct regmap *sysreg; member
992 i2c->sysreg = syscon_regmap_lookup_by_phandle(np, in s3c24xx_i2c_parse_dt()
994 if (IS_ERR(i2c->sysreg)) in s3c24xx_i2c_parse_dt()
997 regmap_update_bits(i2c->sysreg, EXYNOS5_SYS_I2C_CFG, BIT(id), 0); in s3c24xx_i2c_parse_dt()
1028 i2c->sysreg = ERR_PTR(-ENOENT); in s3c24xx_i2c_probe()
1148 if (!IS_ERR(i2c->sysreg)) in s3c24xx_i2c_suspend_noirq()
1149 regmap_read(i2c->sysreg, EXYNOS5_SYS_I2C_CFG, &i2c->sys_i2c_cfg); in s3c24xx_i2c_suspend_noirq()
1159 if (!IS_ERR(i2c->sysreg)) in s3c24xx_i2c_resume_noirq()
1160 regmap_write(i2c->sysreg, EXYNOS5_SYS_I2C_CFG, i2c->sys_i2c_cfg); in s3c24xx_i2c_resume_noirq()

123