Lines Matching refs:syscon
72 struct regmap *syscon; member
146 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armadaxp_init()
156 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
159 regmap_read(priv->syscon, data->syscon_status_off, ®); in armadaxp_init()
161 regmap_write(priv->syscon, data->syscon_status_off, reg); in armadaxp_init()
170 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada370_init()
180 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada370_init()
191 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada375_init()
195 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
200 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
209 return regmap_read_poll_timeout(priv->syscon, in armada_wait_sensor_validity()
223 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada380_init()
226 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada380_init()
229 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada380_init()
232 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada380_init()
241 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada_ap806_init()
251 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_ap806_init()
263 regmap_read(priv->syscon, data->syscon_control0_off, ®); in armada_cp110_init()
265 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_cp110_init()
268 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_cp110_init()
271 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_cp110_init()
281 regmap_read(priv->syscon, priv->data->syscon_status_off, ®); in armada_is_valid()
292 regmap_read(priv->syscon, data->dfx_irq_cause_off, ®); in armada_enable_overheat_interrupt()
295 regmap_read(priv->syscon, data->dfx_irq_mask_off, ®); in armada_enable_overheat_interrupt()
297 regmap_write(priv->syscon, data->dfx_irq_mask_off, reg); in armada_enable_overheat_interrupt()
300 regmap_read(priv->syscon, data->dfx_server_irq_mask_off, ®); in armada_enable_overheat_interrupt()
302 regmap_write(priv->syscon, data->dfx_server_irq_mask_off, reg); in armada_enable_overheat_interrupt()
305 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_enable_overheat_interrupt()
307 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_enable_overheat_interrupt()
316 regmap_read(priv->syscon, data->syscon_control1_off, ®); in armada_disable_overheat_interrupt()
318 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_disable_overheat_interrupt()
334 regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); in armada_select_channel()
336 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
352 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
357 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
378 regmap_read(priv->syscon, priv->data->syscon_status_off, ®); in armada_read_sensor()
505 regmap_read(priv->syscon, data->syscon_control1_off, &ctrl1); in armada_set_overheat_thresholds()
521 regmap_write(priv->syscon, data->syscon_control1_off, ctrl1); in armada_set_overheat_thresholds()
561 regmap_read(priv->syscon, priv->data->dfx_irq_cause_off, &dummy); in armada_overheat_isr_thread()
731 priv->syscon = devm_regmap_init_mmio(&pdev->dev, base, in armada_thermal_probe_legacy()
733 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_legacy()
739 priv->syscon = syscon_node_to_regmap(pdev->dev.parent->of_node); in armada_thermal_probe_syscon()
740 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_syscon()