sr_configure_minmax(9)
hey bestie π welcome to sr_configure_minmax(9) from the Kernel API Manual β this one is literally about getting SmartReflex to do AVS with the minmaxavg module, and itβs giving kernel-core β¨
πΈ NAME πΈ
sr_configure_minmax β sets up SmartReflex so it can perform AVS using the minmaxavg module. π«Ά
β¨ SYNOPSIS β¨
int sr_configure_minmax (struct omap_sr *sr );
π ARGUMENTS π
srβ the SR module that needs to be configured. thatβs the one youβre handing over, bestie π
π¦ DESCRIPTION π¦
okay so this API is meant to be called from the smartreflex class driver, and its whole job is to configure the minmaxavg module inside the smartreflex module. literally thatβs the moment. β¨
There are SR settings if youβre using the ERROR module inside Smartreflex β yes, thatβs a whole thing, keep it in mind π
about the classes: SR CLASS 3 by default uses only the ERROR module, whereas SR CLASS 2 can choose between the ERROR module and the MINMAXAVG module. so class 2 is the flexible one, iykyk π
return value check: it returns 0 on success, and an error value if something goes wrong. no cap, thatβs the whole return situation π
π SEE ALSO π
- Kernel file
./drivers/soc/ti/smartreflex.c sr_configure_errgen(9)sr_disable_errgen(9)sr_enable(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 whole page, bestie β source/version ./drivers/soc/ti, dated October 2026, and itβs sr_configure_minmax(9) from the Kernel API Manual signing off πβ¨
π¦ 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