Lines Matching refs:sysc
110 struct regmap *sysc; member
373 struct regmap *sysc = clk->priv->sysc; in rt5350_xtal_recalc_rate() local
376 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &val); in rt5350_xtal_recalc_rate()
387 struct regmap *sysc = clk->priv->sysc; in rt5350_cpu_recalc_rate() local
390 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt5350_cpu_recalc_rate()
418 struct regmap *sysc = clk->priv->sysc; in rt3352_cpu_recalc_rate() local
421 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt3352_cpu_recalc_rate()
438 struct regmap *sysc = clk->priv->sysc; in rt305x_cpu_recalc_rate() local
441 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt305x_cpu_recalc_rate()
458 struct regmap *sysc = clk->priv->sysc; in rt3883_cpu_recalc_rate() local
461 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt3883_cpu_recalc_rate()
482 struct regmap *sysc = clk->priv->sysc; in rt3883_bus_recalc_rate() local
486 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt3883_bus_recalc_rate()
508 struct regmap *sysc = clk->priv->sysc; in rt2880_cpu_recalc_rate() local
511 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in rt2880_cpu_recalc_rate()
544 struct regmap *sysc = clk->priv->sysc; in mt7620_pll_recalc_rate() local
550 regmap_read(sysc, SYSC_REG_CPLL_CONFIG0, &t); in mt7620_pll_recalc_rate()
570 regmap_read(sysc, SYSC_REG_CPLL_CONFIG1, &t); in mt7620_pll_recalc_rate()
584 struct regmap *sysc = clk->priv->sysc; in mt7620_cpu_recalc_rate() local
589 regmap_read(sysc, SYSC_REG_CPU_SYS_CLKCFG, &t); in mt7620_cpu_recalc_rate()
608 struct regmap *sysc = clk->priv->sysc; in mt7620_bus_recalc_rate() local
613 regmap_read(sysc, SYSC_REG_CPU_SYS_CLKCFG, &t); in mt7620_bus_recalc_rate()
632 struct regmap *sysc = clk->priv->sysc; in mt7620_periph_recalc_rate() local
635 regmap_read(sysc, SYSC_REG_CLKCFG0, &t); in mt7620_periph_recalc_rate()
646 struct regmap *sysc = clk->priv->sysc; in mt76x8_xtal_recalc_rate() local
649 regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t); in mt76x8_xtal_recalc_rate()
880 regmap_read(priv->sysc, SYSC_REG_CPU_SYS_CLKCFG, &t); in mtmips_clk_regs_init()
883 regmap_write(priv->sysc, SYSC_REG_CPU_SYS_CLKCFG, t); in mtmips_clk_regs_init()
898 priv->sysc = syscon_node_to_regmap(node); in mtmips_clk_init()
899 if (IS_ERR(priv->sysc)) { in mtmips_clk_init()
998 struct regmap *sysc; member
1010 struct regmap *sysc = data->sysc; in mtmips_assert_device() local
1012 return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), BIT(id)); in mtmips_assert_device()
1019 struct regmap *sysc = data->sysc; in mtmips_deassert_device() local
1021 return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), 0); in mtmips_deassert_device()
1053 static int mtmips_reset_init(struct device *dev, struct regmap *sysc) in mtmips_reset_init() argument
1061 rst_data->sysc = sysc; in mtmips_reset_init()
1083 priv->sysc = syscon_node_to_regmap(np); in mtmips_clk_probe()
1084 if (IS_ERR(priv->sysc)) in mtmips_clk_probe()
1085 return dev_err_probe(dev, PTR_ERR(priv->sysc), in mtmips_clk_probe()
1088 ret = mtmips_reset_init(dev, priv->sysc); in mtmips_clk_probe()