Searched refs:pmc_data (Results 1 – 16 of 16) sorted by relevance
51 struct pmc_data *pmc_data = data; in of_clk_hw_pmc_get() local55 if (idx < pmc_data->ncore) in of_clk_hw_pmc_get()56 return pmc_data->chws[idx]; in of_clk_hw_pmc_get()59 if (idx < pmc_data->nsystem) in of_clk_hw_pmc_get()60 return pmc_data->shws[idx]; in of_clk_hw_pmc_get()63 if (idx < pmc_data->nperiph) in of_clk_hw_pmc_get()64 return pmc_data->phws[idx]; in of_clk_hw_pmc_get()67 if (idx < pmc_data->ngck) in of_clk_hw_pmc_get()68 return pmc_data->ghws[idx]; in of_clk_hw_pmc_get()71 if (idx < pmc_data->npck) in of_clk_hw_pmc_get()[all …]
20 struct pmc_data { struct140 struct pmc_data *pmc_data_allocate(unsigned int ncore, unsigned int nsystem,
71 struct pmc_data *at91sam9rl_pmc; in at91sam9rl_pmc_setup()
80 struct pmc_data *at91rm9200_pmc; in at91rm9200_pmc_setup()
96 struct pmc_data *at91sam9g45_pmc; in at91sam9g45_pmc_setup()
116 struct pmc_data *at91sam9n12_pmc; in at91sam9n12_pmc_setup()
133 struct pmc_data *sama5d4_pmc; in sama5d4_pmc_setup()
118 struct pmc_data *sama5d3_pmc; in sama5d3_pmc_setup()
138 struct pmc_data *at91sam9x5_pmc; in at91sam9x5_pmc_setup()
189 struct pmc_data *sam9x60_pmc; in sam9x60_pmc_setup()
169 struct pmc_data *sama5d2_pmc; in sama5d2_pmc_setup()
333 struct pmc_data *at91sam9260_pmc; in at91sam926x_pmc_setup()
714 struct pmc_data *sam9x7_pmc; in sam9x7_pmc_setup()
976 struct pmc_data *sama7g5_pmc; in sama7g5_pmc_setup()
150 const struct pmc_clk_data *pmc_data, in plt_clk_register() argument169 pclk->reg = pmc_data->base + PMC_CLK_CTL_OFFSET + id * PMC_CLK_CTL_SIZE; in plt_clk_register()177 if (pmc_data->critical && plt_clk_is_enabled(&pclk->hw)) in plt_clk_register()306 const struct pmc_clk_data *pmc_data; in plt_clk_probe() local312 pmc_data = dev_get_platdata(&pdev->dev); in plt_clk_probe()313 if (!pmc_data || !pmc_data->clks) in plt_clk_probe()320 parent_names = plt_clk_register_parents(pdev, data, pmc_data->clks); in plt_clk_probe()325 data->clks[i] = plt_clk_register(pdev, i, pmc_data, in plt_clk_probe()
36 struct pmc_data { struct196 static const struct pmc_data byt_data = {201 static const struct pmc_data cht_data = {426 const struct pmc_data *pmc_data) in pmc_setup_clks() argument436 clk_data->clks = pmc_data->clks; in pmc_setup_clks()532 const struct pmc_data *data = (struct pmc_data *)ent->driver_data; in pmc_setup_dev()