Lines Matching refs:pmc

37 	struct at91_pmc *pmc;  member
49 struct at91_pmc *pmc = prog->pmc; in clk_programmable_recalc_rate() local
52 pres = (pmc_read(pmc, AT91_PMC_PCKR(prog->id)) >> layout->pres_shift) & in clk_programmable_recalc_rate()
104 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_parent() local
105 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & ~layout->css_mask; in clk_programmable_set_parent()
119 pmc_write(pmc, AT91_PMC_PCKR(prog->id), tmp | index); in clk_programmable_set_parent()
128 struct at91_pmc *pmc = prog->pmc; in clk_programmable_get_parent() local
131 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)); in clk_programmable_get_parent()
143 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_rate() local
147 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & in clk_programmable_set_rate()
161 pmc_write(pmc, AT91_PMC_PCKR(prog->id), in clk_programmable_set_rate()
176 at91_clk_register_programmable(struct at91_pmc *pmc, in at91_clk_register_programmable() argument
201 prog->pmc = pmc; in at91_clk_register_programmable()
229 of_at91_clk_prog_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_prog_setup() argument
257 clk = at91_clk_register_programmable(pmc, name, in of_at91_clk_prog_setup()
269 struct at91_pmc *pmc) in of_at91rm9200_clk_prog_setup() argument
271 of_at91_clk_prog_setup(np, pmc, &at91rm9200_programmable_layout); in of_at91rm9200_clk_prog_setup()
275 struct at91_pmc *pmc) in of_at91sam9g45_clk_prog_setup() argument
277 of_at91_clk_prog_setup(np, pmc, &at91sam9g45_programmable_layout); in of_at91sam9g45_clk_prog_setup()
281 struct at91_pmc *pmc) in of_at91sam9x5_clk_prog_setup() argument
283 of_at91_clk_prog_setup(np, pmc, &at91sam9x5_programmable_layout); in of_at91sam9x5_clk_prog_setup()