/freebsd/sys/dev/clk/ |
H A D | clk.h | 48 #define CLK_SET_ROUND(x) ((x) & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) 51 #define CLK_SET_ROUND_DOWN 0x00000002 macro 53 #define CLK_SET_ROUND_ANY (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)
|
H A D | clk_div.c | 179 else if ((flags & CLK_SET_ROUND_DOWN) && (*fout > _fout)) in clknode_div_set_freq() 217 ((flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0) && in clknode_div_set_freq()
|
/freebsd/sys/arm64/freescale/imx/ |
H A D | imx8mq_ccm.c | 228 COMPOSITE(IMX8MQ_CLK_USDHC1, "usdhc1", usdhc_p, 0xac00, CLK_SET_ROUND_DOWN), 229 COMPOSITE(IMX8MQ_CLK_USDHC2, "usdhc2", usdhc_p, 0xac80, CLK_SET_ROUND_DOWN),
|
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk_clk_fract.c | 219 } else if ((flags & CLK_SET_ROUND_DOWN) && (_fout > *fout)) { in rk_clk_fract_set_freq() 243 (flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0 && in rk_clk_fract_set_freq()
|
H A D | rk_clk_composite.c | 258 if ((best < *fout) && ((flags & CLK_SET_ROUND_DOWN) == 0)) in rk_clk_composite_set_freq()
|
/freebsd/sys/dev/mmc/host/ |
H A D | dwmmc_rockchip.c | 112 CLK_SET_ROUND_DOWN); in dwmmc_rockchip_update_ios()
|
/freebsd/sys/dev/hdmi/ |
H A D | dwc_hdmi_fdt.c | 138 err = clk_set_freq(sc->clk_hdmi, freq, CLK_SET_ROUND_DOWN); in dwc_hdmi_fdt_attach()
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_i2s.c | 180 CLK_SET_ROUND_DOWN); in rk_i2s_init() 574 error = clk_set_freq(sc->clk, rate, CLK_SET_ROUND_DOWN); in rk_i2s_dai_set_sysclk()
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | aw_clk_np.c | 153 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_np_set_freq()
|
H A D | aw_clk_m.c | 196 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_m_set_freq()
|
H A D | aw_clk_nmm.c | 161 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_nmm_set_freq()
|
H A D | aw_clk_nm.c | 219 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_nm_set_freq()
|
H A D | aw_clk_frac.c | 253 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_frac_set_freq()
|
H A D | aw_clk_nkmp.c | 269 ((flags & CLK_SET_ROUND_DOWN) != 0)) { in aw_clk_nkmp_set_freq()
|
/freebsd/sys/arm/allwinner/ |
H A D | a10_ahci.c | 340 error = clk_set_freq(sc->clk_pll, PLL_FREQ, CLK_SET_ROUND_DOWN); in ahci_a10_attach()
|
/freebsd/sys/arm64/freescale/imx/clk/ |
H A D | imx_clk_composite.c | 168 if (flags & CLK_SET_ROUND_DOWN) { in imx_clk_composite_find_best()
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_clk_dpll.c | 197 (flags == CLK_SET_ROUND_DOWN)) { in ti_dpll_clk_set_freq()
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | tegra210_cpufreq.c | 282 rv = clk_set_freq(sc->clk_pll_x, point->freq, CLK_SET_ROUND_DOWN); in set_cpu_freq()
|
H A D | tegra210_clk_pll.c | 915 if (((flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0) && in pll_set_std() 1144 if (((flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0) && in pllx_set_freq()
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_sdhci.c | 322 rv = clk_set_freq(sc->clk, 48000000, CLK_SET_ROUND_DOWN); in tegra_sdhci_attach()
|
/freebsd/sys/dev/spibus/controller/rockchip/ |
H A D | rk_spi.c | 178 clk_set_freq(sc->clk_spi, 2 * freq, CLK_SET_ROUND_DOWN); in rk_spi_hw_setup()
|
/freebsd/sys/arm/nvidia/tegra124/ |
H A D | tegra124_cpufreq.c | 340 rv = clk_set_freq(sc->clk_pll_x, point->freq, CLK_SET_ROUND_DOWN); in set_cpu_freq()
|
H A D | tegra124_clk_pll.c | 717 if (((flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0) && in pll_set_std() 906 if (((flags & (CLK_SET_ROUND_UP | CLK_SET_ROUND_DOWN)) == 0) && in pllx_set_freq()
|
/freebsd/sys/dev/spibus/controller/allwinner/ |
H A D | aw_spi.c | 541 clk_set_freq(sc->clk_mod, 2 * clock, CLK_SET_ROUND_DOWN); in aw_spi_transfer()
|
/freebsd/sys/dev/cpufreq/ |
H A D | cpufreq_dt.c | 235 error = clk_set_freq(sc->clk, opp->freq, CLK_SET_ROUND_DOWN); in cpufreq_dt_set()
|