Lines Matching refs:sam9x60_pmc
172 struct pmc_data *sam9x60_pmc; in sam9x60_pmc_setup() local
200 sam9x60_pmc = pmc_data_allocate(PMC_PLLACK + 1, in sam9x60_pmc_setup()
204 if (!sam9x60_pmc) in sam9x60_pmc_setup()
223 sam9x60_pmc->chws[PMC_MAIN] = hw; in sam9x60_pmc_setup()
226 "mainck", sam9x60_pmc->chws[PMC_MAIN], in sam9x60_pmc_setup()
249 sam9x60_pmc->chws[PMC_PLLACK] = hw; in sam9x60_pmc_setup()
267 sam9x60_pmc->chws[PMC_UTMI] = hw; in sam9x60_pmc_setup()
285 sam9x60_pmc->chws[PMC_MCK] = hw; in sam9x60_pmc_setup()
312 sam9x60_pmc->pchws[i] = hw; in sam9x60_pmc_setup()
322 sam9x60_pmc->shws[sam9x60_systemck[i].id] = hw; in sam9x60_pmc_setup()
335 sam9x60_pmc->phws[sam9x60_periphck[i].id] = hw; in sam9x60_pmc_setup()
348 sam9x60_pmc->ghws[sam9x60_gck[i].id] = hw; in sam9x60_pmc_setup()
351 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sam9x60_pmc); in sam9x60_pmc_setup()
356 kfree(sam9x60_pmc); in sam9x60_pmc_setup()
359 CLK_OF_DECLARE(sam9x60_pmc, "microchip,sam9x60-pmc", sam9x60_pmc_setup);