Lines Matching refs:at91sam9rl_pmc
71 struct pmc_data *at91sam9rl_pmc; in at91sam9rl_pmc_setup() local
92 at91sam9rl_pmc = pmc_data_allocate(PMC_PLLACK + 1, in at91sam9rl_pmc_setup()
95 if (!at91sam9rl_pmc) in at91sam9rl_pmc_setup()
102 at91sam9rl_pmc->chws[PMC_MAIN] = hw; in at91sam9rl_pmc_setup()
110 at91sam9rl_pmc->chws[PMC_PLLACK] = hw; in at91sam9rl_pmc_setup()
116 at91sam9rl_pmc->chws[PMC_UTMI] = hw; in at91sam9rl_pmc_setup()
138 at91sam9rl_pmc->chws[PMC_MCK] = hw; in at91sam9rl_pmc_setup()
157 at91sam9rl_pmc->pchws[i] = hw; in at91sam9rl_pmc_setup()
167 at91sam9rl_pmc->shws[at91sam9rl_systemck[i].id] = hw; in at91sam9rl_pmc_setup()
178 at91sam9rl_pmc->phws[at91sam9rl_periphck[i].id] = hw; in at91sam9rl_pmc_setup()
181 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, at91sam9rl_pmc); in at91sam9rl_pmc_setup()
186 kfree(at91sam9rl_pmc); in at91sam9rl_pmc_setup()
189 CLK_OF_DECLARE(at91sam9rl_pmc, "atmel,at91sam9rl-pmc", at91sam9rl_pmc_setup);