sr_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sr_enable(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– β€” this is the sr_enable(9) page and we’re gonna make it make sense, no cap.


🌸 NAME 🌸

sr_enable β€” Enables the smartreflex module. periodt.

✨ SYNOPSIS ✨

int sr_enable (struct omap_sr *sr , unsigned long volt );

πŸŽ€ ARGUMENTS πŸŽ€

  • sr β€” pointer to which the SR module to be configured belongs to. like, it’s the pointer that tells you which SR module is getting configured, iykyk.
  • volt β€” the voltage at which the Voltage domain associated with the smartreflex module is operating at. this is required only to program the correct Ntarget value.

πŸ’… DESCRIPTION πŸ’…

This API is to be called from the smartreflex class driver to enable a smartreflex module. Returns 0 on success. Returns error value if the voltage passed is wrong or if the ntarget value is wrong. that’s the whole vibe check, bestie β€” lowkey important, fr fr.

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ that’s the page, bestie β€” source/version: ./drivers/soc/ti, date: October 2026 ✨🫢

πŸ“¦ where this page comes from