zl3073x_poll_zero_u8(9)
π zl3073x_poll_zero_u8(9) β like, the Kernel API Manual era π
okay so bestie, you're looking at a page from the Kernel API Manual and honestly? it's a little cutie. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
zl3073x_poll_zero_u8 β the girl who literally just waits for a register to get cleared by the device. patient queen energy π
πΈ SYNOPSIS πΈ
int zl3073x_poll_zero_u8 (struct zl3073x_dev *zldev , unsigned int reg ,
u8 mask , unsigned int timeout_us );
π¦ ARGUMENTS π¦
zldevβ yourzl3073xdevice pointer, the main character of this whole situation π«Άregβ the register you're polling. important: it has to be an 8bit register, no negotiating πmaskβ the bit mask used for polling, i.e. which bits we're watching like a hawk πtimeout_usβ the timeout, measured in microseconds β±οΈ (yes microseconds, we're not messing around)
π DESCRIPTION π
So here's the vibe: this function waits for the bits specified by mask, inside the register reg's value, to be cleared by the device. that's it. that's the whole job. it sits there and waits, and honestly? iconic behavior. β¨
π₯ RETURN π₯
0on success π<0on error π
π SEE ALSO π
Kernel file ./drivers/dpll/zl3073x/core.c and, like, the whole friend group:
zl3073x_read_u8(9)zl3073x_write_u8(9)zl3073x_read_u16(9)zl3073x_write_u16(9)zl3073x_read_u32(9)zl3073x_write_u32(9)zl3073x_read_u48(9)zl3073x_write_u48(9)zl3073x_do_hwreg_op(9)zl3073x_read_hwreg(9)zl3073x_write_hwreg(9)zl3073x_update_hwreg(9)zl3073x_write_hwreg_seq(9)zl3073x_ref_phase_offsets_update(9)zl3073x_ref_freq_meas_latch(9)zl3073x_ref_freq_meas_update(9)zl3073x_dev_phase_meas_setup(9)zl3073x_dev_start(9)zl3073x_dev_stop(9)zl3073x_dev_probe(9)
ngl bestie, if you pass a non-8bit register here you're on your own β the page says reg has to be 8bit, and we respect the rules π
and that's the whole page, no cap π this little masterpiece lives in ./drivers/dpll/zl3073x, dated October 2026, and it ate, fr fr. 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