get_dim2_clk_speed(9)
π get_dim2_clk_speed(9) π
okay bestie, welcome to the Kernel API Manual glow-up β¨ this one is a tiny little helper and it is lowkey iconic. Weβre talking about get_dim2_clk_speed(9) β yes, the whole thing is about converting a string into a DIM2 clock speed value, and we are gonna get into it π
.
β¨ NAME β¨
get_dim2_clk_speed β converts string to DIM2 clock speed value π
π¦ SYNOPSIS π¦
int get_dim2_clk_speed (const char *clock_speed , u8 *val );
π ARGUMENTS π
clock_speedβ the string, and itβs in the format"{NUMBER}fs"fr fr.valβ pointer to get one of theCLK_{NUMBER}FSvalues π«Ά.
π DESCRIPTION π
On success, this stores one of the CLK_{NUMBER}FS values in *val and returns 0 β slay β¨. Otherwise? It returns -EINVAL π. Thatβs the whole vibe: success gives you 0, bad news gives you -EINVAL.
bestie this is a yes/no situation:0= it worked,-EINVAL= it did not.
π SEE ALSO π
okay so these are the friends in the group chat, all listed exactly:
- Kernel file
./drivers/staging/most/dim2/dim2.cstruct hdm_channel(9) dimcb_on_error(9)try_start_dim_transfer(9)deliver_netinfo_thread(9)retrieve_netinfo(9)service_done_flag(9)dim2_ahb_isr(9)complete_all_mbos(9)configure_channel(9)enqueue(9)request_netinfo(9)poison_channel(9)dim2_remove(9)
mwah π this little page lives under ./drivers/staging/most/dim2, dated October 2026, and it is literally all about get_dim2_clk_speed(9) β periodt π«Άβ¨
π¦ 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