Lines Matching refs:sama5d2_pmc
169 struct pmc_data *sama5d2_pmc; in sama5d2_pmc_setup() local
191 sama5d2_pmc = pmc_data_allocate(PMC_AUDIOPINCK + 1, in sama5d2_pmc_setup()
195 if (!sama5d2_pmc) in sama5d2_pmc_setup()
216 sama5d2_pmc->chws[PMC_MAIN] = hw; in sama5d2_pmc_setup()
227 sama5d2_pmc->chws[PMC_PLLACK] = hw; in sama5d2_pmc_setup()
239 sama5d2_pmc->chws[PMC_AUDIOPINCK] = hw; in sama5d2_pmc_setup()
246 sama5d2_pmc->chws[PMC_AUDIOPLLCK] = hw; in sama5d2_pmc_setup()
256 sama5d2_pmc->chws[PMC_UTMI] = hw; in sama5d2_pmc_setup()
277 sama5d2_pmc->chws[PMC_MCK] = hw; in sama5d2_pmc_setup()
283 sama5d2_pmc->chws[PMC_MCK2] = hw; in sama5d2_pmc_setup()
309 sama5d2_pmc->pchws[i] = hw; in sama5d2_pmc_setup()
320 sama5d2_pmc->shws[sama5d2_systemck[i].id] = hw; in sama5d2_pmc_setup()
334 sama5d2_pmc->phws[sama5d2_periphck[i].id] = hw; in sama5d2_pmc_setup()
348 sama5d2_pmc->phws[sama5d2_periph32ck[i].id] = hw; in sama5d2_pmc_setup()
368 sama5d2_pmc->ghws[sama5d2_gck[i].id] = hw; in sama5d2_pmc_setup()
379 sama5d2_pmc->chws[PMC_I2S0_MUX] = hw; in sama5d2_pmc_setup()
388 sama5d2_pmc->chws[PMC_I2S1_MUX] = hw; in sama5d2_pmc_setup()
391 of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sama5d2_pmc); in sama5d2_pmc_setup()
396 kfree(sama5d2_pmc); in sama5d2_pmc_setup()
399 CLK_OF_DECLARE(sama5d2_pmc, "atmel,sama5d2-pmc", sama5d2_pmc_setup);