sr_register_class(9)
π sr_register_class(9) π
Okay bestie, welcome to the Kernel API Manual β¨ β this page is all about sr_register_class, and itβs giving βtiny init-time registration momentβ energy. No cap, the smartreflex class driver uses this API to register itself with the smartreflex driver during init. π«Ά
πΈ NAME πΈ
sr_register_class β the API to register a smartreflex class parameters. Literally thatβs the name-vibe. π
β¨ SYNOPSIS β¨
int sr_register_class (struct omap_sr_class_data *class_data );
π ARGUMENTS π
class_dataβ the structure containing various sr class specific data. Thatβs the lil package of class-specific info. Periodt. π
π¦ DESCRIPTION π¦
This API is to be called by the smartreflex class driver so it can register itself with the smartreflex driver during init. Thatβs the moment. π
It returns 0 on success; otherwise it returns the error value. So: 0 is the slay, anything else is the error value. Simple. π
π SEE ALSO π
Kernel file: ./drivers/soc/ti/smartreflex.c β and the whole crew to peek at:
sr_configure_errgen(9)sr_disable_errgen(9)sr_configure_minmax(9)sr_enable(9)sr_disable(9)omap_sr_enable(9)omap_sr_disable(9)omap_sr_disable_reset_volt(9)
π Cute sign-off time: this one comes from ./drivers/soc/ti, dated October 2026, and itβs the sr_register_class(9) page β bye bestie, go register that class! π«Άβ¨
π¦ 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