Lines Matching refs:ilp
27 struct bcm53573_ilp *ilp = container_of(hw, struct bcm53573_ilp, hw);
29 regmap_write(ilp->regmap, PMU_SLOW_CLK_PERIOD, 0x10199);
30 regmap_write(ilp->regmap, 0x674, 0x10000);
37 struct bcm53573_ilp *ilp = container_of(hw, struct bcm53573_ilp, hw);
39 regmap_write(ilp->regmap, PMU_SLOW_CLK_PERIOD, 0);
40 regmap_write(ilp->regmap, 0x674, 0);
46 struct bcm53573_ilp *ilp = container_of(hw, struct bcm53573_ilp, hw);
47 struct regmap *regmap = ilp->regmap;
100 struct bcm53573_ilp *ilp;
105 ilp = kzalloc(sizeof(*ilp), GFP_KERNEL);
106 if (!ilp)
115 ilp->regmap = syscon_node_to_regmap(of_get_parent(np));
116 if (IS_ERR(ilp->regmap)) {
117 err = PTR_ERR(ilp->regmap);
126 ilp->hw.init = &init;
127 err = clk_hw_register(NULL, &ilp->hw);
131 err = of_clk_add_hw_provider(np, of_clk_hw_simple_get, &ilp->hw);
138 clk_hw_unregister(&ilp->hw);
140 kfree(ilp);
145 CLK_OF_DECLARE(bcm53573_ilp_clk, "brcm,bcm53573-ilp", bcm53573_ilp_init);