exynos5_dmc_get_cur_freq(9)
π exynos5_dmc_get_cur_freq(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a little function with a big job β it tells you what frequency the DMC is actually running at rn π«Ά
πΈ NAME πΈ
exynos5_dmc_get_cur_freq β the function that hands you back the current DMC frequency π
β¨ SYNOPSIS β¨
int exynos5_dmc_get_cur_freq (struct device *dev , unsigned long *freq
);
like, it takes two things and gives you back an int β that's the whole vibe π
π¦ ARGUMENTS π¦
devβ the device whose operating frequency the framework is checking π yes, that device, the one you're asking aboutfreqβ this is where the returned frequency value lands π― it's a pointer, so the function writes it back to you, iykyk
π DESCRIPTION π
So basically it returns the currently used frequency of the DMC π«
but bestie listen π the real operating frequency might be lower than you'd expect β that happens when the clock source value couldn't be divided down to the requested value π no cap, the hardware said "close enough" and moved on π
π₯ SEE ALSO π₯
the whole squad, fr fr β all these live in the kernel file ./drivers/memory/samsung/exynos5422-dmc.c π
struct dmc_opp_table(9)struct exynos5_dmc(9)find_target_freq_idx(9)exynos5_switch_timing_regs(9)exynos5_init_freq_table(9)exynos5_set_bypass_dram_timings(9)exynos5_dram_change_timings(9)exynos5_dmc_align_target_voltage(9)exynos5_dmc_align_bypass_voltage(9)exynos5_dmc_align_bypass_dram_timings(9)exynos5_dmc_switch_to_bypass_configuration(9)exynos5_dmc_change_freq_and_volt(9)exynos5_dmc_get_volt_freq(9)exynos5_dmc_target(9)exynos5_counters_get(9)exynos5_dmc_start_perf_events(9)exynos5_dmc_perf_events_calc(9)exynos5_dmc_perf_events_check(9)exynos5_dmc_enable_perf_events(9)exynos5_dmc_disable_perf_events(9)exynos5_dmc_get_status(9)exynos5_dmc_align_init_freq(9)create_timings_aligned(9)of_get_dram_timings(9)exynos5_dmc_init_clks(9)exynos5_performance_counters_init(9)exynos5_dmc_set_pause_on_switching(9)exynos5_dmc_probe(9)exynos5_dmc_remove(9)
ngl that's a lot of cross-references but that's the family tree, periodt π go read them, your future self will thank you π
mwah π this page came from ./drivers/memory/samsung and it's stamped October 2026 β so like, go forth and read your frequencies, main character π slay π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms