/linux-6.12.1/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 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()
|
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 | 20 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.12.1/include/linux/platform_data/x86/ |
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-6.12.1/drivers/irqchip/ |
D | irq-aspeed-scu-ic.c | 42 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.12.1/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-6.12.1/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-6.12.1/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 764 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_get_gpio_pin_int() local 779 ret = lpc18xx_get_pintsel(scu->base + LPC18XX_SCU_PINTSEL0, val, arg); in lpc18xx_pconf_get_gpio_pin_int() 783 return lpc18xx_get_pintsel(scu->base + LPC18XX_SCU_PINTSEL1, val, arg); in lpc18xx_pconf_get_gpio_pin_int() 877 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_get() local 887 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_get() 986 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_set_gpio_pin_int() local 1001 reg_val = readl(scu->base + reg_offset); in lpc18xx_pconf_set_gpio_pin_int() 1004 writel(reg_val, scu->base + reg_offset); in lpc18xx_pconf_set_gpio_pin_int() 1090 struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); in lpc18xx_pconf_set() local 1102 reg = readl(scu->base + pin_cap->offset); in lpc18xx_pconf_set() [all …]
|
/linux-6.12.1/drivers/watchdog/ |
D | intel-mid_wdt.c | 43 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.12.1/drivers/mfd/ |
D | intel_pmc_bxt.c | 169 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()
|
D | intel_soc_pmic_mrfld.c | 80 ret = intel_scu_ipc_dev_ioread8(pmic->scu, reg, &ipc_out); in bcove_ipc_byte_reg_read() 94 return intel_scu_ipc_dev_iowrite8(pmic->scu, reg, ipc_in); in bcove_ipc_byte_reg_write() 116 pmic->scu = devm_intel_scu_ipc_dev_get(dev); in bcove_probe() 117 if (!pmic->scu) in bcove_probe()
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8qm-ss-lsio.dtsi | 78 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";
|
D | imx8qxp-ss-lsio.dtsi | 69 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 73 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 77 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 81 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
|
D | imx8dxl-ss-lsio.dtsi | 98 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 103 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 108 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 113 compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
|
/linux-6.12.1/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
|
/linux-6.12.1/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-6.12.1/drivers/clk/imx/ |
D | Makefile | 36 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.12.1/drivers/gpu/drm/aspeed/ |
D | aspeed_gfx_drv.c | 164 priv->scu = syscon_regmap_lookup_by_phandle(np, "syscon"); in aspeed_gfx_load() 165 if (IS_ERR(priv->scu)) { in aspeed_gfx_load() 166 priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); in aspeed_gfx_load() 167 if (IS_ERR(priv->scu)) { in aspeed_gfx_load() 169 return PTR_ERR(priv->scu); in aspeed_gfx_load() 272 rc = regmap_update_bits(priv->scu, priv->dac_reg, 0x30000, val << 16); in dac_mux_store() 285 rc = regmap_read(priv->scu, priv->dac_reg, ®); in dac_mux_show() 300 rc = regmap_read(priv->scu, priv->vga_scratch_reg, ®); in vga_pw_show()
|
/linux-6.12.1/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-6.12.1/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-6.12.1/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";
|
/linux-6.12.1/drivers/fsi/ |
D | fsi-master-ast-cf.c | 90 struct regmap *scu; member 692 regmap_write(master->scu, SCU_COPRO_CTRL, SCU_COPRO_RESET); in reset_cf() 694 regmap_write(master->scu, SCU_COPRO_CTRL, 0); in reset_cf() 700 regmap_write(master->scu, SCU_COPRO_CTRL, SCU_COPRO_CLK_EN); in start_cf() 722 regmap_write(master->scu, SCU_2500_COPRO_SEG0, master->cf_mem_addr | in setup_ast2500_cf_maps() 726 regmap_write(master->scu, SCU_2500_COPRO_SEG2, SYSREG_BASE | in setup_ast2500_cf_maps() 728 regmap_write(master->scu, SCU_2500_COPRO_SEG3, SYSREG_BASE | 0x100000 | in setup_ast2500_cf_maps() 732 regmap_write(master->scu, SCU_2500_COPRO_SEG6, SYSREG_BASE); in setup_ast2500_cf_maps() 733 regmap_write(master->scu, SCU_2500_COPRO_SEG7, SYSREG_BASE | 0x100000); in setup_ast2500_cf_maps() 736 regmap_write(master->scu, SCU_2500_COPRO_CACHE_CTL, in setup_ast2500_cf_maps() [all …]
|
/linux-6.12.1/drivers/soc/aspeed/ |
D | aspeed-lpc-ctrl.c | 40 struct regmap *scu; member 194 regmap_update_bits(lpc_ctrl->scu, 0x0D8, BIT(2), 0); in aspeed_lpc_ctrl_ioctl() 301 lpc_ctrl->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2600-scu"); in aspeed_lpc_ctrl_probe() 302 if (IS_ERR(lpc_ctrl->scu)) { in aspeed_lpc_ctrl_probe() 304 return PTR_ERR(lpc_ctrl->scu); in aspeed_lpc_ctrl_probe()
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | nxp,lpc1850-scu.txt | 5 - compatible : Should be "nxp,lpc1850-scu" 9 The lpc1850-scu driver uses the generic pin multiplexing and generic pin 35 compatible = "nxp,lpc1850-scu";
|