Home
last modified time | relevance | path

Searched refs:MAX_CLKS (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/clk/
H A Dclk_bcm6345.c15 #define MAX_CLKS 32 macro
25 if (clk->id >= MAX_CLKS) in bcm6345_clk_enable()
37 if (clk->id >= MAX_CLKS) in bcm6345_clk_disable()
/openbmc/linux/drivers/reset/
H A Dreset-uniphier-glue.c14 #define MAX_CLKS 2 macro
25 struct clk_bulk_data clk[MAX_CLKS];
57 if (WARN_ON(!priv->data || priv->data->nclks > MAX_CLKS || in uniphier_glue_reset_probe()
/openbmc/linux/drivers/clk/berlin/
H A Dbg2q.c38 #define MAX_CLKS 28 macro
288 clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); in berlin2q_clock_setup()
293 clk_data->num = MAX_CLKS; in berlin2q_clock_setup()
368 for (n = 0; n < MAX_CLKS; n++) { in berlin2q_clock_setup()
H A Dbg2.c84 #define MAX_CLKS 41 macro
502 clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); in berlin2_clock_setup()
507 clk_data->num = MAX_CLKS; in berlin2_clock_setup()
670 for (n = 0; n < MAX_CLKS; n++) { in berlin2_clock_setup()
/openbmc/linux/drivers/clk/
H A Dclk-asm9260.c265 clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); in asm9260_acc_init()
268 clk_data->num = MAX_CLKS; in asm9260_acc_init()
320 for (n = 0; n < MAX_CLKS; n++) { in asm9260_acc_init()
/openbmc/linux/drivers/pmdomain/mediatek/
H A Dmtk-scpsys.c109 #define MAX_CLKS 3 macro
129 enum clk_id clk_id[MAX_CLKS];
138 struct clk *clk[MAX_CLKS];
315 ret = scpsys_clk_enable(scpd->clk, MAX_CLKS); in scpsys_power_on()
352 scpsys_clk_disable(scpd->clk, MAX_CLKS); in scpsys_power_on()
400 scpsys_clk_disable(scpd->clk, MAX_CLKS); in scpsys_power_off()
496 for (j = 0; j < MAX_CLKS && data->clk_id[j]; j++) { in init_scp()
/openbmc/linux/drivers/regulator/
H A Duniphier-regulator.c17 #define MAX_CLKS 2 macro
30 struct clk_bulk_data clk[MAX_CLKS];
/openbmc/linux/include/dt-bindings/clock/
H A Dalphascale,asm9260.h88 #define MAX_CLKS 74 macro
/openbmc/linux/drivers/soc/qcom/
H A Dqcom-geni-se.c84 #define MAX_CLKS 2 macro
97 struct clk_bulk_data clks[MAX_CLKS];
917 wrapper->num_clks = min_t(unsigned int, desc->num_clks, MAX_CLKS); in geni_se_probe()