Home
last modified time | relevance | path

Searched refs:CLK_DIVIDER_POWER_OF_TWO (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/linux/drivers/clk/zynqmp/
H A Ddivider.c55 if (flags & CLK_DIVIDER_POWER_OF_TWO) { in zynqmp_divider_get_val()
100 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in zynqmp_clk_divider_recalc_rate()
145 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in zynqmp_clk_divider_round_rate()
188 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in zynqmp_clk_divider_set_rate()
247 ccf_flag |= CLK_DIVIDER_POWER_OF_TWO; in zynqmp_clk_map_divider_ccf_flags()
/openbmc/linux/drivers/clk/
H A Dclk-npcm7xx.c338 NPCM7XX_CLK_S_TIMER, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_ADC},
359 NPCM7XX_CLK_S_CPU_MUX, CLK_DIVIDER_POWER_OF_TWO, CLK_IS_CRITICAL,
363 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB4},
366 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB3},
369 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB2},
372 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB1},
375 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB5},
H A Dclk-npcm8xx.c196 … 28, 3, "adc", &npcm8xx_pre_divs[0].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
202 …30, 2, "apb4", &npcm8xx_pre_divs[1].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
203 …28, 2, "apb3", &npcm8xx_pre_divs[1].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
204 …26, 2, "apb2", &npcm8xx_pre_divs[1].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
205 …24, 2, "apb1", &npcm8xx_pre_divs[1].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
206 …22, 2, "apb5", &npcm8xx_pre_divs[1].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
221 …_CNT, 0, 2, "th", &npcm8xx_muxes[0].hw, CLK_DIVIDER_READ_ONLY | CLK_DIVIDER_POWER_OF_TWO, 0, NPCM8…
H A Dclk-divider.c73 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
96 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
121 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_val()
176 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _is_valid_div()
225 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _div_round_up()
243 if (flags & CLK_DIVIDER_POWER_OF_TWO) { in _div_round_closest()
281 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _next_div()
/openbmc/linux/drivers/clk/ti/
H A Ddivider.c48 !(divider->flags & CLK_DIVIDER_POWER_OF_TWO)) in _setup_mask()
52 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _setup_mask()
64 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
86 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _get_val()
132 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _is_valid_div()
497 div->flags |= CLK_DIVIDER_POWER_OF_TWO; in ti_clk_divider_populate()
H A Dclk-7xx.c345 .flags = CLK_DIVIDER_POWER_OF_TWO,
362 .flags = CLK_DIVIDER_POWER_OF_TWO,
553 .flags = CLK_DIVIDER_POWER_OF_TWO,
570 .flags = CLK_DIVIDER_POWER_OF_TWO,
663 .flags = CLK_DIVIDER_POWER_OF_TWO,
H A Dclk-33xx.c163 .flags = CLK_DIVIDER_POWER_OF_TWO,
173 .flags = CLK_DIVIDER_POWER_OF_TWO,
H A Dclk-44xx.c280 .flags = CLK_DIVIDER_POWER_OF_TWO,
366 .flags = CLK_DIVIDER_POWER_OF_TWO,
671 .flags = CLK_DIVIDER_POWER_OF_TWO,
/openbmc/linux/drivers/clk/rockchip/
H A Dclk-rk3188.c301 RK2928_CLKSEL_CON(26), 8, 1, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
324 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
327 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
562 RK2928_CLKSEL_CON(1), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
565 RK2928_CLKSEL_CON(1), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
568 RK2928_CLKSEL_CON(1), 14, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
684 RK2928_CLKSEL_CON(1), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
686 RK2928_CLKSEL_CON(1), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
688 RK2928_CLKSEL_CON(1), 14, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
H A Dclk-rk3036.c188 RK2928_CLKSEL_CON(26), 8, 1, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
218 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
222 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
H A Dclk-rk3128.c214 RK2928_CLKSEL_CON(26), 8, 2, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
283 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
286 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu-sun50i-a100-r.c27 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
62 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
H A Dccu-sun50i-h6-r.c33 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
58 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
H A Dccu-sun50i-h6.c510 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
523 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
536 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
549 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
567 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
582 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
597 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
H A Dccu-sun9i-a80.c266 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
278 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
290 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
304 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
316 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
328 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
H A Dccu-sun50i-a100.c529 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
542 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
555 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
568 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
586 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
601 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
H A Dccu-sun8i-r.c33 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
/openbmc/linux/drivers/rtc/
H A Drtc-ac100.c139 CLK_DIVIDER_POWER_OF_TWO, in ac100_clkout_recalc_rate()
152 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_round_rate()
158 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_round_rate()
231 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_set_rate()
/openbmc/linux/drivers/clk/meson/
H A Dmeson8-ddr.c68 .flags = CLK_DIVIDER_POWER_OF_TWO,
H A Daxg.c76 .flags = CLK_DIVIDER_POWER_OF_TWO,
135 .flags = CLK_DIVIDER_POWER_OF_TWO,
240 .flags = CLK_DIVIDER_POWER_OF_TWO,
313 .flags = CLK_DIVIDER_POWER_OF_TWO,
765 .flags = CLK_DIVIDER_POWER_OF_TWO,
783 .flags = CLK_DIVIDER_POWER_OF_TWO,
H A Dgxbb.c136 .flags = CLK_DIVIDER_POWER_OF_TWO,
272 .flags = CLK_DIVIDER_POWER_OF_TWO,
290 .flags = CLK_DIVIDER_POWER_OF_TWO,
308 .flags = CLK_DIVIDER_POWER_OF_TWO,
326 .flags = CLK_DIVIDER_POWER_OF_TWO,
344 .flags = CLK_DIVIDER_POWER_OF_TWO,
362 .flags = CLK_DIVIDER_POWER_OF_TWO,
418 .flags = CLK_DIVIDER_POWER_OF_TWO,
537 .flags = CLK_DIVIDER_POWER_OF_TWO,
/openbmc/linux/drivers/clk/mmp/
H A Dclk-mix.c32 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
49 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
86 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div_val()
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mt8167-apmixedsys.c89 0x1c4, 24, 3, CLK_DIVIDER_POWER_OF_TWO),
H A Dclk-mt8173-apmixedsys.c175 CLK_DIVIDER_POWER_OF_TWO, NULL); in clk_mt8173_apmixed_probe()
/openbmc/linux/drivers/clk/microchip/
H A Dclk-pic32mzda.c197 CLK_DIVIDER_POWER_OF_TWO, in pic32mzda_clk_probe()

123