Home
last modified time | relevance | path

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

123456

/linux-6.1.9/drivers/platform/x86/
Dintel_scu_ipc.c102 struct intel_scu_ipc_dev *scu = NULL; in intel_scu_ipc_dev_get() local
114 scu = ipcdev; in intel_scu_ipc_dev_get()
118 return scu; in intel_scu_ipc_dev_get()
130 void intel_scu_ipc_dev_put(struct intel_scu_ipc_dev *scu) in intel_scu_ipc_dev_put() argument
132 if (scu) { in intel_scu_ipc_dev_put()
133 module_put(scu->owner); in intel_scu_ipc_dev_put()
134 put_device(&scu->dev); in intel_scu_ipc_dev_put()
140 struct intel_scu_ipc_dev *scu; member
146 struct intel_scu_ipc_dev *scu = dr->scu; in devm_intel_scu_ipc_dev_release() local
148 intel_scu_ipc_dev_put(scu); in devm_intel_scu_ipc_dev_release()
[all …]
Dintel_scu_ipcutil.c25 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()
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()
Dintel_scu_pcidrv.c21 struct intel_scu_ipc_dev *scu; in intel_scu_pci_probe() local
31 scu = intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_scu_pci_probe()
32 return PTR_ERR_OR_ZERO(scu); in intel_scu_pci_probe()
/linux-6.1.9/arch/x86/include/asm/
Dintel_scu_ipc.h28 void intel_scu_ipc_unregister(struct intel_scu_ipc_dev *scu);
39 void intel_scu_ipc_dev_put(struct intel_scu_ipc_dev *scu);
42 int intel_scu_ipc_dev_ioread8(struct intel_scu_ipc_dev *scu, u16 addr,
44 int intel_scu_ipc_dev_iowrite8(struct intel_scu_ipc_dev *scu, u16 addr,
46 int intel_scu_ipc_dev_readv(struct intel_scu_ipc_dev *scu, u16 *addr,
48 int intel_scu_ipc_dev_writev(struct intel_scu_ipc_dev *scu, u16 *addr,
51 int intel_scu_ipc_dev_update(struct intel_scu_ipc_dev *scu, u16 addr,
54 int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd,
56 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd,
60 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.1.9/Documentation/devicetree/bindings/power/
Dfsl,scu-pd.yaml4 $id: http://devicetree.org/schemas/power/fsl,scu-pd.yaml#
23 - fsl,imx8qm-scu-pd
24 - fsl,imx8qxp-scu-pd
25 - const: fsl,scu-pd
39 compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd";
/linux-6.1.9/Documentation/devicetree/bindings/arm/
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";
/linux-6.1.9/Documentation/devicetree/bindings/firmware/
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
53 channels is 1 TX and 1 RX channels if MU instance is "fsl,imx8-mu-scu"
119 $ref: /schemas/pinctrl/fsl,scu-pinctrl.yaml
125 $ref: /schemas/power/fsl,scu-pd.yaml
130 $ref: /schemas/rtc/fsl,scu-rtc.yaml
135 $ref: /schemas/thermal/fsl,scu-thermal.yaml
[all …]
/linux-6.1.9/arch/arm/mach-shmobile/
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.1.9/drivers/firmware/imx/
DMakefile3 obj-$(CONFIG_IMX_SCU) += imx-scu.o misc.o imx-scu-irq.o rm.o imx-scu-soc.o
4 obj-$(CONFIG_IMX_SCU_PD) += scu-pd.o
/linux-6.1.9/drivers/irqchip/
Dirq-aspeed-scu-ic.c41 struct regmap *scu; member
68 regmap_read(scu_ic->scu, scu_ic->reg, &sts); in aspeed_scu_ic_irq_handler()
79 regmap_write_bits(scu_ic->scu, scu_ic->reg, mask, in aspeed_scu_ic_irq_handler()
97 regmap_update_bits(scu_ic->scu, scu_ic->reg, mask, 0); in aspeed_scu_ic_irq_mask()
112 regmap_update_bits(scu_ic->scu, scu_ic->reg, mask, bit); in aspeed_scu_ic_irq_unmask()
153 scu_ic->scu = syscon_node_to_regmap(node->parent); in aspeed_scu_ic_of_init_common()
154 if (IS_ERR(scu_ic->scu)) { in aspeed_scu_ic_of_init_common()
155 rc = PTR_ERR(scu_ic->scu); in aspeed_scu_ic_of_init_common()
/linux-6.1.9/Documentation/devicetree/bindings/interrupt-controller/
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.1.9/arch/arm64/boot/dts/freescale/
Dimx8qm-ss-lsio.dtsi40 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
44 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
48 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
52 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
56 compatible = "fsl,imx8-mu-scu", "fsl,imx8qm-mu", "fsl,imx6sx-mu";
Dimx8qxp-ss-lsio.dtsi44 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
48 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
52 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
56 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-lpc18xx.c762 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_get_gpio_pin_int() local
777 ret = lpc18xx_get_pintsel(scu->base + LPC18XX_SCU_PINTSEL0, val, arg); in lpc18xx_pconf_get_gpio_pin_int()
781 return lpc18xx_get_pintsel(scu->base + LPC18XX_SCU_PINTSEL1, val, arg); in lpc18xx_pconf_get_gpio_pin_int()
875 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_get() local
885 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_get()
984 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_set_gpio_pin_int() local
999 reg_val = readl(scu->base + reg_offset); in lpc18xx_pconf_set_gpio_pin_int()
1002 writel(reg_val, scu->base + reg_offset); in lpc18xx_pconf_set_gpio_pin_int()
1088 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_set() local
1100 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_set()
[all …]
/linux-6.1.9/drivers/watchdog/
Dintel-mid_wdt.c39 struct intel_scu_ipc_dev *scu; member
45 struct intel_scu_ipc_dev *scu = mid->scu; in wdt_command() local
47 return intel_scu_ipc_dev_command_with_size(scu, IPC_WATCHDOG, sub, in, in wdt_command()
157 mid->scu = devm_intel_scu_ipc_dev_get(dev); in mid_wdt_probe()
158 if (!mid->scu) in mid_wdt_probe()
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Daspeed,ast2x00-scu.yaml4 $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#
21 - aspeed,ast2400-scu
22 - aspeed,ast2500-scu
23 - aspeed,ast2600-scu
56 … description: See Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt
96 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
/linux-6.1.9/drivers/clk/imx/
DMakefile34 obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o
35 clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \
38 clk-imx-lpcg-scu-$(CONFIG_CLK_IMX8QXP) += clk-lpcg-scu.o clk-imx8qxp-lpcg.o
/linux-6.1.9/drivers/mfd/
Dintel_pmc_bxt.c170 struct intel_scu_ipc_dev *scu = pmc->scu; in simplecmd_store() local
181 ret = intel_scu_ipc_dev_simple_command(scu, cmd, subcmd); in simplecmd_store()
206 struct intel_scu_ipc_dev *scu = pmc->scu; in northpeak_store() local
221 ret = intel_scu_ipc_dev_simple_command(scu, PMC_NORTHPEAK_CTRL, subcmd); in northpeak_store()
442 pmc->scu = devm_intel_scu_ipc_register(&pdev->dev, &scu_data); in intel_pmc_probe()
443 if (IS_ERR(pmc->scu)) in intel_pmc_probe()
444 return PTR_ERR(pmc->scu); in intel_pmc_probe()
Dintel_soc_pmic_mrfld.c81 ret = intel_scu_ipc_dev_ioread8(pmic->scu, reg, &ipc_out); in bcove_ipc_byte_reg_read()
95 return intel_scu_ipc_dev_iowrite8(pmic->scu, reg, ipc_in); in bcove_ipc_byte_reg_write()
117 pmic->scu = devm_intel_scu_ipc_dev_get(dev); in bcove_probe()
118 if (!pmic->scu) in bcove_probe()
/linux-6.1.9/drivers/platform/x86/intel/telemetry/
Dpltdrv.c255 return intel_scu_ipc_dev_command(telm_conf->scu, IOSS_TELEM, in telemetry_plt_config_ioss_event()
275 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()
579 ret = intel_scu_ipc_dev_command(telm_conf->scu, IOSS_TELEM, in telemetry_setup()
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()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/nvmem/
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.1.9/drivers/gpu/drm/aspeed/
Daspeed_gfx_drv.c167 priv->scu = syscon_regmap_lookup_by_phandle(np, "syscon"); in aspeed_gfx_load()
168 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
169 priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); in aspeed_gfx_load()
170 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
172 return PTR_ERR(priv->scu); in aspeed_gfx_load()
275 rc = regmap_update_bits(priv->scu, priv->dac_reg, 0x30000, val << 16); in dac_mux_store()
288 rc = regmap_read(priv->scu, priv->dac_reg, &reg); in dac_mux_show()
303 rc = regmap_read(priv->scu, priv->vga_scratch_reg, &reg); in vga_pw_show()
/linux-6.1.9/arch/arm/mach-versatile/
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()
/linux-6.1.9/Documentation/devicetree/bindings/arm/apm/
Dscu.txt8 - "apm,xgene-scu"
14 scu: system-clk-controller@17000000 {
15 compatible = "apm,xgene-scu","syscon";

123456