Lines Matching refs:syscon

70 	struct regmap *syscon;  member
144 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armadaxp_init()
154 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
157 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
160 regmap_read(priv->syscon, data->syscon_status_off, &reg); in armadaxp_init()
162 regmap_write(priv->syscon, data->syscon_status_off, reg); in armadaxp_init()
171 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada370_init()
181 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada370_init()
192 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada375_init()
196 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
201 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada375_init()
210 return regmap_read_poll_timeout(priv->syscon, in armada_wait_sensor_validity()
224 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada380_init()
227 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada380_init()
230 regmap_read(priv->syscon, data->syscon_control0_off, &reg); in armada380_init()
233 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada380_init()
242 regmap_read(priv->syscon, data->syscon_control0_off, &reg); in armada_ap806_init()
252 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_ap806_init()
264 regmap_read(priv->syscon, data->syscon_control0_off, &reg); in armada_cp110_init()
266 regmap_write(priv->syscon, data->syscon_control0_off, reg); in armada_cp110_init()
269 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada_cp110_init()
272 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_cp110_init()
282 regmap_read(priv->syscon, priv->data->syscon_status_off, &reg); in armada_is_valid()
293 regmap_read(priv->syscon, data->dfx_irq_cause_off, &reg); in armada_enable_overheat_interrupt()
296 regmap_read(priv->syscon, data->dfx_irq_mask_off, &reg); in armada_enable_overheat_interrupt()
298 regmap_write(priv->syscon, data->dfx_irq_mask_off, reg); in armada_enable_overheat_interrupt()
301 regmap_read(priv->syscon, data->dfx_server_irq_mask_off, &reg); in armada_enable_overheat_interrupt()
303 regmap_write(priv->syscon, data->dfx_server_irq_mask_off, reg); in armada_enable_overheat_interrupt()
306 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada_enable_overheat_interrupt()
308 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_enable_overheat_interrupt()
317 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada_disable_overheat_interrupt()
319 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armada_disable_overheat_interrupt()
335 regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); in armada_select_channel()
337 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
353 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
358 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
379 regmap_read(priv->syscon, priv->data->syscon_status_off, &reg); in armada_read_sensor()
506 regmap_read(priv->syscon, data->syscon_control1_off, &ctrl1); in armada_set_overheat_thresholds()
522 regmap_write(priv->syscon, data->syscon_control1_off, ctrl1); in armada_set_overheat_thresholds()
562 regmap_read(priv->syscon, priv->data->dfx_irq_cause_off, &dummy); in armada_overheat_isr_thread()
732 priv->syscon = devm_regmap_init_mmio(&pdev->dev, base, in armada_thermal_probe_legacy()
734 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_legacy()
740 priv->syscon = syscon_node_to_regmap(pdev->dev.parent->of_node); in armada_thermal_probe_syscon()
741 return PTR_ERR_OR_ZERO(priv->syscon); in armada_thermal_probe_syscon()