STRUCT PRE_DIV(9)
π struct pre_div(9) β Kernel API Manual, but make it cute
okay so bestie, welcome to struct pre_div(9) β this is the kernel API manual page for the qcom clock stuff, and honestly? she's small but she's mighty. π
β¨ NAME β¨
struct pre_div β it's a pre-divider. that's the whole vibe. short, sweet, iconic. π¦
β¨ SYNOPSIS β¨
struct pre_div {
u8 pre_div_shift;
u8 pre_div_width;
};
look at her. two fields. not one more, not one less. main character energy fr fr. π
β¨ Members β¨
pre_div_shiftβ this is the lowest bit of the pre divider field. like, the starting point. the origin story. the bit where it all begins. βpre_div_widthβ this one's the number of bits in predivider. so basically how many bits wide the whole thing is. she's got range. π
ngl bestie, that's genuinely the entire struct. no hidden lore, no secret options. just twou8s living their best lives in./drivers/clk/qcom/clk-rcg.h. π«Ά
β¨ SEE ALSO β¨
you know I'm not gonna leave you hanging β go check out the rest of the crew, they're all in the kernel file ./drivers/clk/qcom/clk-rcg.h:
struct mn(9)struct src_sel(9)struct clk_rcg(9)struct clk_dyn_rcg(9)struct clk_rcg2(9)
it's giving squad goals, honestly. π
and that's the whole page, bestie β this little love letter to the qcom clock drivers lives in ./drivers/clk/qcom, stamped October 2026, and it's struct pre_div(9) all day long. go forth and configure your pre-dividers, you absolute icon. ππ
π¦ 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