STRUCT ZL3073X_CHAN(9)
β¨ 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's4bits 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 in2^-48steps π₯ (tiny steps, big vibes)
π SEE ALSO π
Kernel file ./drivers/dpll/zl3073x/chan.h plus the whole friend group π§:
zl3073x_chan_df_offset_get(9)zl3073x_chan_mode_get(9)zl3073x_chan_ref_get(9)zl3073x_chan_mode_set(9)zl3073x_chan_ref_set(9)zl3073x_chan_ref_prio_get(9)zl3073x_chan_ref_prio_set(9)zl3073x_chan_ref_is_selectable(9)zl3073x_chan_lock_state_get(9)zl3073x_chan_is_locked(9)zl3073x_chan_mode_is_auto(9)zl3073x_chan_mode_is_nco(9)zl3073x_chan_mode_is_reflock(9)zl3073x_chan_mode_supports_tie(9)zl3073x_chan_is_ho_ready(9)zl3073x_chan_refsel_state_get(9)zl3073x_chan_refsel_ref_get(9)
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
- 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