Home
last modified time | relevance | path

Searched refs:scu (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.15/drivers/platform/x86/
H A Dintel_scu_ipc.c131 if (scu) { in intel_scu_ipc_dev_put()
145 struct intel_scu_ipc_dev *scu = dr->scu; in devm_intel_scu_ipc_dev_release() local
176 dr->scu = scu; in devm_intel_scu_ipc_dev_get()
258 return scu->data.irq > 0 ? ipc_wait_for_interrupt(scu) : busy_loop(scu); in intel_scu_ipc_check_status()
265 if (!scu) in intel_scu_ipc_get()
293 scu = intel_scu_ipc_get(scu); in pwr_reg_rdwr()
451 scu = intel_scu_ipc_get(scu); in intel_scu_ipc_dev_simple_command()
494 scu = intel_scu_ipc_get(scu); in intel_scu_ipc_dev_command_with_size()
576 scu = kzalloc(sizeof(*scu), GFP_KERNEL); in __intel_scu_ipc_register()
654 struct intel_scu_ipc_dev *scu = dr->scu; in devm_intel_scu_ipc_unregister() local
[all …]
H A Dintel_scu_ipcutil.c25 static struct intel_scu_ipc_dev *scu; variable
58 return intel_scu_ipc_dev_readv(scu, data->addr, data->data, count); in scu_reg_access()
60 return intel_scu_ipc_dev_writev(scu, data->addr, data->data, count); in scu_reg_access()
62 return intel_scu_ipc_dev_update(scu, data->addr[0], data->data[0], in scu_reg_access()
103 if (scu) { in scu_ipc_open()
108 scu = intel_scu_ipc_dev_get(); in scu_ipc_open()
109 if (!scu) in scu_ipc_open()
120 intel_scu_ipc_dev_put(scu); in scu_ipc_release()
121 scu = NULL; in scu_ipc_release()
H A Dintel_scu_pltdrv.c23 struct intel_scu_ipc_dev *scu; in intel_scu_platform_probe() local
33 scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_platform_probe()
34 if (IS_ERR(scu)) in intel_scu_platform_probe()
35 return PTR_ERR(scu); in intel_scu_platform_probe()
37 platform_set_drvdata(pdev, scu); in intel_scu_platform_probe()
H A Dintel_scu_pcidrv.c20 struct intel_scu_ipc_dev *scu; in intel_scu_pci_probe() local
30 scu = intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_pci_probe()
31 return PTR_ERR_OR_ZERO(scu); in intel_scu_pci_probe()
/linux-6.15/include/linux/platform_data/x86/
H A Dintel_scu_ipc.h32 void intel_scu_ipc_unregister(struct intel_scu_ipc_dev *scu);
43 void intel_scu_ipc_dev_put(struct intel_scu_ipc_dev *scu);
46 int intel_scu_ipc_dev_ioread8(struct intel_scu_ipc_dev *scu, u16 addr,
48 int intel_scu_ipc_dev_iowrite8(struct intel_scu_ipc_dev *scu, u16 addr,
50 int intel_scu_ipc_dev_readv(struct intel_scu_ipc_dev *scu, u16 *addr,
52 int intel_scu_ipc_dev_writev(struct intel_scu_ipc_dev *scu, u16 *addr,
55 int intel_scu_ipc_dev_update(struct intel_scu_ipc_dev *scu, u16 addr,
58 int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd,
60 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd,
64 static inline int intel_scu_ipc_dev_command(struct intel_scu_ipc_dev *scu, int cmd, in intel_scu_ipc_dev_command() argument
[all …]
/linux-6.15/Documentation/devicetree/bindings/clock/
H A Dairoha,en7523-scu.yaml4 $id: http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml#
33 - airoha,en7523-scu
34 - airoha,en7581-scu
38 - description: scu base address
39 - description: misc scu base address
61 const: airoha,en7523-scu
72 const: airoha,en7581-scu
83 scu: system-controller@1fa20000 {
84 compatible = "airoha,en7523-scu";
96 compatible = "airoha,en7581-scu";
/linux-6.15/Documentation/devicetree/bindings/power/
H A Dfsl,scu-pd.yaml4 $id: http://devicetree.org/schemas/power/fsl,scu-pd.yaml#
23 - fsl,imx8dl-scu-pd
24 - fsl,imx8qm-scu-pd
25 - fsl,imx8qxp-scu-pd
26 - const: fsl,scu-pd
40 compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd";
/linux-6.15/drivers/irqchip/
H A Dirq-aspeed-scu-ic.c42 struct regmap *scu; member
69 regmap_read(scu_ic->scu, scu_ic->reg, &sts); in aspeed_scu_ic_irq_handler()
80 regmap_write_bits(scu_ic->scu, scu_ic->reg, mask, in aspeed_scu_ic_irq_handler()
98 regmap_update_bits(scu_ic->scu, scu_ic->reg, mask, 0); in aspeed_scu_ic_irq_mask()
113 regmap_update_bits(scu_ic->scu, scu_ic->reg, mask, bit); in aspeed_scu_ic_irq_unmask()
154 scu_ic->scu = syscon_node_to_regmap(node->parent); in aspeed_scu_ic_of_init_common()
155 if (IS_ERR(scu_ic->scu)) { in aspeed_scu_ic_of_init_common()
156 rc = PTR_ERR(scu_ic->scu); in aspeed_scu_ic_of_init_common()
159 regmap_write_bits(scu_ic->scu, scu_ic->reg, ASPEED_SCU_IC_STATUS, ASPEED_SCU_IC_STATUS); in aspeed_scu_ic_of_init_common()
160 regmap_write_bits(scu_ic->scu, scu_ic->reg, ASPEED_SCU_IC_ENABLE, 0); in aspeed_scu_ic_of_init_common()
/linux-6.15/Documentation/devicetree/bindings/firmware/
H A Dfsl,scu.yaml4 $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#
26 const: fsl,imx-scu
31 $ref: /schemas/clock/fsl,scu-clk.yaml
41 $ref: /schemas/nvmem/fsl,scu-ocotp.yaml
46 $ref: /schemas/input/fsl,scu-key.yaml
52 const: fsl,imx-scu-reset
137 $ref: /schemas/power/fsl,scu-pd.yaml
142 $ref: /schemas/rtc/fsl,scu-rtc.yaml
152 $ref: /schemas/watchdog/fsl,scu-wdt.yaml
169 compatible = "fsl,imx-scu";
[all …]
/linux-6.15/Documentation/devicetree/bindings/arm/
H A Darm,scu.yaml4 $id: http://devicetree.org/schemas/arm/arm,scu.yaml#
28 - arm,cortex-a9-scu
29 - arm,cortex-a5-scu
30 - arm,arm11mp-scu
43 scu@a0410000 {
44 compatible = "arm,cortex-a9-scu";
H A Dairoha,en7581-chip-scu.yaml4 $id: http://devicetree.org/schemas/arm/airoha,en7581-chip-scu.yaml#
13 The airoha chip-scu block provides a configuration interface for clock,
21 - airoha,en7581-chip-scu
39 compatible = "airoha,en7581-chip-scu", "syscon";
/linux-6.15/arch/arm/mach-shmobile/
H A DMakefile32 smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
33 smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
34 smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
/linux-6.15/drivers/watchdog/
H A Daspeed_wdt.c37 struct aspeed_wdt_scu scu; member
51 .scu = {
63 .scu = {
75 .scu = {
247 struct aspeed_wdt_scu scu = wdt->cfg->scu; in aspeed_wdt_update_bootstatus() local
272 reset_mask_width = hweight32(scu.wdt_reset_mask); in aspeed_wdt_update_bootstatus()
273 reset_mask_shift = scu.wdt_reset_mask_shift + in aspeed_wdt_update_bootstatus()
276 if (status & (scu.wdt_reset_mask << reset_mask_shift)) in aspeed_wdt_update_bootstatus()
284 status &= ~(scu.wdt_reset_mask << reset_mask_shift); in aspeed_wdt_update_bootstatus()
288 regmap_write(scu_base, scu.reset_status_reg, in aspeed_wdt_update_bootstatus()
[all …]
H A Dintel-mid_wdt.c43 struct intel_scu_ipc_dev *scu; member
49 struct intel_scu_ipc_dev *scu = mid->scu; in wdt_command() local
51 return intel_scu_ipc_dev_command_with_size(scu, IPC_WATCHDOG, sub, in, in wdt_command()
161 mid->scu = devm_intel_scu_ipc_dev_get(dev); in mid_wdt_probe()
162 if (!mid->scu) in mid_wdt_probe()
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A Daspeed,ast2x00-scu.yaml4 $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#
12 In AST2700 SOC which has two soc connection, each soc have its own scu
23 - aspeed,ast2400-scu
24 - aspeed,ast2500-scu
25 - aspeed,ast2600-scu
69 … description: See Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt
110 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
/linux-6.15/Documentation/devicetree/bindings/interrupt-controller/
H A Daspeed,ast2xxx-scu-ic.txt5 - compatible : must be "aspeed,ast2500-scu-ic",
6 "aspeed,ast2600-scu-ic0" or
7 "aspeed,ast2600-scu-ic1"
19 compatible = "aspeed,ast2500-scu-ic";
/linux-6.15/drivers/pinctrl/
H A Dpinctrl-lpc18xx.c1316 if (!scu->func[func].groups) in lpc18xx_create_group_func_map()
1328 struct lpc18xx_scu_data *scu; in lpc18xx_scu_probe() local
1331 scu = devm_kzalloc(&pdev->dev, sizeof(*scu), GFP_KERNEL); in lpc18xx_scu_probe()
1332 if (!scu) in lpc18xx_scu_probe()
1336 if (IS_ERR(scu->base)) in lpc18xx_scu_probe()
1337 return PTR_ERR(scu->base); in lpc18xx_scu_probe()
1340 if (IS_ERR(scu->clk)) { in lpc18xx_scu_probe()
1342 return PTR_ERR(scu->clk); in lpc18xx_scu_probe()
1359 scu->pctl = devm_pinctrl_register(&pdev->dev, &lpc18xx_scu_desc, scu); in lpc18xx_scu_probe()
1360 if (IS_ERR(scu->pctl)) { in lpc18xx_scu_probe()
[all …]
/linux-6.15/drivers/firmware/imx/
H A DMakefile3 obj-$(CONFIG_IMX_SCU) += imx-scu.o misc.o imx-scu-irq.o rm.o imx-scu-soc.o
/linux-6.15/drivers/mfd/
H A Dintel_pmc_bxt.c169 struct intel_scu_ipc_dev *scu = pmc->scu; in simplecmd_store() local
180 ret = intel_scu_ipc_dev_simple_command(scu, cmd, subcmd); in simplecmd_store()
205 struct intel_scu_ipc_dev *scu = pmc->scu; in northpeak_store() local
220 ret = intel_scu_ipc_dev_simple_command(scu, PMC_NORTHPEAK_CTRL, subcmd); in northpeak_store()
441 pmc->scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_pmc_probe()
442 if (IS_ERR(pmc->scu)) in intel_pmc_probe()
443 return PTR_ERR(pmc->scu); in intel_pmc_probe()
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dimx8qm-ss-lsio.dtsi78 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
82 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
86 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
90 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
94 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
/linux-6.15/drivers/platform/x86/intel/telemetry/
H A Dpltdrv.c275 struct intel_scu_ipc_dev *scu = telm_conf->scu; in telemetry_setup_iossevtconfig() local
286 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_setup_iossevtconfig()
297 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_setup_iossevtconfig()
311 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_setup_iossevtconfig()
339 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_setup_iossevtconfig()
390 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_setup_iossevtconfig()
675 struct intel_scu_ipc_dev *scu = telm_conf->scu; in telemetry_plt_set_sampling_period() local
684 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_plt_set_sampling_period()
695 ret = intel_scu_ipc_dev_command(scu, IOSS_TELEM, in telemetry_plt_set_sampling_period()
1008 ret = intel_scu_ipc_dev_command(telm_conf->scu, in telemetry_plt_get_trace_verbosity()
[all …]
/linux-6.15/Documentation/devicetree/bindings/nvmem/
H A Dfsl,scu-ocotp.yaml4 $id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#
21 - fsl,imx8qm-scu-ocotp
22 - fsl,imx8qxp-scu-ocotp
49 compatible = "fsl,imx8qxp-scu-ocotp";
/linux-6.15/drivers/clk/imx/
H A DMakefile36 obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o clk-imx-acm.o
37 clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \
40 clk-imx-lpcg-scu-$(CONFIG_CLK_IMX8QXP) += clk-lpcg-scu.o clk-imx8qxp-lpcg.o
/linux-6.15/drivers/gpu/drm/aspeed/
H A Daspeed_gfx_drv.c163 priv->scu = syscon_regmap_lookup_by_phandle(np, "syscon"); in aspeed_gfx_load()
164 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
165 priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); in aspeed_gfx_load()
166 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
168 return PTR_ERR(priv->scu); in aspeed_gfx_load()
271 rc = regmap_update_bits(priv->scu, priv->dac_reg, 0x30000, val << 16); in dac_mux_store()
284 rc = regmap_read(priv->scu, priv->dac_reg, &reg); in dac_mux_show()
299 rc = regmap_read(priv->scu, priv->vga_scratch_reg, &reg); in vga_pw_show()
/linux-6.15/arch/arm/mach-versatile/
H A Dplatsmp-vexpress.c64 struct device_node *scu = of_find_matching_node(NULL, in vexpress_smp_dt_prepare_cpus() local
67 if (scu) in vexpress_smp_dt_prepare_cpus()
68 scu_enable(of_iomap(scu, 0)); in vexpress_smp_dt_prepare_cpus()

123456