Home
last modified time | relevance | path

Searched refs:max_freq (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/mmc/
H A Dmmc_helpers.c89 uint32_t bus_width, max_freq; in mmc_parse() local
106 if (device_get_property(dev, "max-frequency", &max_freq, in mmc_parse()
107 sizeof(max_freq), DEVICE_PROP_UINT32) > 0) in mmc_parse()
108 host->f_max = max_freq; in mmc_parse()
/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_mipi.c56 uint64_t max_freq; member
159 best > sc->max_freq) { in aw_clk_mipi_set_freq()
162 sc->min_freq, sc->max_freq); in aw_clk_mipi_set_freq()
277 sc->max_freq = clkdef->max_freq; in aw_clk_mipi_register()
H A Daw_clk_frac.c56 uint64_t max_freq; member
165 if (cur > sc->max_freq) { in aw_clk_frac_find_best()
240 best > sc->max_freq) { in aw_clk_frac_set_freq()
243 sc->min_freq, sc->max_freq); in aw_clk_frac_set_freq()
379 sc->max_freq = clkdef->max_freq; in aw_clk_frac_register()
H A Daw_clk_mipi.h40 uint64_t max_freq; member
H A Daw_clk_frac.h40 uint64_t max_freq; member
H A Daw_clk.h351 .max_freq = _max_freq, \
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl_subr.c358 bhnd_pwrctl_slowclk_freq(struct bhnd_pwrctl_softc *sc, bool max_freq) in bhnd_pwrctl_slowclk_freq() argument
377 if (max_freq) { in bhnd_pwrctl_slowclk_freq()
392 hz = max_freq ? CHIPC_LPOMAXFREQ : CHIPC_LPOMINFREQ; in bhnd_pwrctl_slowclk_freq()
395 hz = max_freq ? CHIPC_XTALMAXFREQ : CHIPC_XTALMINFREQ; in bhnd_pwrctl_slowclk_freq()
398 hz = max_freq ? CHIPC_PCIMAXFREQ : CHIPC_PCIMINFREQ; in bhnd_pwrctl_slowclk_freq()
/freebsd/sys/x86/x86/
H A Dtsc.c655 uint64_t max_freq; in init_TSC_tc() local
665 max_freq = UINT_MAX; in init_TSC_tc()
700 max_freq >>= tsc_shift; in init_TSC_tc()
702 for (shift = 0; shift <= 31 && (tsc_freq >> shift) > max_freq; shift++) in init_TSC_tc()
826 uint64_t max_freq; in tsc_levels_changed() local
846 max_freq = (uint64_t)levels[0].total_set.freq * 1000000; in tsc_levels_changed()
847 set_cputicker(rdtsc, max_freq, true); in tsc_levels_changed()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c110 uint64_t max_freq; member
177 if (sc->max_freq < freq*2) { in rk_spi_hw_setup()
179 clk_get_freq(sc->clk_spi, &sc->max_freq); in rk_spi_hw_setup()
182 div = ((sc->max_freq + freq - 1) / freq); in rk_spi_hw_setup()
327 clk_get_freq(sc->clk_spi, &sc->max_freq); in rk_spi_attach()