/openbmc/linux/drivers/clk/zynqmp/ |
H A D | divider.c | 55 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 D | clk-npcm7xx.c | 338 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 D | clk-npcm8xx.c | 196 … 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 D | clk-divider.c | 73 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 D | divider.c | 48 !(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 D | clk-7xx.c | 345 .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 D | clk-33xx.c | 163 .flags = CLK_DIVIDER_POWER_OF_TWO, 173 .flags = CLK_DIVIDER_POWER_OF_TWO,
|
H A D | clk-44xx.c | 280 .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 D | clk-rk3188.c | 301 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 D | clk-rk3036.c | 188 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 D | clk-rk3128.c | 214 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 D | ccu-sun50i-a100-r.c | 27 .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 D | ccu-sun50i-h6-r.c | 33 .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 D | ccu-sun50i-h6.c | 510 .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 D | ccu-sun9i-a80.c | 266 .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 D | ccu-sun50i-a100.c | 529 .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 D | ccu-sun8i-r.c | 33 .div = _SUNXI_CCU_DIV_FLAGS(4, 2, CLK_DIVIDER_POWER_OF_TWO),
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ac100.c | 139 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 D | meson8-ddr.c | 68 .flags = CLK_DIVIDER_POWER_OF_TWO,
|
H A D | axg.c | 76 .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 D | gxbb.c | 136 .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 D | clk-mix.c | 32 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 D | clk-mt8167-apmixedsys.c | 89 0x1c4, 24, 3, CLK_DIVIDER_POWER_OF_TWO),
|
H A D | clk-mt8173-apmixedsys.c | 175 CLK_DIVIDER_POWER_OF_TWO, NULL); in clk_mt8173_apmixed_probe()
|
/openbmc/linux/drivers/clk/microchip/ |
H A D | clk-pic32mzda.c | 197 CLK_DIVIDER_POWER_OF_TWO, in pic32mzda_clk_probe()
|