cm_split_idlest_reg(9)
π cm_split_idlest_reg(9) β like, the Kernel API Manual era π
okay bestie, so this is a page from the Kernel API Manual for cm_split_idlest_reg(9), and I promise it's less scary than it sounds β¨
πΈ NAME πΈ
cm_split_idlest_reg β split that CM_IDLEST reg addr into its components, slay π
β¨ SYNOPSIS β¨
int cm_split_idlest_reg (struct clk_omap_reg *idlest_reg , s16
*prcm_inst , u8 *idlest_reg_id );
π¦ ARGUMENTS π¦
idlest_regβ the CM_IDLEST* virtual address, literally. that's the one we're splitting π«Άprcm_instβ a pointer to ans16where we hand back the PRCM instance offset πidlest_reg_idβ a pointer to au8where the CM_IDLESTx register ID goes back to you π
π DESCRIPTION π
so you give it an absolute CM_IDLEST register address as idlest_reg, right? and it passes the PRCM instance offset back to the caller through prcm_inst, and the IDLEST register ID back through idlest_reg_id π
Returns -EINVAL upon error, or 0 upon success. simple as that, no cap β¨
π XXX note, and this one's important: this function is only needed until absolute register addresses are removed from the OMAP struct clk records. it's giving temporary-icon energy, iykyk π
π₯ SEE ALSO π₯
Kernel file ./arch/arm/mach-omap2/cm_common.c β go read it, bestie π
omap_cm_wait_module_ready(9)omap_cm_wait_module_idle(9)omap_cm_module_enable(9)omap_cm_module_disable(9)cm_register(9)cm_unregister(9)omap2_cm_base_init(9)omap_cm_init(9)
and that's the whole page, periodt π
π cute lil sign-off: this one lives at ./arch/arm/mach-omap2 and the date on it is October 2026 β iconic, no notes ππ«Ά
π¦ 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