sr_enable(9)
β¨ 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 correctNtargetvalue.
π 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 π₯
- Kernel file
./drivers/soc/ti/smartreflex.c sr_configure_errgen(9)sr_disable_errgen(9)sr_configure_minmax(9)sr_disable(9)sr_register_class(9)omap_sr_enable(9)omap_sr_disable(9)omap_sr_disable_reset_volt(9)
mwah π thatβs the page, bestie β source/version: ./drivers/soc/ti, date: October 2026 β¨π«Ά
π¦ 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