STRUCT SRC_SEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the Kernel API Manual β€” this is struct src_sel(9), and it is literally the source selector πŸŽ€.

struct src_sel β€” source selector. That's the whole name section, short and iconic.


🌸 SYNOPSIS 🌸

Peep the struct, no cap:

struct src_sel {
    u8 src_sel_shift;
  #define SRC_SEL_MASK    0x7;
    const struct parent_map *parent_map;
 };

and yes, SRC_SEL_MASK is 0x7 β€” it's right there in the struct, bestie ✨.


πŸŽ€ Members πŸŽ€

  • src_sel_shift β€” the lowest bit of source selection field. it's giving "where the field starts" energy πŸ’….
  • parent_map β€” map from software's parent index to hardware's src_sel field. fr fr, that's the whole vibe πŸ¦‹.

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file: ./drivers/clk/qcom/clk-rcg.h
  • struct mn(9)
  • struct pre_div(9)
  • struct clk_rcg(9)
  • struct clk_dyn_rcg(9)
  • struct clk_rcg2(9)

like, go read those too if you're obsessed with clock stuff πŸ‘‘.


xoxo, your kernel-obsessed bestie πŸ’– β€” this page lives under ./drivers/clk/qcom, dated October 2026, and the manual tag is struct src_sel(9). slay 🫢

πŸ“¦ where this page comes from