/linux/drivers/clk/mediatek/ |
H A D | clk-mt8135-apmixedsys.c | 37 static const struct mtk_pll_data plls[] = { variable 60 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8135_apmixed_probe() 71 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8135_apmixed_probe() 84 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8135_apmixed_remove()
|
H A D | clk-mt7988-apmixed.c | 47 static const struct mtk_pll_data plls[] = { variable 85 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(plls)); in clk_mt7988_apmixed_probe() 89 r = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt7988_apmixed_probe() 100 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt7988_apmixed_probe()
|
H A D | clk-mt7622-apmixedsys.c | 58 static const struct mtk_pll_data plls[] = { variable 99 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt7622_apmixed_probe() 117 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt7622_apmixed_probe() 129 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt7622_apmixed_remove()
|
H A D | clk-mt8188-apmixedsys.c | 60 static const struct mtk_pll_data plls[] = { variable 109 r = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8188_apmixed_probe() 129 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8188_apmixed_probe() 142 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8188_apmixed_remove()
|
H A D | clk-mt2712-apmixedsys.c | 79 static const struct mtk_pll_data plls[] = { variable 122 r = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt2712_apmixed_probe() 135 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt2712_apmixed_probe() 147 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt2712_apmixed_remove()
|
H A D | clk-mt8186-apmixedsys.c | 46 static const struct mtk_pll_data plls[] = { variable 154 r = mtk_clk_register_pllfhs(node, plls, ARRAY_SIZE(plls), in clk_mt8186_apmixed_probe() 168 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8186_apmixed_probe() 181 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8186_apmixed_remove()
|
H A D | clk-mt8516-apmixedsys.c | 59 static const struct mtk_pll_data plls[] = { variable 90 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8516_apmixed_probe() 101 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8516_apmixed_probe()
|
H A D | clk-mt6795-apmixedsys.c | 46 static const struct mtk_pll_data plls[] = { variable 155 ret = mtk_clk_register_pllfhs(node, plls, ARRAY_SIZE(plls), in clk_mt6795_apmixed_probe() 183 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt6795_apmixed_probe() 197 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt6795_apmixed_remove()
|
H A D | clk-mt8192-apmixedsys.c | 72 static const struct mtk_pll_data plls[] = { variable 165 r = mtk_clk_register_pllfhs(node, plls, ARRAY_SIZE(plls), in clk_mt8192_apmixed_probe() 184 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8192_apmixed_probe() 198 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8192_apmixed_remove()
|
H A D | clk-mt8173-apmixedsys.c | 60 static const struct mtk_pll_data plls[] = { variable 160 r = mtk_clk_register_pllfhs(node, plls, ARRAY_SIZE(plls), in clk_mt8173_apmixed_probe() 187 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8173_apmixed_probe() 203 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8173_apmixed_remove()
|
H A D | clk-mt8195-apmixedsys.c | 61 static const struct mtk_pll_data plls[] = { variable 184 r = mtk_clk_register_pllfhs(node, plls, ARRAY_SIZE(plls), in clk_mt8195_apmixed_probe() 205 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8195_apmixed_probe() 219 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8195_apmixed_remove()
|
H A D | clk-mt8167-apmixedsys.c | 58 static const struct mtk_pll_data plls[] = { variable 108 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8167_apmixed_probe() 126 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8167_apmixed_probe()
|
H A D | clk-mt7981-apmixed.c | 44 static const struct mtk_pll_data plls[] = { variable 75 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(plls)); in clk_mt7981_apmixed_probe() 79 mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt7981_apmixed_probe()
|
H A D | clk-mt7986-apmixed.c | 42 static const struct mtk_pll_data plls[] = { variable 73 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(plls)); in clk_mt7986_apmixed_probe() 77 mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt7986_apmixed_probe()
|
H A D | clk-mt8365-apmixedsys.c | 82 static const struct mtk_pll_data plls[] = { variable 136 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8365_apmixed_probe() 147 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8365_apmixed_probe()
|
H A D | clk-mt8183-apmixedsys.c | 110 static const struct mtk_pll_data plls[] = { variable 158 ret = mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); in clk_mt8183_apmixed_probe() 176 mtk_clk_unregister_plls(plls, ARRAY_SIZE(plls), clk_data); in clk_mt8183_apmixed_probe()
|
H A D | clk-pllfh.c | 198 const struct mtk_pll_data *plls, int num_plls, in mtk_clk_register_pllfhs() argument 213 const struct mtk_pll_data *pll = &plls[i]; in mtk_clk_register_pllfhs() 239 const struct mtk_pll_data *pll = &plls[i]; in mtk_clk_register_pllfhs() 260 void mtk_clk_unregister_pllfhs(const struct mtk_pll_data *plls, int num_plls, in mtk_clk_unregister_pllfhs() argument 271 const struct mtk_pll_data *pll = &plls[i - 1]; in mtk_clk_unregister_pllfhs()
|
H A D | clk-pllfh.h | 72 const struct mtk_pll_data *plls, int num_plls, 76 void mtk_clk_unregister_pllfhs(const struct mtk_pll_data *plls, int num_plls,
|
H A D | clk-pll.h | 75 const struct mtk_pll_data *plls, int num_plls, 77 void mtk_clk_unregister_plls(const struct mtk_pll_data *plls, int num_plls,
|
H A D | clk-pll.c | 362 const struct mtk_pll_data *plls, int num_plls, in mtk_clk_register_plls() argument 376 const struct mtk_pll_data *pll = &plls[i]; in mtk_clk_register_plls() 399 const struct mtk_pll_data *pll = &plls[i]; in mtk_clk_register_plls() 419 void mtk_clk_unregister_plls(const struct mtk_pll_data *plls, int num_plls, in mtk_clk_unregister_plls() argument 429 const struct mtk_pll_data *pll = &plls[i - 1]; in mtk_clk_unregister_plls()
|
/linux/drivers/clk/baikal-t1/ |
H A D | clk-ccu-pll.c | 81 struct ccu_pll *plls[CCU_PLL_NUM]; member 93 return data->plls[idx]; in ccu_pll_find_desc() 158 if (!data->plls[idx]) in ccu_pll_clk_register() 159 data->plls[idx] = ERR_PTR(-EPROBE_DEFER); in ccu_pll_clk_register() 173 data->plls[idx] = ccu_pll_hw_register(&init); in ccu_pll_clk_register() 174 if (IS_ERR(data->plls[idx])) { in ccu_pll_clk_register() 175 ret = PTR_ERR(data->plls[idx]); in ccu_pll_clk_register() 189 ccu_pll_hw_unregister(data->plls[idx]); in ccu_pll_clk_register() 204 ccu_pll_hw_unregister(data->plls[idx]); in ccu_pll_clk_unregister()
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 32 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register() 33 if (!dss->plls[i]) { in dss_pll_register() 34 dss->plls[i] = pll; in dss_pll_register() 48 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister() 49 if (dss->plls[i] == pll) { in dss_pll_unregister() 50 dss->plls[i] = NULL; in dss_pll_unregister() 61 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_find() 62 if (dss->plls[i] && strcmp(dss->plls[i]->name, name) == 0) in dss_pll_find() 63 return dss->plls[i]; in dss_pll_find()
|
/linux/drivers/clk/ |
H A D | clk-k210.c | 332 struct k210_pll plls[K210_PLL_NUM]; member 549 struct k210_pll *pll = &ksc->plls[pllid]; in k210_register_pll() 553 { .hw = &ksc->plls[K210_PLL0].hw }, in k210_register_pll() 554 { .hw = &ksc->plls[K210_PLL1].hw }, in k210_register_pll() 574 k210_init_pll(ksc->regs, i, &ksc->plls[i]); in k210_register_plls() 653 { .hw = &ksc->plls[K210_PLL0].hw }, in k210_register_aclk() 828 { .hw = &ksc->plls[K210_PLL0].hw } in k210_register_mux_clk() 850 .hw = &ksc->plls[pllid].hw, in k210_register_pll_child()
|
/linux/sound/soc/uniphier/ |
H A D | aio-cpu.c | 32 return chip->plls[pll_id].enable; in is_valid_pll() 138 pll = &aio->chip->plls[pll_id]; in find_divider() 765 chip->plls = devm_kcalloc(dev, in uniphier_aio_probe() 769 if (!chip->plls) in uniphier_aio_probe() 771 memcpy(chip->plls, chip->chip_spec->plls, in uniphier_aio_probe()
|
H A D | aio.h | 220 const struct uniphier_aio_pll *plls; member 289 struct uniphier_aio_pll *plls; member
|