Home
last modified time | relevance | path

Searched refs:pmc_data (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/clk/at91/
Dpmc.c51 struct pmc_data *pmc_data = data; in of_clk_hw_pmc_get() local
55 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()
79 void pmc_data_free(struct pmc_data *pmc_data) in pmc_data_free() argument
[all …]
Dpmc.h18 struct pmc_data { struct
96 struct pmc_data *pmc_data_allocate(unsigned int ncore, unsigned int nsystem,
98 void pmc_data_free(struct pmc_data *pmc_data);
Dat91sam9rl.c69 struct pmc_data *at91sam9rl_pmc; in at91sam9rl_pmc_setup()
Dsama5d4.c121 struct pmc_data *sama5d4_pmc; in sama5d4_pmc_setup()
Dat91sam9x5.c131 struct pmc_data *at91sam9x5_pmc; in at91sam9x5_pmc_setup()
Dsam9x60.c159 struct pmc_data *sam9x60_pmc; in sam9x60_pmc_setup()
Dsama5d2.c147 struct pmc_data *sama5d2_pmc; in sama5d2_pmc_setup()
Dat91sam9260.c331 struct pmc_data *at91sam9260_pmc; in at91sam926x_pmc_setup()
/Linux-v5.4/drivers/clk/x86/
Dclk-pmc-atom.c161 const struct pmc_clk_data *pmc_data, in plt_clk_register() argument
180 pclk->reg = pmc_data->base + PMC_CLK_CTL_OFFSET + id * PMC_CLK_CTL_SIZE; in plt_clk_register()
188 if (pmc_data->critical && plt_clk_is_enabled(&pclk->hw)) in plt_clk_register()
317 const struct pmc_clk_data *pmc_data; in plt_clk_probe() local
323 pmc_data = dev_get_platdata(&pdev->dev); in plt_clk_probe()
324 if (!pmc_data || !pmc_data->clks) in plt_clk_probe()
331 parent_names = plt_clk_register_parents(pdev, data, pmc_data->clks); in plt_clk_probe()
336 data->clks[i] = plt_clk_register(pdev, i, pmc_data, in plt_clk_probe()
/Linux-v5.4/drivers/platform/x86/
Dpmc_atom.c33 struct pmc_data { struct
193 static const struct pmc_data byt_data = {
198 static const struct pmc_data cht_data = {
436 const struct pmc_data *pmc_data) in pmc_setup_clks() argument
447 clk_data->clks = pmc_data->clks; in pmc_setup_clks()
469 const struct pmc_data *data = (struct pmc_data *)ent->driver_data; in pmc_setup_dev()