sr_disable(9)
π sr_disable(9) β the Kernel API Manual, bestie edition π
okay so picture this: it's a (9) man page, it's living in the Kernel API Manual, and its whole personality is turning the smartreflex module off. iconic, honestly. let's get into it β¨
πΈ NAME πΈ
sr_disable β Disables the smartreflex module.
like... that's it. that's the whole job. she disables. she's a disabler. periodt π
β¨ SYNOPSIS β¨
void sr_disable (struct omap_sr *sr );
no return value, no drama, just vibes and a pointer. π«Ά
π¦ ARGUMENTS π¦
srβ pointer to which the SR module to be configured belongs to. yes bestie, that's the actual wording, and yes it's a little bit of a garden-path sentence β just know that this pointer is your hookup to the SR module you're about to configure. that's the whole tea. π΅
π DESCRIPTION π
So here's the situation: this API is to be called from the smartreflex class driver to disable a smartreflex module. that's the assignment. that's who's allowed at this party. main character energy only, no random callers showing up uninvited. π
basically: smartreflex class driver β sr_disable() β module goes night-night. π΄ the way that this function exists purely so the class driver has a clean little door to shut things off... lowkey obsessed.
π SEE ALSO π
Kernel file ./drivers/soc/ti/smartreflex.c, plus the whole friend group:
sr_configure_errgen(9)sr_disable_errgen(9)sr_configure_minmax(9)sr_enable(9)sr_register_class(9)omap_sr_enable(9)omap_sr_disable(9)omap_sr_disable_reset_volt(9)
go read them fr fr, they're all in the same file and they all ate π₯
ngl there is a whole enable function in that list and a whole disable function, and you're holding the disable one. no cap, read the enable one too before you start flipping switches β iykyk π
and that's the page!! π§ this little gem lives under ./drivers/soc/ti, and it's dated October 2026 β so mark your calendars and stan responsibly, bestie ππΈπ
π¦ 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