exynos5_dmc_get_cur_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 about
  • freq β€” 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 πŸ‘‘


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