/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mt8186-apmixedsys.c | 121 static struct mtk_pllfh_data pllfhs[] = { variable 152 fhctl_parse_dt(fhctl_node, pllfhs, ARRAY_SIZE(pllfhs)); in clk_mt8186_apmixed_probe() 155 pllfhs, ARRAY_SIZE(pllfhs), clk_data); in clk_mt8186_apmixed_probe() 168 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8186_apmixed_probe() 169 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8186_apmixed_probe() 181 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8186_apmixed_remove() 182 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8186_apmixed_remove()
|
H A D | clk-mt8173-apmixedsys.c | 120 static struct mtk_pllfh_data pllfhs[] = { variable 159 fhctl_parse_dt(fhctl_node, pllfhs, ARRAY_SIZE(pllfhs)); in clk_mt8173_apmixed_probe() 161 pllfhs, ARRAY_SIZE(pllfhs), clk_data); in clk_mt8173_apmixed_probe() 187 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8173_apmixed_probe() 188 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8173_apmixed_probe() 202 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8173_apmixed_remove() 203 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8173_apmixed_remove()
|
H A D | clk-mt8195-apmixedsys.c | 152 static struct mtk_pllfh_data pllfhs[] = { variable 182 fhctl_parse_dt(fhctl_node, pllfhs, ARRAY_SIZE(pllfhs)); in clk_mt8195_apmixed_probe() 185 pllfhs, ARRAY_SIZE(pllfhs), clk_data); in clk_mt8195_apmixed_probe() 205 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8195_apmixed_probe() 206 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8195_apmixed_probe() 219 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8195_apmixed_remove() 220 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8195_apmixed_remove()
|
H A D | clk-mt8192-apmixedsys.c | 137 static struct mtk_pllfh_data pllfhs[] = { variable 163 fhctl_parse_dt(fhctl_node, pllfhs, ARRAY_SIZE(pllfhs)); in clk_mt8192_apmixed_probe() 166 pllfhs, ARRAY_SIZE(pllfhs), clk_data); in clk_mt8192_apmixed_probe() 184 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8192_apmixed_probe() 185 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8192_apmixed_probe() 198 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt8192_apmixed_remove() 199 ARRAY_SIZE(pllfhs), clk_data); in clk_mt8192_apmixed_remove()
|
H A D | clk-mt6795-apmixedsys.c | 102 static struct mtk_pllfh_data pllfhs[] = { variable 154 fhctl_parse_dt(fhctl_node, pllfhs, ARRAY_SIZE(pllfhs)); in clk_mt6795_apmixed_probe() 156 pllfhs, ARRAY_SIZE(pllfhs), clk_data); in clk_mt6795_apmixed_probe() 183 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt6795_apmixed_probe() 184 ARRAY_SIZE(pllfhs), clk_data); in clk_mt6795_apmixed_probe() 197 mtk_clk_unregister_pllfhs(plls, ARRAY_SIZE(plls), pllfhs, in clk_mt6795_apmixed_remove() 198 ARRAY_SIZE(pllfhs), clk_data); in clk_mt6795_apmixed_remove()
|
H A D | clk-pllfh.c | 49 static struct mtk_pllfh_data *get_pllfh_by_id(struct mtk_pllfh_data *pllfhs, in get_pllfh_by_id() argument 55 if (pllfhs[i].data.pll_id == pll_id) in get_pllfh_by_id() 56 return &pllfhs[i]; in get_pllfh_by_id() 61 void fhctl_parse_dt(const u8 *compatible_node, struct mtk_pllfh_data *pllfhs, in fhctl_parse_dt() argument 97 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll_id); in fhctl_parse_dt() 199 struct mtk_pllfh_data *pllfhs, int num_fhs, in mtk_clk_register_pllfhs() argument 217 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id); in mtk_clk_register_pllfhs() 243 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id); in mtk_clk_register_pllfhs() 261 struct mtk_pllfh_data *pllfhs, int num_fhs, in mtk_clk_unregister_pllfhs() argument 278 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id); in mtk_clk_unregister_pllfhs()
|
H A D | clk-pllfh.h | 73 struct mtk_pllfh_data *pllfhs, int num_pllfhs, 77 struct mtk_pllfh_data *pllfhs, int num_fhs, 80 void fhctl_parse_dt(const u8 *compatible_node, struct mtk_pllfh_data *pllfhs,
|