Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/clk/ti/
Ddivider.c46 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
68 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
90 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _get_val()
136 if (divider->flags & CLK_DIVIDER_POWER_OF_TWO) in _is_valid_div()
422 div->flags |= CLK_DIVIDER_POWER_OF_TWO; in ti_clk_build_component_div()
449 div_flags |= CLK_DIVIDER_POWER_OF_TWO; in ti_clk_register_divider()
544 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_divider_width()
592 *div_flags |= CLK_DIVIDER_POWER_OF_TWO; in ti_clk_divider_populate()
Dclk-7xx.c263 .flags = CLK_DIVIDER_POWER_OF_TWO,
280 .flags = CLK_DIVIDER_POWER_OF_TWO,
478 .flags = CLK_DIVIDER_POWER_OF_TWO,
495 .flags = CLK_DIVIDER_POWER_OF_TWO,
523 .flags = CLK_DIVIDER_POWER_OF_TWO,
Dclk-33xx.c129 .flags = CLK_DIVIDER_POWER_OF_TWO,
139 .flags = CLK_DIVIDER_POWER_OF_TWO,
Dclk-44xx.c283 .flags = CLK_DIVIDER_POWER_OF_TWO,
369 .flags = CLK_DIVIDER_POWER_OF_TWO,
662 .flags = CLK_DIVIDER_POWER_OF_TWO,
Dclkctrl.c370 if (div->flags & CLK_DIVIDER_POWER_OF_TWO) in _ti_clkctrl_setup_div()
/Linux-v4.19/drivers/clk/
Dclk-npcm7xx.c374 NPCM7XX_CLK_S_TIMER, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_ADC},
395 NPCM7XX_CLK_S_CPU_MUX, CLK_DIVIDER_POWER_OF_TWO, CLK_IS_CRITICAL,
399 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB4},
402 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB3},
405 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB2},
408 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB1},
411 NPCM7XX_CLK_S_AHB, CLK_DIVIDER_POWER_OF_TWO, 0, NPCM7XX_CLK_APB5},
Dclk-divider.c59 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
82 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
107 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _get_val()
162 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _is_valid_div()
211 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _div_round_up()
229 if (flags & CLK_DIVIDER_POWER_OF_TWO) { in _div_round_closest()
267 if (flags & CLK_DIVIDER_POWER_OF_TWO) in _next_div()
/Linux-v4.19/drivers/clk/rockchip/
Dclk-rk3188.c307 RK2928_CLKSEL_CON(26), 8, 1, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
330 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
333 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
569 RK2928_CLKSEL_CON(1), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
572 RK2928_CLKSEL_CON(1), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
575 RK2928_CLKSEL_CON(1), 14, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO
690 RK2928_CLKSEL_CON(1), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
692 RK2928_CLKSEL_CON(1), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
694 RK2928_CLKSEL_CON(1), 14, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
Dclk-rk3036.c194 RK2928_CLKSEL_CON(26), 8, 1, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
224 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
228 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
Dclk-rk3128.c221 RK2928_CLKSEL_CON(26), 8, 2, MFLAGS, 0, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
296 RK2928_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
299 RK2928_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
Dclk-rk3288.c314 DFLAGS | CLK_DIVIDER_POWER_OF_TWO),
488 RK3288_CLKSEL_CON(10), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
491 RK3288_CLKSEL_CON(10), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
Dclk-rk3368.c527 RK3368_CLKSEL_CON(9), 12, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
530 RK3368_CLKSEL_CON(9), 8, 2, DFLAGS | CLK_DIVIDER_POWER_OF_TWO,
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu-sun8i-r.c37 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
58 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
81 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
Dccu-sun50i-h6-r.c32 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
67 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
Dccu-sun50i-h6.c493 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
506 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
519 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
532 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
550 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
565 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
580 .div = _SUNXI_CCU_DIV_FLAGS(8, 2, CLK_DIVIDER_POWER_OF_TWO),
Dccu-sun9i-a80.c273 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
285 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
297 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
311 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
323 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
335 .div = _SUNXI_CCU_DIV_FLAGS(0, 2, CLK_DIVIDER_POWER_OF_TWO),
Dccu-sun4i-a10.c148 .div = _SUNXI_CCU_DIV_FLAGS(16, 2, CLK_DIVIDER_POWER_OF_TWO),
247 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
261 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
Dccu-sun8i-v3s.c139 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
/Linux-v4.19/drivers/clk/h8300/
Dclk-div.c44 CLK_DIVIDER_POWER_OF_TWO, &clklock); in h8300_div_clk_setup()
/Linux-v4.19/drivers/rtc/
Drtc-ac100.c147 CLK_DIVIDER_POWER_OF_TWO, in ac100_clkout_recalc_rate()
160 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_round_rate()
166 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_round_rate()
239 CLK_DIVIDER_POWER_OF_TWO); in ac100_clkout_set_rate()
/Linux-v4.19/drivers/clk/mmp/
Dclk-mix.c35 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
52 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
89 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div_val()
/Linux-v4.19/drivers/clk/microchip/
Dclk-pic32mzda.c204 CLK_DIVIDER_POWER_OF_TWO, in pic32mzda_clk_probe()
/Linux-v4.19/drivers/clk/actions/
Dowl-s900.c437 OWL_DIVIDER_HW(CMU_TLSCLK, 0, 4, CLK_DIVIDER_POWER_OF_TWO, NULL),
443 OWL_DIVIDER_HW(CMU_TLSCLK, 8, 4, CLK_DIVIDER_POWER_OF_TWO, NULL),
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sunxi.c807 data->pow ? CLK_DIVIDER_POWER_OF_TWO : 0, in sunxi_divider_clk_setup()
1069 flags = data->div[i].pow ? CLK_DIVIDER_POWER_OF_TWO : 0; in sunxi_divs_clk_setup()
/Linux-v4.19/drivers/clk/tegra/
Dclk-tegra20.c839 CLK_DIVIDER_POWER_OF_TWO | CLK_DIVIDER_READ_ONLY, in tegra20_periph_clk_init()
845 CLK_DIVIDER_POWER_OF_TWO | CLK_DIVIDER_READ_ONLY, in tegra20_periph_clk_init()

12