omap4_usec_to_val_scrm(9)
π omap4_usec_to_val_scrm(9)
okay so bestie, welcome to the Kernel API Manual entry for omap4_usec_to_val_scrm(9) β this one is giving βtiny conversion function with main character energyβ and honestly? iconic. no cap, letβs get into it. π«Ά
β¨ NAME β¨
omap4_usec_to_val_scrm β convert microsecond value to SCRM module bitfield
πΈ SYNOPSIS πΈ
u32 omap4_usec_to_val_scrm (u32 usec , int shift , u32 mask );
π ARGUMENTS π
usecβ microsecondsshiftβ number of bits to shift leftmaskβ bitfield mask
π¦ DESCRIPTION π¦
okay so picture this: you roll up with a microsecond value, and this function converts it into an OMAP4 SCRM bitfield. The bitfield gets shifted to the requested position, and then itβs checked against the mask value. If itβs larger, bestie, it gets forced to the max value of the field β i.e. the mask itself. Then it returns the SCRM bitfield value. slay. π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/vc.c struct omap_vc_channel_cfg(9)omap_vc_config_channel(9)omap3_set_i2c_timings(9)omap3_set_off_timings(9)omap4_calc_volt_ramp(9)omap4_set_timings(9)omap4_vc_i2c_timing_init(9)omap_vc_i2c_init(9)omap_vc_calc_vsel(9)
mwah π β signing off from ./arch/arm/mach-omap2, October 2026, for omap4_usec_to_val_scrm(9). bestie youβre welcome π«Άβ¨
π¦ 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