Lines Matching defs:smd
29 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
33 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr);
68 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
73 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMDS,
81 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
84 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr);
92 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
98 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMD_DIV,
116 struct at91sam9x5_clk_smd *smd;
121 smd = kzalloc(sizeof(*smd), GFP_KERNEL);
122 if (!smd)
131 smd->hw.init = &init;
132 smd->regmap = regmap;
134 hw = &smd->hw;
135 ret = clk_hw_register(NULL, &smd->hw);
137 kfree(smd);