STRUCT CLK_REGMAP_MUX_DATA(9)
β¨ struct clk_regmap_mux_data(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a little struct from the clock corner of the kernel, and honestly? it's giving "small but crucial." let's get into it π
πΈ NAME πΈ
struct clk_regmap_mux_data β the regmap backed multiplexer clock specific data π¦
like, it's the little bundle of info that tells a regmap-backed mux clock how to do its thing. no cap.
β¨ SYNOPSIS β¨
struct clk_regmap_mux_data {
unsigned int offset;
u32 *table;
u32 mask;
u8 shift;
u8 flags;
};
look at her. five fields. iconic. π
π«Ά Members π«Ά
offsetβ offset of the register controlling the multiplexer π (yes, the original says "theregister" β we're keeping that energy, it's a typo, we love her anyway π)tableβ array of parent indexed register values ποΈ like a little lookup table of values, indexed by parentmaskβ mask of the mutliplexer bit field π (another original typo, "mutliplexer", and honestly? slay)shiftβ shift to multiplexer bit field β‘οΈ how far you gotta slide over to reach the fieldflagsβ hardware-specific flags π© every piece of hardware has opinions
π Description π
Flags: Same as clk_divider except CLK_MUX_HIWORD_MASK, which is ignored π
literally that's the whole vibe check: the flags behave like the divider clock's flags, but CLK_MUX_HIWORD_MASK does not apply here. periodt. π₯
π SEE ALSO π
- Kernel file
./drivers/clk/meson/clk-regmap.hstruct clk_regmap(9) struct clk_regmap_gate_data(9)struct clk_regmap_div_data(9)
go read the whole family, fr fr π
π§ little reminder bestie: the CLK_MUX_HIWORD_MASK thing being ignored is not a drill, it's literally in the docs π
and that's the page!! π this one came from the ./drivers/clk/meson corner of the kernel, dated October 2026, and it's filed under struct clk_regmap_mux_data(9) in the Kernel API Manual β mwah, love that for us ππ
π¦ 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