Lines Matching refs:sama5d2_pmc
147 struct pmc_data *sama5d2_pmc; in sama5d2_pmc_setup() local
169 sama5d2_pmc = pmc_data_allocate(PMC_AUDIOPLLCK + 1, in sama5d2_pmc_setup()
173 if (!sama5d2_pmc) in sama5d2_pmc_setup()
194 sama5d2_pmc->chws[PMC_MAIN] = hw; in sama5d2_pmc_setup()
205 sama5d2_pmc->chws[PMC_PLLACK] = hw; in sama5d2_pmc_setup()
222 sama5d2_pmc->chws[PMC_AUDIOPLLCK] = hw; in sama5d2_pmc_setup()
232 sama5d2_pmc->chws[PMC_UTMI] = hw; in sama5d2_pmc_setup()
244 sama5d2_pmc->chws[PMC_MCK] = hw; in sama5d2_pmc_setup()
250 sama5d2_pmc->chws[PMC_MCK2] = hw; in sama5d2_pmc_setup()
276 sama5d2_pmc->pchws[i] = hw; in sama5d2_pmc_setup()
286 sama5d2_pmc->shws[sama5d2_systemck[i].id] = hw; in sama5d2_pmc_setup()
299 sama5d2_pmc->phws[sama5d2_periphck[i].id] = hw; in sama5d2_pmc_setup()
313 sama5d2_pmc->phws[sama5d2_periph32ck[i].id] = hw; in sama5d2_pmc_setup()
333 sama5d2_pmc->ghws[sama5d2_gck[i].id] = hw; in sama5d2_pmc_setup()
344 sama5d2_pmc->chws[PMC_I2S0_MUX] = hw; in sama5d2_pmc_setup()
353 sama5d2_pmc->chws[PMC_I2S1_MUX] = hw; in sama5d2_pmc_setup()
356 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sama5d2_pmc); in sama5d2_pmc_setup()
361 kfree(sama5d2_pmc); in sama5d2_pmc_setup()
363 CLK_OF_DECLARE_DRIVER(sama5d2_pmc, "atmel,sama5d2-pmc", sama5d2_pmc_setup);