Lines Matching refs:sam9x60_pmc
171 struct pmc_data *sam9x60_pmc; in sam9x60_pmc_setup() local
199 sam9x60_pmc = pmc_data_allocate(PMC_PLLACK + 1, in sam9x60_pmc_setup()
203 if (!sam9x60_pmc) in sam9x60_pmc_setup()
222 sam9x60_pmc->chws[PMC_MAIN] = hw; in sam9x60_pmc_setup()
225 "mainck", sam9x60_pmc->chws[PMC_MAIN], in sam9x60_pmc_setup()
237 sam9x60_pmc->chws[PMC_PLLACK] = hw; in sam9x60_pmc_setup()
252 sam9x60_pmc->chws[PMC_UTMI] = hw; in sam9x60_pmc_setup()
263 sam9x60_pmc->chws[PMC_MCK] = hw; in sam9x60_pmc_setup()
290 sam9x60_pmc->pchws[i] = hw; in sam9x60_pmc_setup()
300 sam9x60_pmc->shws[sam9x60_systemck[i].id] = hw; in sam9x60_pmc_setup()
313 sam9x60_pmc->phws[sam9x60_periphck[i].id] = hw; in sam9x60_pmc_setup()
326 sam9x60_pmc->ghws[sam9x60_gck[i].id] = hw; in sam9x60_pmc_setup()
329 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sam9x60_pmc); in sam9x60_pmc_setup()
334 kfree(sam9x60_pmc); in sam9x60_pmc_setup()
337 CLK_OF_DECLARE(sam9x60_pmc, "microchip,sam9x60-pmc", sam9x60_pmc_setup);