Lines Matching defs:sama5d4_pmc
121 struct pmc_data *sama5d4_pmc;
143 sama5d4_pmc = pmc_data_allocate(PMC_PLLACK + 1,
146 if (!sama5d4_pmc)
176 sama5d4_pmc->chws[PMC_PLLACK] = hw;
182 sama5d4_pmc->chws[PMC_UTMI] = hw;
194 sama5d4_pmc->chws[PMC_MCK] = hw;
200 sama5d4_pmc->chws[PMC_MCK2] = hw;
231 sama5d4_pmc->pchws[i] = hw;
241 sama5d4_pmc->shws[sama5d4_systemck[i].id] = hw;
254 sama5d4_pmc->phws[sama5d4_periphck[i].id] = hw;
267 sama5d4_pmc->phws[sama5d4_periph32ck[i].id] = hw;
270 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sama5d4_pmc);
275 kfree(sama5d4_pmc);
277 CLK_OF_DECLARE_DRIVER(sama5d4_pmc, "atmel,sama5d4-pmc", sama5d4_pmc_setup);