/linux-5.19.10/drivers/platform/x86/ |
D | intel_scu_ipc.c | 102 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 …]
|
D | intel_scu_ipcutil.c | 25 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()
|
D | intel_scu_pltdrv.c | 23 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()
|
D | intel_scu_pcidrv.c | 21 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-5.19.10/arch/x86/include/asm/ |
D | intel_scu_ipc.h | 28 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-5.19.10/Documentation/devicetree/bindings/arm/ |
D | arm,scu.yaml | 4 $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-5.19.10/arch/arm/mach-shmobile/ |
D | Makefile | 32 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-5.19.10/drivers/firmware/imx/ |
D | Makefile | 3 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-5.19.10/drivers/irqchip/ |
D | irq-aspeed-scu-ic.c | 41 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-5.19.10/Documentation/devicetree/bindings/interrupt-controller/ |
D | aspeed,ast2xxx-scu-ic.txt | 5 - 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-5.19.10/arch/arm64/boot/dts/freescale/ |
D | imx8qm-ss-lsio.dtsi | 40 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";
|
D | imx8qxp-ss-lsio.dtsi | 44 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-5.19.10/Documentation/devicetree/bindings/arm/freescale/ |
D | fsl,scu.txt | 19 The scu node with the following properties shall be under the /firmware/ node. 23 - compatible: should be "fsl,imx-scu". 73 "fsl,imx8qm-scu-pd", 74 "fsl,imx8qxp-scu-pd" 75 followed by "fsl,scu-pd" 92 followed by "fsl,scu-clk" 144 "fsl,imx8qm-scu-ocotp", 145 "fsl,imx8qxp-scu-ocotp". 196 scu { 197 compatible = "fsl,imx-scu"; [all …]
|
/linux-5.19.10/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 762 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-5.19.10/drivers/watchdog/ |
D | intel-mid_wdt.c | 39 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-5.19.10/drivers/clk/imx/ |
D | Makefile | 33 obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o 34 clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \ 37 clk-imx-lpcg-scu-$(CONFIG_CLK_IMX8QXP) += clk-lpcg-scu.o clk-imx8qxp-lpcg.o
|
/linux-5.19.10/drivers/mfd/ |
D | intel_pmc_bxt.c | 170 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()
|
D | intel_soc_pmic_mrfld.c | 81 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-5.19.10/drivers/platform/x86/intel/telemetry/ |
D | pltdrv.c | 255 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-5.19.10/drivers/gpu/drm/aspeed/ |
D | aspeed_gfx_drv.c | 168 priv->scu = syscon_regmap_lookup_by_phandle(np, "syscon"); in aspeed_gfx_load() 169 if (IS_ERR(priv->scu)) { in aspeed_gfx_load() 170 priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); in aspeed_gfx_load() 171 if (IS_ERR(priv->scu)) { in aspeed_gfx_load() 173 return PTR_ERR(priv->scu); in aspeed_gfx_load() 276 rc = regmap_update_bits(priv->scu, priv->dac_reg, 0x30000, val << 16); in dac_mux_store() 289 rc = regmap_read(priv->scu, priv->dac_reg, ®); in dac_mux_show() 304 rc = regmap_read(priv->scu, priv->vga_scratch_reg, ®); in vga_pw_show()
|
/linux-5.19.10/arch/arm/mach-versatile/ |
D | platsmp-vexpress.c | 64 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-5.19.10/Documentation/devicetree/bindings/arm/apm/ |
D | scu.txt | 8 - "apm,xgene-scu" 14 scu: system-clk-controller@17000000 { 15 compatible = "apm,xgene-scu","syscon";
|
/linux-5.19.10/Documentation/devicetree/bindings/misc/ |
D | aspeed-p2a-ctrl.txt | 29 "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-5.19.10/Documentation/devicetree/bindings/clock/ |
D | airoha,en7523-scu.yaml | 4 $id: http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml# 32 - const: airoha,en7523-scu 53 scu: system-controller@1fa20000 { 54 compatible = "airoha,en7523-scu";
|
/linux-5.19.10/Documentation/devicetree/bindings/arm/ux500/ |
D | boards.txt | 22 scu: 23 see binding for arm/arm,scu.yaml 63 scu@a0410000 { 64 compatible = "arm,cortex-a9-scu";
|