syscon 34 arch/arm/mach-axxia/platsmp.c void __iomem *syscon; syscon 41 arch/arm/mach-axxia/platsmp.c syscon = of_iomap(syscon_np, 0); syscon 42 arch/arm/mach-axxia/platsmp.c if (!syscon) syscon 45 arch/arm/mach-axxia/platsmp.c tmp = readl(syscon + SC_RST_CPU_HOLD); syscon 46 arch/arm/mach-axxia/platsmp.c writel(0xab, syscon + SC_CRIT_WRITE_KEY); syscon 48 arch/arm/mach-axxia/platsmp.c writel(tmp, syscon + SC_RST_CPU_HOLD); syscon 178 arch/arm/mach-integrator/integrator_ap.c struct device_node *syscon; syscon 184 arch/arm/mach-integrator/integrator_ap.c syscon = of_find_matching_node(NULL, ap_syscon_match); syscon 185 arch/arm/mach-integrator/integrator_ap.c if (!syscon) syscon 187 arch/arm/mach-integrator/integrator_ap.c ap_syscon_map = syscon_node_to_regmap(syscon); syscon 214 arch/arm/mach-integrator/integrator_ap.c lmdev->irq = irq_of_parse_and_map(syscon, i); syscon 51 arch/arm/mach-omap1/usb.c u32 syscon; syscon 57 arch/arm/mach-omap1/usb.c syscon = omap_readl(OTG_SYSCON_1) & 0xffff; syscon 58 arch/arm/mach-omap1/usb.c if (!(syscon & OTG_RESET_DONE)) syscon 66 arch/arm/mach-omap1/usb.c syscon |= config->usb0_init(config->pins[0], is_usb0_device(config)); syscon 67 arch/arm/mach-omap1/usb.c syscon |= config->usb1_init(config->pins[1]); syscon 68 arch/arm/mach-omap1/usb.c syscon |= config->usb2_init(config->pins[2], alt_pingroup); syscon 70 arch/arm/mach-omap1/usb.c omap_writel(syscon, OTG_SYSCON_1); syscon 72 arch/arm/mach-omap1/usb.c syscon = config->hmc_mode; syscon 73 arch/arm/mach-omap1/usb.c syscon |= USBX_SYNCHRO | (4 << 16) /* B_ASE0_BRST */; syscon 76 arch/arm/mach-omap1/usb.c syscon |= OTG_EN; syscon 81 arch/arm/mach-omap1/usb.c omap_writel(syscon, OTG_SYSCON_2); syscon 107 arch/arm/mach-omap1/usb.c syscon = omap_readl(OTG_SYSCON_1); syscon 108 arch/arm/mach-omap1/usb.c syscon |= HST_IDLE_EN|DEV_IDLE_EN|OTG_IDLE_EN; syscon 115 arch/arm/mach-omap1/usb.c syscon &= ~DEV_IDLE_EN; syscon 128 arch/arm/mach-omap1/usb.c syscon &= ~HST_IDLE_EN; syscon 141 arch/arm/mach-omap1/usb.c syscon &= ~OTG_IDLE_EN; syscon 149 arch/arm/mach-omap1/usb.c omap_writel(syscon, OTG_SYSCON_1); syscon 803 arch/arm/mach-omap2/control.c struct regmap *syscon; syscon 816 arch/arm/mach-omap2/control.c syscon = syscon_node_to_regmap(scm_conf); syscon 818 arch/arm/mach-omap2/control.c if (IS_ERR(syscon)) syscon 819 arch/arm/mach-omap2/control.c return PTR_ERR(syscon); syscon 824 arch/arm/mach-omap2/control.c syscon, NULL); syscon 350 arch/arm/mach-u300/core.c struct device_node *syscon; syscon 353 arch/arm/mach-u300/core.c syscon = of_find_node_by_path("/syscon@c0011000"); syscon 354 arch/arm/mach-u300/core.c if (!syscon) { syscon 358 arch/arm/mach-u300/core.c syscon_base = of_iomap(syscon, 0); syscon 142 drivers/clk/nxp/clk-lpc18xx-creg.c struct regmap *syscon) syscon 152 drivers/clk/nxp/clk-lpc18xx-creg.c creg_clk->reg = syscon; syscon 170 drivers/clk/nxp/clk-lpc18xx-creg.c struct regmap *syscon; syscon 172 drivers/clk/nxp/clk-lpc18xx-creg.c syscon = syscon_node_to_regmap(np->parent); syscon 173 drivers/clk/nxp/clk-lpc18xx-creg.c if (IS_ERR(syscon)) { syscon 182 drivers/clk/nxp/clk-lpc18xx-creg.c &clk_32khz_parent, syscon); syscon 199 drivers/clk/nxp/clk-lpc18xx-creg.c struct regmap *syscon; syscon 201 drivers/clk/nxp/clk-lpc18xx-creg.c syscon = syscon_node_to_regmap(np->parent); syscon 202 drivers/clk/nxp/clk-lpc18xx-creg.c if (IS_ERR(syscon)) { syscon 204 drivers/clk/nxp/clk-lpc18xx-creg.c return PTR_ERR(syscon); syscon 211 drivers/clk/nxp/clk-lpc18xx-creg.c syscon); syscon 321 drivers/clk/ti/clk.c struct regmap *syscon, void __iomem *mem) syscon 340 drivers/clk/ti/clk.c io->regmap = syscon; syscon 52 drivers/cpufreq/ti-cpufreq.c struct regmap *syscon; syscon 129 drivers/cpufreq/ti-cpufreq.c ret = regmap_read(opp_data->syscon, opp_data->soc_data->efuse_offset, syscon 160 drivers/cpufreq/ti-cpufreq.c ret = regmap_read(opp_data->syscon, opp_data->soc_data->rev_offset, syscon 179 drivers/cpufreq/ti-cpufreq.c opp_data->syscon = syscon_regmap_lookup_by_phandle(np, syscon 181 drivers/cpufreq/ti-cpufreq.c if (IS_ERR(opp_data->syscon)) { syscon 184 drivers/cpufreq/ti-cpufreq.c return PTR_ERR(opp_data->syscon); syscon 52 drivers/gpio/gpio-syscon.c struct regmap *syscon; syscon 66 drivers/gpio/gpio-syscon.c ret = regmap_read(priv->syscon, syscon 81 drivers/gpio/gpio-syscon.c regmap_update_bits(priv->syscon, syscon 97 drivers/gpio/gpio-syscon.c regmap_update_bits(priv->syscon, syscon 115 drivers/gpio/gpio-syscon.c regmap_update_bits(priv->syscon, syscon 146 drivers/gpio/gpio-syscon.c ret = regmap_write(priv->syscon, syscon 175 drivers/gpio/gpio-syscon.c priv->syscon, syscon 223 drivers/gpio/gpio-syscon.c priv->syscon = syscon_regmap_lookup_by_compatible( syscon 225 drivers/gpio/gpio-syscon.c if (IS_ERR(priv->syscon)) syscon 226 drivers/gpio/gpio-syscon.c return PTR_ERR(priv->syscon); syscon 228 drivers/gpio/gpio-syscon.c priv->syscon = syscon 230 drivers/gpio/gpio-syscon.c if (IS_ERR(priv->syscon) && np->parent) syscon 231 drivers/gpio/gpio-syscon.c priv->syscon = syscon_node_to_regmap(np->parent); syscon 232 drivers/gpio/gpio-syscon.c if (IS_ERR(priv->syscon)) syscon 233 drivers/gpio/gpio-syscon.c return PTR_ERR(priv->syscon); syscon 333 drivers/gpu/drm/omapdrm/dss/dsi.c struct regmap *syscon; syscon 1962 drivers/gpu/drm/omapdrm/dss/dsi.c return regmap_update_bits(dsi->syscon, OMAP4_DSIPHY_SYSCON_OFFSET, syscon 1986 drivers/gpu/drm/omapdrm/dss/dsi.c return regmap_update_bits(dsi->syscon, OMAP5_DSIPHY_SYSCON_OFFSET, syscon 5365 drivers/gpu/drm/omapdrm/dss/dsi.c dsi->syscon = syscon_node_to_regmap(np); syscon 77 drivers/hwspinlock/qcom_hwspinlock.c struct device_node *syscon; syscon 86 drivers/hwspinlock/qcom_hwspinlock.c syscon = of_parse_phandle(pdev->dev.of_node, "syscon", 0); syscon 87 drivers/hwspinlock/qcom_hwspinlock.c if (!syscon) { syscon 92 drivers/hwspinlock/qcom_hwspinlock.c regmap = syscon_node_to_regmap(syscon); syscon 93 drivers/hwspinlock/qcom_hwspinlock.c of_node_put(syscon); syscon 27 drivers/input/keyboard/clps711x-keypad.c struct regmap *syscon; syscon 42 drivers/input/keyboard/clps711x-keypad.c regmap_update_bits(priv->syscon, SYSCON_OFFSET, syscon 78 drivers/input/keyboard/clps711x-keypad.c regmap_update_bits(priv->syscon, SYSCON_OFFSET, syscon 99 drivers/input/keyboard/clps711x-keypad.c priv->syscon = syscon 101 drivers/input/keyboard/clps711x-keypad.c if (IS_ERR(priv->syscon)) syscon 102 drivers/input/keyboard/clps711x-keypad.c return PTR_ERR(priv->syscon); syscon 155 drivers/input/keyboard/clps711x-keypad.c regmap_update_bits(priv->syscon, SYSCON_OFFSET, SYSCON1_KBDSCAN_MASK, syscon 2282 drivers/media/platform/omap3isp/isp.c isp->syscon = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, syscon 2284 drivers/media/platform/omap3isp/isp.c if (IS_ERR(isp->syscon)) { syscon 2285 drivers/media/platform/omap3isp/isp.c ret = PTR_ERR(isp->syscon); syscon 184 drivers/media/platform/omap3isp/isp.h struct regmap *syscon; syscon 30 drivers/media/platform/omap3isp/ispcsiphy.c regmap_read(phy->isp->syscon, phy->isp->syscon_offset, ®); syscon 65 drivers/media/platform/omap3isp/ispcsiphy.c regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); syscon 79 drivers/media/platform/omap3isp/ispcsiphy.c regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); syscon 86 drivers/media/platform/omap3isp/ispcsiphy.c regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); syscon 43 drivers/mfd/syscon.c static struct syscon *of_syscon_register(struct device_node *np, bool check_clk) syscon 46 drivers/mfd/syscon.c struct syscon *syscon; syscon 54 drivers/mfd/syscon.c syscon = kzalloc(sizeof(*syscon), GFP_KERNEL); syscon 55 drivers/mfd/syscon.c if (!syscon) syscon 131 drivers/mfd/syscon.c syscon->regmap = regmap; syscon 132 drivers/mfd/syscon.c syscon->np = np; syscon 135 drivers/mfd/syscon.c list_add_tail(&syscon->list, &syscon_list); syscon 138 drivers/mfd/syscon.c return syscon; syscon 148 drivers/mfd/syscon.c kfree(syscon); syscon 155 drivers/mfd/syscon.c struct syscon *entry, *syscon = NULL; syscon 161 drivers/mfd/syscon.c syscon = entry; syscon 167 drivers/mfd/syscon.c if (!syscon) syscon 168 drivers/mfd/syscon.c syscon = of_syscon_register(np, check_clk); syscon 170 drivers/mfd/syscon.c if (IS_ERR(syscon)) syscon 171 drivers/mfd/syscon.c return ERR_CAST(syscon); syscon 173 drivers/mfd/syscon.c return syscon->regmap; syscon 232 drivers/mfd/syscon.c struct syscon *syscon; syscon 237 drivers/mfd/syscon.c syscon = devm_kzalloc(dev, sizeof(*syscon), GFP_KERNEL); syscon 238 drivers/mfd/syscon.c if (!syscon) syscon 252 drivers/mfd/syscon.c syscon->regmap = devm_regmap_init_mmio(dev, base, &syscon_config); syscon 253 drivers/mfd/syscon.c if (IS_ERR(syscon->regmap)) { syscon 255 drivers/mfd/syscon.c return PTR_ERR(syscon->regmap); syscon 258 drivers/mfd/syscon.c platform_set_drvdata(pdev, syscon); syscon 188 drivers/net/can/c_can/c_can.h struct regmap *syscon; /* for raminit ctrl. reg. access */ syscon 87 drivers/net/can/c_can/c_can_platform.c regmap_read(raminit->syscon, raminit->reg, &ctrl); syscon 104 drivers/net/can/c_can/c_can_platform.c regmap_read(raminit->syscon, raminit->reg, &ctrl); syscon 114 drivers/net/can/c_can/c_can_platform.c regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); syscon 126 drivers/net/can/c_can/c_can_platform.c regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); syscon 132 drivers/net/can/c_can/c_can_platform.c regmap_update_bits(raminit->syscon, raminit->reg, syscon 336 drivers/net/can/c_can/c_can_platform.c raminit->syscon = syscon_regmap_lookup_by_phandle(np, syscon 338 drivers/net/can/c_can/c_can_platform.c if (IS_ERR(raminit->syscon)) { syscon 340 drivers/net/can/c_can/c_can_platform.c ret = PTR_ERR(raminit->syscon); syscon 809 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct regmap *syscon; syscon 872 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c syscon = syscon_node_to_regmap(np); syscon 874 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (IS_ERR_OR_NULL(syscon)) { syscon 878 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->serdes_ctrl = syscon; syscon 906 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c syscon = syscon_node_to_regmap(cpld_args.np); syscon 907 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (IS_ERR_OR_NULL(syscon)) { syscon 911 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->cpld_ctrl = syscon; syscon 49 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct regmap *syscon; syscon 103 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c syscon = syscon_node_to_regmap(np_temp); syscon 105 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (IS_ERR_OR_NULL(syscon)) { syscon 130 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_dev->sub_ctrl = syscon; syscon 20 drivers/net/ethernet/ti/cpsw-common.c struct regmap *syscon; syscon 22 drivers/net/ethernet/ti/cpsw-common.c syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); syscon 23 drivers/net/ethernet/ti/cpsw-common.c if (IS_ERR(syscon)) { syscon 24 drivers/net/ethernet/ti/cpsw-common.c if (PTR_ERR(syscon) == -ENODEV) syscon 26 drivers/net/ethernet/ti/cpsw-common.c return PTR_ERR(syscon); syscon 29 drivers/net/ethernet/ti/cpsw-common.c regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); syscon 30 drivers/net/ethernet/ti/cpsw-common.c regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); syscon 47 drivers/net/ethernet/ti/cpsw-common.c struct regmap *syscon; syscon 49 drivers/net/ethernet/ti/cpsw-common.c syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); syscon 50 drivers/net/ethernet/ti/cpsw-common.c if (IS_ERR(syscon)) { syscon 51 drivers/net/ethernet/ti/cpsw-common.c if (PTR_ERR(syscon) == -ENODEV) syscon 53 drivers/net/ethernet/ti/cpsw-common.c return PTR_ERR(syscon); syscon 56 drivers/net/ethernet/ti/cpsw-common.c regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lo); syscon 57 drivers/net/ethernet/ti/cpsw-common.c regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_hi); syscon 1068 drivers/pci/controller/dwc/pci-keystone.c struct regmap *syscon; syscon 1073 drivers/pci/controller/dwc/pci-keystone.c syscon = syscon_regmap_lookup_by_phandle(np, "ti,syscon-pcie-mode"); syscon 1074 drivers/pci/controller/dwc/pci-keystone.c if (IS_ERR(syscon)) syscon 1080 drivers/pci/controller/dwc/pci-keystone.c ret = regmap_update_bits(syscon, 0, mask, val); syscon 1093 drivers/pci/controller/dwc/pci-keystone.c struct regmap *syscon; syscon 1098 drivers/pci/controller/dwc/pci-keystone.c syscon = syscon_regmap_lookup_by_phandle(np, "ti,syscon-pcie-mode"); syscon 1099 drivers/pci/controller/dwc/pci-keystone.c if (IS_ERR(syscon)) syscon 1116 drivers/pci/controller/dwc/pci-keystone.c ret = regmap_update_bits(syscon, 0, mask, val); syscon 45 drivers/phy/hisilicon/phy-histb-combphy.c struct regmap *syscon; syscon 81 drivers/phy/hisilicon/phy-histb-combphy.c struct regmap *syscon = priv->syscon; syscon 101 drivers/phy/hisilicon/phy-histb-combphy.c return regmap_update_bits(syscon, mode->reg, mode->mask, syscon 213 drivers/phy/hisilicon/phy-histb-combphy.c priv->syscon = syscon_node_to_regmap(np->parent); syscon 214 drivers/phy/hisilicon/phy-histb-combphy.c if (IS_ERR(priv->syscon)) { syscon 216 drivers/phy/hisilicon/phy-histb-combphy.c return PTR_ERR(priv->syscon); syscon 53 drivers/phy/ti/phy-dm816x-usb.c struct regmap *syscon; syscon 91 drivers/phy/ti/phy-dm816x-usb.c error = regmap_update_bits(phy->syscon, phy->usb_ctrl, syscon 96 drivers/phy/ti/phy-dm816x-usb.c regmap_read(phy->syscon, phy->usb_ctrl, &val); syscon 107 drivers/phy/ti/phy-dm816x-usb.c regmap_read(phy->syscon, phy->usbphy_ctrl, &val); syscon 111 drivers/phy/ti/phy-dm816x-usb.c regmap_write(phy->syscon, phy->usbphy_ctrl, val); syscon 129 drivers/phy/ti/phy-dm816x-usb.c error = regmap_update_bits(phy->syscon, phy->usb_ctrl, syscon 157 drivers/phy/ti/phy-dm816x-usb.c error = regmap_update_bits(phy->syscon, phy->usb_ctrl, syscon 208 drivers/phy/ti/phy-dm816x-usb.c phy->syscon = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, syscon 210 drivers/phy/ti/phy-dm816x-usb.c if (IS_ERR(phy->syscon)) syscon 211 drivers/phy/ti/phy-dm816x-usb.c return PTR_ERR(phy->syscon); syscon 42 drivers/pinctrl/pinctrl-zynq.c struct regmap *syscon; syscon 906 drivers/pinctrl/pinctrl-zynq.c ret = regmap_read(pctrl->syscon, syscon 913 drivers/pinctrl/pinctrl-zynq.c ret = regmap_write(pctrl->syscon, syscon 922 drivers/pinctrl/pinctrl-zynq.c ret = regmap_read(pctrl->syscon, addr, ®); syscon 928 drivers/pinctrl/pinctrl-zynq.c ret = regmap_write(pctrl->syscon, addr, reg); syscon 997 drivers/pinctrl/pinctrl-zynq.c ret = regmap_read(pctrl->syscon, pctrl->pctrl_offset + (4 * pin), ®); syscon 1055 drivers/pinctrl/pinctrl-zynq.c ret = regmap_read(pctrl->syscon, pctrl->pctrl_offset + (4 * pin), ®); syscon 1110 drivers/pinctrl/pinctrl-zynq.c ret = regmap_write(pctrl->syscon, pctrl->pctrl_offset + (4 * pin), reg); syscon 1168 drivers/pinctrl/pinctrl-zynq.c pctrl->syscon = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, syscon 1170 drivers/pinctrl/pinctrl-zynq.c if (IS_ERR(pctrl->syscon)) { syscon 1172 drivers/pinctrl/pinctrl-zynq.c return PTR_ERR(pctrl->syscon); syscon 29 drivers/power/reset/axxia-reset.c static struct regmap *syscon; syscon 35 drivers/power/reset/axxia-reset.c regmap_write(syscon, SC_CRIT_WRITE_KEY, 0xab); syscon 37 drivers/power/reset/axxia-reset.c regmap_write(syscon, SC_LATCH_ON_RESET, 0x00000040); syscon 39 drivers/power/reset/axxia-reset.c regmap_write(syscon, SC_EFUSE_INT_STATUS, EFUSE_READ_DONE); syscon 41 drivers/power/reset/axxia-reset.c regmap_update_bits(syscon, SC_RESET_CONTROL, syscon 57 drivers/power/reset/axxia-reset.c syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); syscon 58 drivers/power/reset/axxia-reset.c if (IS_ERR(syscon)) { syscon 60 drivers/power/reset/axxia-reset.c return PTR_ERR(syscon); syscon 45 drivers/regulator/pbias-regulator.c struct regmap *syscon; syscon 163 drivers/regulator/pbias-regulator.c struct regmap *syscon; syscon 182 drivers/regulator/pbias-regulator.c syscon = syscon_regmap_lookup_by_phandle(np, "syscon"); syscon 183 drivers/regulator/pbias-regulator.c if (IS_ERR(syscon)) syscon 184 drivers/regulator/pbias-regulator.c return PTR_ERR(syscon); syscon 200 drivers/regulator/pbias-regulator.c cfg.regmap = syscon; syscon 212 drivers/regulator/pbias-regulator.c drvdata[data_idx].syscon = syscon; syscon 1967 drivers/regulator/qcom_spmi-regulator.c struct device_node *syscon, *reg_node; syscon 1987 drivers/regulator/qcom_spmi-regulator.c syscon = of_parse_phandle(node, "qcom,saw-reg", 0); syscon 1988 drivers/regulator/qcom_spmi-regulator.c saw_regmap = syscon_node_to_regmap(syscon); syscon 1989 drivers/regulator/qcom_spmi-regulator.c of_node_put(syscon); syscon 347 drivers/remoteproc/qcom_q6v5_adsp.c struct device_node *syscon; syscon 359 drivers/remoteproc/qcom_q6v5_adsp.c syscon = of_parse_phandle(pdev->dev.of_node, "qcom,halt-regs", 0); syscon 360 drivers/remoteproc/qcom_q6v5_adsp.c if (!syscon) { syscon 365 drivers/remoteproc/qcom_q6v5_adsp.c adsp->halt_map = syscon_node_to_regmap(syscon); syscon 366 drivers/remoteproc/qcom_q6v5_adsp.c of_node_put(syscon); syscon 488 drivers/remoteproc/stm32_rproc.c struct stm32_syscon *syscon) syscon 492 drivers/remoteproc/stm32_rproc.c syscon->map = syscon_regmap_lookup_by_phandle(np, prop); syscon 493 drivers/remoteproc/stm32_rproc.c if (IS_ERR(syscon->map)) { syscon 494 drivers/remoteproc/stm32_rproc.c err = PTR_ERR(syscon->map); syscon 495 drivers/remoteproc/stm32_rproc.c syscon->map = NULL; syscon 499 drivers/remoteproc/stm32_rproc.c err = of_property_read_u32_index(np, prop, 1, &syscon->reg); syscon 503 drivers/remoteproc/stm32_rproc.c err = of_property_read_u32_index(np, prop, 2, &syscon->mask); syscon 410 drivers/soc/qcom/smp2p.c struct device_node *syscon; syscon 415 drivers/soc/qcom/smp2p.c syscon = of_parse_phandle(dev->of_node, "qcom,ipc", 0); syscon 416 drivers/soc/qcom/smp2p.c if (!syscon) { syscon 421 drivers/soc/qcom/smp2p.c smp2p->ipc_regmap = syscon_node_to_regmap(syscon); syscon 345 drivers/soc/qcom/smsm.c struct device_node *syscon; syscon 352 drivers/soc/qcom/smsm.c syscon = of_parse_phandle(node, key, 0); syscon 353 drivers/soc/qcom/smsm.c if (!syscon) syscon 356 drivers/soc/qcom/smsm.c host->ipc_regmap = syscon_node_to_regmap(syscon); syscon 26 drivers/spi/spi-clps711x.c struct regmap *syscon; syscon 42 drivers/spi/spi-clps711x.c return regmap_update_bits(hw->syscon, SYSCON_OFFSET, SYSCON3_ADCCKNSEN, syscon 120 drivers/spi/spi-clps711x.c hw->syscon = syscon 122 drivers/spi/spi-clps711x.c if (IS_ERR(hw->syscon)) { syscon 123 drivers/spi/spi-clps711x.c ret = PTR_ERR(hw->syscon); syscon 134 drivers/spi/spi-clps711x.c regmap_update_bits(hw->syscon, SYSCON_OFFSET, SYSCON3_ADCCON, 0); syscon 47 drivers/spi/spi-dw-mmio.c struct regmap *syscon; syscon 93 drivers/spi/spi-dw-mmio.c dwsmscc->syscon = syscon_regmap_lookup_by_compatible(cpu_syscon); syscon 94 drivers/spi/spi-dw-mmio.c if (IS_ERR(dwsmscc->syscon)) syscon 95 drivers/spi/spi-dw-mmio.c return PTR_ERR(dwsmscc->syscon); syscon 101 drivers/spi/spi-dw-mmio.c regmap_update_bits(dwsmscc->syscon, MSCC_CPU_SYSTEM_CTRL_GENERAL_CTRL, syscon 1228 drivers/staging/media/omap4iss/iss.c iss->syscon = syscon_regmap_lookup_by_compatible("syscon"); syscon 1229 drivers/staging/media/omap4iss/iss.c if (IS_ERR(iss->syscon)) { syscon 1230 drivers/staging/media/omap4iss/iss.c ret = PTR_ERR(iss->syscon); syscon 97 drivers/staging/media/omap4iss/iss.h struct regmap *syscon; syscon 144 drivers/staging/media/omap4iss/iss_csiphy.c regmap_read(iss->syscon, 0x68, &cam_rx_ctrl); syscon 168 drivers/staging/media/omap4iss/iss_csiphy.c regmap_write(iss->syscon, 0x68, cam_rx_ctrl); syscon 72 drivers/thermal/armada_thermal.c struct regmap *syscon; syscon 146 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 156 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 159 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_status_off, ®); syscon 161 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_status_off, reg); syscon 170 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 180 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 191 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 195 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 200 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 209 drivers/thermal/armada_thermal.c return regmap_read_poll_timeout(priv->syscon, syscon 223 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 226 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 229 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control0_off, ®); syscon 232 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, reg); syscon 241 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control0_off, ®); syscon 251 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, reg); syscon 263 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control0_off, ®); syscon 265 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, reg); syscon 268 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 271 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 281 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, priv->data->syscon_status_off, ®); syscon 292 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->dfx_irq_cause_off, ®); syscon 295 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->dfx_irq_mask_off, ®); syscon 297 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->dfx_irq_mask_off, reg); syscon 300 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->dfx_server_irq_mask_off, ®); syscon 302 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->dfx_server_irq_mask_off, reg); syscon 305 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 307 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 316 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, ®); syscon 318 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, reg); syscon 334 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); syscon 336 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); syscon 352 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); syscon 357 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); syscon 378 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, priv->data->syscon_status_off, ®); syscon 505 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, data->syscon_control1_off, &ctrl1); syscon 521 drivers/thermal/armada_thermal.c regmap_write(priv->syscon, data->syscon_control1_off, ctrl1); syscon 561 drivers/thermal/armada_thermal.c regmap_read(priv->syscon, priv->data->dfx_irq_cause_off, &dummy); syscon 731 drivers/thermal/armada_thermal.c priv->syscon = devm_regmap_init_mmio(&pdev->dev, base, syscon 733 drivers/thermal/armada_thermal.c return PTR_ERR_OR_ZERO(priv->syscon); syscon 739 drivers/thermal/armada_thermal.c priv->syscon = syscon_node_to_regmap(pdev->dev.parent->of_node); syscon 740 drivers/thermal/armada_thermal.c return PTR_ERR_OR_ZERO(priv->syscon); syscon 62 drivers/tty/serial/clps711x.c struct regmap *syscon; syscon 105 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSFLG_OFFSET, &sysflg); syscon 176 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSFLG_OFFSET, &sysflg); syscon 192 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSFLG_OFFSET, &sysflg); syscon 230 drivers/tty/serial/clps711x.c regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON1_SIREN, syscon 244 drivers/tty/serial/clps711x.c return regmap_update_bits(s->syscon, SYSCON_OFFSET, syscon 253 drivers/tty/serial/clps711x.c regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON_UARTEN, 0); syscon 362 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSFLG_OFFSET, &sysflg); syscon 379 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSFLG_OFFSET, &sysflg); syscon 402 drivers/tty/serial/clps711x.c u32 syscon = 0; syscon 404 drivers/tty/serial/clps711x.c regmap_read(s->syscon, SYSCON_OFFSET, &syscon); syscon 405 drivers/tty/serial/clps711x.c if (syscon & SYSCON_UARTEN) { syscon 428 drivers/tty/serial/clps711x.c return regmap_update_bits(s->syscon, SYSCON_OFFSET, syscon 472 drivers/tty/serial/clps711x.c s->syscon = syscon_regmap_lookup_by_phandle(np, "syscon"); syscon 473 drivers/tty/serial/clps711x.c if (IS_ERR(s->syscon)) syscon 474 drivers/tty/serial/clps711x.c return PTR_ERR(s->syscon); syscon 498 drivers/tty/serial/clps711x.c regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON_UARTEN, 0); syscon 36 drivers/video/fbdev/clps711x-fb.c struct regmap *syscon; syscon 142 drivers/video/fbdev/clps711x-fb.c regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); syscon 144 drivers/video/fbdev/clps711x-fb.c regmap_update_bits(cfb->syscon, SYSCON_OFFSET, syscon 271 drivers/video/fbdev/clps711x-fb.c cfb->syscon = syscon 273 drivers/video/fbdev/clps711x-fb.c if (IS_ERR(cfb->syscon)) { syscon 274 drivers/video/fbdev/clps711x-fb.c ret = PTR_ERR(cfb->syscon); syscon 302 drivers/video/fbdev/clps711x-fb.c regmap_update_bits(cfb->syscon, SYSCON_OFFSET, syscon 305 drivers/video/fbdev/clps711x-fb.c ret = regmap_read(cfb->syscon, SYSCON_OFFSET, &val); syscon 354 drivers/video/fbdev/clps711x-fb.c regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); syscon 368 drivers/video/fbdev/clps711x-fb.c regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); syscon 266 include/linux/clk/ti.h struct regmap *syscon, void __iomem *mem);