Lines Matching defs:smd
29 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
33 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr);
63 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
68 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMDS,
76 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
79 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr);
87 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw);
93 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMD_DIV,
111 struct at91sam9x5_clk_smd *smd;
116 smd = kzalloc(sizeof(*smd), GFP_KERNEL);
117 if (!smd)
126 smd->hw.init = &init;
127 smd->regmap = regmap;
129 hw = &smd->hw;
130 ret = clk_hw_register(NULL, &smd->hw);
132 kfree(smd);