Lines Matching full:syscon
18 #include <linux/mfd/syscon.h>
68 struct regmap *syscon; member
100 /* Syscon access */
117 SYSCON enumerator
142 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armadaxp_init()
152 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
155 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
158 regmap_read(priv->syscon, data->syscon_status_off, ®); in armadaxp_init()
160 regmap_write(priv->syscon, data->syscon_status_off, reg); in armadaxp_init()
169 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada370_init()
179 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada370_init()
190 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada375_init()
194 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
199 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
208 return regmap_read_poll_timeout(priv->syscon, in armada_wait_sensor_validity()
222 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada380_init()
225 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada380_init()
228 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada380_init()
231 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada380_init()
240 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada_ap80x_init()
250 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_ap80x_init()
262 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada_cp110_init()
264 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_cp110_init()
267 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_cp110_init()
270 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_cp110_init()
280 regmap_read(priv->syscon, priv->data->syscon_status_off, ®); in armada_is_valid()
291 regmap_read(priv->syscon, data->dfx_irq_cause_off, ®); in armada_enable_overheat_interrupt()
294 regmap_read(priv->syscon, data->dfx_irq_mask_off, ®); in armada_enable_overheat_interrupt()
296 regmap_write(priv->syscon, data->dfx_irq_mask_off, reg); in armada_enable_overheat_interrupt()
299 regmap_read(priv->syscon, data->dfx_server_irq_mask_off, ®); in armada_enable_overheat_interrupt()
301 regmap_write(priv->syscon, data->dfx_server_irq_mask_off, reg); in armada_enable_overheat_interrupt()
304 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_enable_overheat_interrupt()
306 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_enable_overheat_interrupt()
315 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_disable_overheat_interrupt()
317 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_disable_overheat_interrupt()
333 regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); in armada_select_channel()
335 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
351 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
356 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
374 regmap_read(priv->syscon, priv->data->syscon_status_off, ®); in armada_read_sensor()
498 regmap_read(priv->syscon, data->syscon_control1_off, &ctrl1); in armada_set_overheat_thresholds()
514 regmap_write(priv->syscon, data->syscon_control1_off, ctrl1); in armada_set_overheat_thresholds()
554 regmap_read(priv->syscon, priv->data->dfx_irq_cause_off, &dummy); in armada_overheat_isr_thread()
750 priv->syscon = devm_regmap_init_mmio(&pdev->dev, base, in armada_thermal_probe_legacy()
752 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_legacy()
758 priv->syscon = syscon_node_to_regmap(pdev->dev.parent->of_node); in armada_thermal_probe_syscon()
759 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_syscon()
902 drvdata->type = SYSCON; in armada_thermal_probe()