Home
last modified time | relevance | path

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

123456

/linux/drivers/platform/x86/
A Dintel_scu_ipc.c118 return scu; in intel_scu_ipc_dev_get()
132 if (scu) { in intel_scu_ipc_dev_put()
146 struct intel_scu_ipc_dev *scu = dr->scu; in devm_intel_scu_ipc_dev_release() local
177 dr->scu = scu; in devm_intel_scu_ipc_dev_get()
267 return scu->irq > 0 ? ipc_wait_for_interrupt(scu) : busy_loop(scu); in intel_scu_ipc_check_status()
283 if (!scu) in pwr_reg_rdwr()
442 if (!scu) in intel_scu_ipc_dev_simple_command()
543 free_irq(scu->irq, scu); in intel_scu_ipc_release()
576 scu = kzalloc(sizeof(*scu), GFP_KERNEL); in __intel_scu_ipc_register()
661 struct intel_scu_ipc_dev *scu = dr->scu; in devm_intel_scu_ipc_unregister() local
[all …]
A 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()
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()
A 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/arch/x86/include/asm/
A 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/Documentation/devicetree/bindings/arm/
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";
/linux/arch/arm/mach-shmobile/
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/drivers/irqchip/
A 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/drivers/firmware/imx/
A Dbuilt-in.a3 imx-scu.o/
5 imx-scu-irq.o/
7 imx-scu-soc.o/
8 scu-pd.o/
A 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
A D.built-in.a.cmd1scu.o drivers/firmware/imx/misc.o drivers/firmware/imx/imx-scu-irq.o drivers/firmware/imx/rm.o dri…
/linux/drivers/pinctrl/
A Dpinctrl-lpc18xx.c1314 if (!scu->func[func].groups) in lpc18xx_create_group_func_map()
1326 struct lpc18xx_scu_data *scu; in lpc18xx_scu_probe() local
1329 scu = devm_kzalloc(&pdev->dev, sizeof(*scu), GFP_KERNEL); in lpc18xx_scu_probe()
1330 if (!scu) in lpc18xx_scu_probe()
1334 if (IS_ERR(scu->base)) in lpc18xx_scu_probe()
1335 return PTR_ERR(scu->base); in lpc18xx_scu_probe()
1338 if (IS_ERR(scu->clk)) { in lpc18xx_scu_probe()
1340 return PTR_ERR(scu->clk); in lpc18xx_scu_probe()
1357 scu->pctl = devm_pinctrl_register(&pdev->dev, &lpc18xx_scu_desc, scu); in lpc18xx_scu_probe()
1358 if (IS_ERR(scu->pctl)) { in lpc18xx_scu_probe()
[all …]
/linux/Documentation/devicetree/bindings/arm/freescale/
A Dfsl,scu.txt23 - compatible: should be "fsl,imx-scu".
73 "fsl,imx8qm-scu-pd",
74 "fsl,imx8qxp-scu-pd"
75 followed by "fsl,scu-pd"
91 followed by "fsl,scu-clk"
143 "fsl,imx8qm-scu-ocotp",
144 "fsl,imx8qxp-scu-ocotp".
195 scu {
196 compatible = "fsl,imx-scu";
238 compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd";
[all …]
/linux/arch/arm64/boot/dts/freescale/
A 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";
A 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/Documentation/devicetree/bindings/interrupt-controller/
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/drivers/clk/imx/
A DMakefile29 obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o
30 clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \
32 clk-imx-lpcg-scu-$(CONFIG_CLK_IMX8QXP) += clk-lpcg-scu.o clk-imx8qxp-lpcg.o
/linux/drivers/watchdog/
A 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/drivers/platform/x86/intel/telemetry/
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/drivers/mfd/
A 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()
A 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/drivers/gpu/drm/aspeed/
A Daspeed_gfx_drv.c154 priv->scu = syscon_regmap_lookup_by_phandle(np, "syscon"); in aspeed_gfx_load()
155 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
156 priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); in aspeed_gfx_load()
157 if (IS_ERR(priv->scu)) { in aspeed_gfx_load()
159 return PTR_ERR(priv->scu); in aspeed_gfx_load()
262 rc = regmap_update_bits(priv->scu, priv->dac_reg, 0x30000, val << 16); in dac_mux_store()
275 rc = regmap_read(priv->scu, priv->dac_reg, &reg); in dac_mux_show()
290 rc = regmap_read(priv->scu, priv->vga_scratch_reg, &reg); in vga_pw_show()
/linux/arch/arm/mach-vexpress/
A Dplatsmp.c67 struct device_node *scu = of_find_matching_node(NULL, in vexpress_smp_dt_prepare_cpus() local
70 if (scu) in vexpress_smp_dt_prepare_cpus()
71 scu_enable(of_iomap(scu, 0)); in vexpress_smp_dt_prepare_cpus()
/linux/Documentation/devicetree/bindings/misc/
A Daspeed-p2a-ctrl.txt29 "aspeed,ast2400-scu", "syscon", "simple-mfd"
30 "aspeed,ast2500-scu", "syscon", "simple-mfd"
38 syscon: scu@1e6e2000 {
39 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
/linux/Documentation/devicetree/bindings/arm/apm/
A Dscu.txt8 - "apm,xgene-scu"
14 scu: system-clk-controller@17000000 {
15 compatible = "apm,xgene-scu","syscon";

Completed in 33 milliseconds

123456