Home
last modified time | relevance | path

Searched refs:CLK_SET_ROUND_DOWN (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/dev/clk/
H A Dclk.h48 #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 Dclk_div.c179 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 Dimx8mq_ccm.c228 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 Drk_clk_fract.c219 } 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 Drk_clk_composite.c258 if ((best < *fout) && ((flags & CLK_SET_ROUND_DOWN) == 0)) in rk_clk_composite_set_freq()
/freebsd/sys/dev/mmc/host/
H A Ddwmmc_rockchip.c112 CLK_SET_ROUND_DOWN); in dwmmc_rockchip_update_ios()
/freebsd/sys/dev/hdmi/
H A Ddwc_hdmi_fdt.c138 err = clk_set_freq(sc->clk_hdmi, freq, CLK_SET_ROUND_DOWN); in dwc_hdmi_fdt_attach()
/freebsd/sys/arm64/rockchip/
H A Drk_i2s.c180 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 Daw_clk_np.c153 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_np_set_freq()
H A Daw_clk_m.c196 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_m_set_freq()
H A Daw_clk_nmm.c161 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_nmm_set_freq()
H A Daw_clk_nm.c219 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_nm_set_freq()
H A Daw_clk_frac.c253 ((flags & CLK_SET_ROUND_DOWN) == 0)) { in aw_clk_frac_set_freq()
H A Daw_clk_nkmp.c269 ((flags & CLK_SET_ROUND_DOWN) != 0)) { in aw_clk_nkmp_set_freq()
/freebsd/sys/arm/allwinner/
H A Da10_ahci.c340 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 Dimx_clk_composite.c168 if (flags & CLK_SET_ROUND_DOWN) { in imx_clk_composite_find_best()
/freebsd/sys/arm/ti/clk/
H A Dti_clk_dpll.c197 (flags == CLK_SET_ROUND_DOWN)) { in ti_dpll_clk_set_freq()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_cpufreq.c282 rv = clk_set_freq(sc->clk_pll_x, point->freq, CLK_SET_ROUND_DOWN); in set_cpu_freq()
H A Dtegra210_clk_pll.c915 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 Dtegra_sdhci.c322 rv = clk_set_freq(sc->clk, 48000000, CLK_SET_ROUND_DOWN); in tegra_sdhci_attach()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c178 clk_set_freq(sc->clk_spi, 2 * freq, CLK_SET_ROUND_DOWN); in rk_spi_hw_setup()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c340 rv = clk_set_freq(sc->clk_pll_x, point->freq, CLK_SET_ROUND_DOWN); in set_cpu_freq()
H A Dtegra124_clk_pll.c717 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 Daw_spi.c541 clk_set_freq(sc->clk_mod, 2 * clock, CLK_SET_ROUND_DOWN); in aw_spi_transfer()
/freebsd/sys/dev/cpufreq/
H A Dcpufreq_dt.c235 error = clk_set_freq(sc->clk, opp->freq, CLK_SET_ROUND_DOWN); in cpufreq_dt_set()

12