omap_sr_disable(9)
π omap_sr_disable(9) β the kernel API manual, bestie edition
okay so real talk, this page lives in the Kernel API Manual and it's about omap_sr_disable, and it is literally the "turn SR off but don't touch the voltage" girlie. she's niche, she's specific, she's iconic. let's go π
β¨ NAME β¨
omap_sr_disable β the API to disable SR without resetting the voltage processor voltage π
like yes she disables the thing, no she does not reset the VP voltage. that's the whole personality. no cap.
πΈ SYNOPSIS πΈ
void omap_sr_disable (struct voltagedomain *voltdm );
that's it. one function, one argument, void return because she gives nothing back and that's on periodt π
π¦ ARGUMENTS π¦
voltdmβ a VDD pointer to which the SR module to be configured belongs to. yes, "to whichβ¦ belongs to," the kernel said what it said and we're keeping it fr fr π«Ά
so basically you hand her the VDD pointer for the SR module you're configuring, and she knows what to do with it.
π DESCRIPTION π
okay so the tea β β this API is meant to be called from the kernel when you wanna disable a particular smartreflex module. that's her job. that's her main character energy π
the way it works: this API will in turn call into the registered smartreflex class disable API. so she's like, the middleman, the group chat admin who relays the message to the actual class π
and here's the key detail, the one you cannot miss, the moment of the whole page π₯ β this API will tell the smartreflex class disable not to reset the VP voltage after disabling smartreflex. that's the difference between her and her sibling. she's the "leave the voltage alone" one. remember that. iykyk β¨
lowkey important: no resetting of VP voltage here. if you wanted the reset, you're on the wrong page bestie, go find omap_sr_disable_reset_volt(9) πΈ
β SEE ALSO β
the whole friend group, all linked, all iconic, all in the kernel file ./drivers/soc/ti/smartreflex.c:
sr_configure_errgen(9)sr_disable_errgen(9)sr_configure_minmax(9)sr_enable(9)sr_disable(9)sr_register_class(9)omap_sr_enable(9)omap_sr_disable_reset_volt(9)
go read them, they all ate π π
mwah π that's the page β brought to you from ./drivers/soc/ti, dated October 2026, and yes she's in the Kernel API Manual, section 9, exactly where you left her. go disable something 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