zl3073x_chan_state_fetch(9)
β¨ NAME β¨
zl3073x_chan_state_fetch β okay bestie, this one grabs the DPLL channel state straight out of the hardware π
(this is from the Kernel API Manual, iykyk)
πΈ SYNOPSIS πΈ
int zl3073x_chan_state_fetch (struct zl3073x_dev *zldev , u8 index );
π ARGUMENTS π
zldevβ a pointer to thezl3073x_devstructure, literally just the device handle π«Άindexβ the DPLL channel index you want the state for, keep it in mind bestie
π DESCRIPTION π
So here's the vibe: this function reads the mode_refsel, status and reference priority registers for the DPLL channel you passed in, then stores those values so they're ready for later use β¨. It's giving "go get the data and keep it safe" energy, fr fr.
π₯ RETURN π₯
0β success, slay π<0β error, and honestly π
π¦ SEE ALSO π¦
Kernel file ./drivers/dpll/zl3073x/chan.c plus all these iconic siblings:
zl3073x_chan_state_update(9)zl3073x_chan_nco_mode_set(9)zl3073x_chan_state_get(9)zl3073x_chan_tod_ready_wait(9)zl3073x_chan_tod_ctrl(9)zl3073x_chan_tod_read(9)zl3073x_chan_tod_write(9)zl3073x_chan_tod_adjust(9)zl3073x_chan_df_offset_set(9)zl3073x_chan_tie_write(9)zl3073x_chan_phase_step(9)zl3073x_chan_state_set(9)
That's the whole thing bestie, go fetch that state π
mwah π β sourced from ./drivers/dpll/zl3073x, dated October 2026, and that's periodt π
π¦ 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