STRUCT ZL3073X_CHAN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct zl3073x_chan β€” the DPLL channel state, bestie πŸ’…

So this is the little struct that holds everything about one DPLL channel. It's giving "main character energy" for the zl3073x driver, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the actual shape of it, literally verbatim:

struct zl3073x_chan {
    struct {
      u8 ctrl;
      u8 mode_refsel;
      u8 ref_prio[ZL3073X_NUM_REFS / 2];
    };
    struct {
      u8 mon_status;
      u8 refsel_status;
      s64 df_offset;
    };
 };

Like β€” two anonymous structs inside one struct. She's layered. She's complex. She ate πŸ’…βœ¨


🌸 MEMBERS 🌸

  • {unnamed_struct} β€” anonymous πŸ™ˆ (yep, the first one has no name, she's mysterious like that)
  • ctrl β€” the DPLL control register value πŸ”₯
  • mode_refsel β€” the mode and reference selection register value ⭐
  • ref_prio β€” the reference priority registers, and here's the cute detail: it's 4 bits per ref, P/N packed πŸŽ€
  • {unnamed_struct} β€” anonymous 🫢 (second anonymous struct, equally nameless, equally iconic)
  • mon_status β€” the monitor status register value πŸ‘‘
  • refsel_status β€” the reference selection status register value 🌈
  • df_offset β€” frequency offset vs the tracked reference, measured in 2^-48 steps πŸ”₯ (tiny steps, big vibes)

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/dpll/zl3073x/chan.h plus the whole friend group 🧚:


aaaand that's the page, bestie πŸ’– this one lives in ./drivers/dpll/zl3073x, dated October 2026 β€” go read the header file, it's lowkey obsessed with you πŸ“πŸ’œ

πŸ“¦ where this page comes from