tegra_emc_set_max_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tegra_emc_set_max_rate(9) ✨

okay so this is a page from the Kernel API Manual bestie, and today's main character is tegra_emc_set_max_rate πŸ’…


🌸 NAME 🌸

tegra_emc_set_max_rate β€” updates the maximum rate request for a request type πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int tegra_emc_set_max_rate (struct tegra_emc_rate_requests *reqs ,
unsigned long rate , enum tegra_emc_rate_request_type type );

πŸ’– ARGUMENTS πŸ’–

  • reqs β€” the rate request tracking state, like the group chat where all the requests live πŸ™ˆ
  • rate β€” the new maximum rate in Hz that's being requested by type ⚑
  • type β€” which type of request this is, iykyk 🌈

πŸ”₯ DESCRIPTION πŸ”₯

So basically it records rate as the new maximum rate request for type, then recalculates the target rate based on all the requests (not just this one, bestie, it's a whole vibe check across the board ✨) and applies that new rate through the OPP API. slay.


🧚 CONTEXT 🧚

It sleeps. 😴 And requests to the same reqs are synchronized via mutex, so no chaotic overlapping energy β€” everything stays cute and orderly 🫢


πŸ‘‘ RETURN πŸ‘‘

  • 0 β€” success, we ate πŸ’…
  • -ERANGE β€” the request would cause the minimum rate request to be higher than the maximum rate request 😭 (yes that's a problem, it's giving broken vibes)
  • other β€” setting the new rate just... failed πŸ’€

🌟 SEE ALSO 🌟


and that's the whole page, no cap πŸŽ€ this cutie lives under ./drivers/memory/tegra, dated October 2026, and it's literally tegra_emc_set_max_rate(9) β€” go forth and rate-request responsibly bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from