STRUCT DDIV(9)
okay bestie, this is struct ddiv(9) from the Kernel API Manual, and itβs giving βdynamic switching divider but make it a structβ β¨π
π NAME π
struct ddiv β Structure for dynamic switching divider. Thatβs the whole name, no cap. π«Ά
β¨ SYNOPSIS β¨
struct ddiv {
unsigned int offset:11;
unsigned int shift:4;
unsigned int width:4;
unsigned int monbit:5;
unsigned int no_rmw:1;
};
π¦ Members π¦
offsetβ register offset. the where, basically πshiftβ position of the divider bit. bit squad, line up β¨widthβ width of the divider. how wide the divider situation is πmonbitβ monitor bit inCPG_CLKSTATUS0register. monitor bit inCPG_CLKSTATUS0register, literally πno_rmwβ flag to indicate if the register is read-modify-write (1: no RMW,0: RMW). read the flag, respect the flag π
π SEE ALSO π
- Kernel file:
./drivers/clk/renesas/rzv2h-cpg.h struct pll(9)struct smuxed(9)struct fixed_mod_conf(9)struct rzv2h_mod_clk(9)struct rzv2h_reset(9)struct rzv2h_cpg_info(9)
go read these next, bestie ππ
and thatβs the page, bestie π«Ά β source/version ./drivers/clk/renesas, dated October 2026, all for struct ddiv(9). bye π
π¦ 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