Lines Matching refs:at91sam9rl_pmc
69 struct pmc_data *at91sam9rl_pmc; in at91sam9rl_pmc_setup() local
90 at91sam9rl_pmc = pmc_data_allocate(PMC_PLLACK + 1, in at91sam9rl_pmc_setup()
93 if (!at91sam9rl_pmc) in at91sam9rl_pmc_setup()
100 at91sam9rl_pmc->chws[PMC_MAIN] = hw; in at91sam9rl_pmc_setup()
108 at91sam9rl_pmc->chws[PMC_PLLACK] = hw; in at91sam9rl_pmc_setup()
114 at91sam9rl_pmc->chws[PMC_UTMI] = hw; in at91sam9rl_pmc_setup()
126 at91sam9rl_pmc->chws[PMC_MCK] = hw; in at91sam9rl_pmc_setup()
145 at91sam9rl_pmc->pchws[i] = hw; in at91sam9rl_pmc_setup()
155 at91sam9rl_pmc->shws[at91sam9rl_systemck[i].id] = hw; in at91sam9rl_pmc_setup()
166 at91sam9rl_pmc->phws[at91sam9rl_periphck[i].id] = hw; in at91sam9rl_pmc_setup()
169 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, at91sam9rl_pmc); in at91sam9rl_pmc_setup()
174 kfree(at91sam9rl_pmc); in at91sam9rl_pmc_setup()
176 CLK_OF_DECLARE_DRIVER(at91sam9rl_pmc, "atmel,at91sam9rl-pmc", at91sam9rl_pmc_setup);