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()
103 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_parent() local
104 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & ~layout->css_mask; in clk_programmable_set_parent()
118 pmc_write(pmc, AT91_PMC_PCKR(prog->id), tmp | index); in clk_programmable_set_parent()
127 struct at91_pmc *pmc = prog->pmc; in clk_programmable_get_parent() local
130 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)); in clk_programmable_get_parent()
142 struct at91_pmc *pmc = prog->pmc; in clk_programmable_set_rate() local
146 u32 tmp = pmc_read(pmc, AT91_PMC_PCKR(prog->id)) & in clk_programmable_set_rate()
160 pmc_write(pmc, AT91_PMC_PCKR(prog->id), in clk_programmable_set_rate()
175 at91_clk_register_programmable(struct at91_pmc *pmc, in at91_clk_register_programmable() argument
200 prog->pmc = pmc; in at91_clk_register_programmable()
228 of_at91_clk_prog_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_prog_setup() argument
261 clk = at91_clk_register_programmable(pmc, name, in of_at91_clk_prog_setup()
273 struct at91_pmc *pmc) in of_at91rm9200_clk_prog_setup() argument
275 of_at91_clk_prog_setup(np, pmc, &at91rm9200_programmable_layout); in of_at91rm9200_clk_prog_setup()
279 struct at91_pmc *pmc) in of_at91sam9g45_clk_prog_setup() argument
281 of_at91_clk_prog_setup(np, pmc, &at91sam9g45_programmable_layout); in of_at91sam9g45_clk_prog_setup()
285 struct at91_pmc *pmc) in of_at91sam9x5_clk_prog_setup() argument
287 of_at91_clk_prog_setup(np, pmc, &at91sam9x5_programmable_layout); in of_at91sam9x5_clk_prog_setup()