zl3073x_poll_zero_u8(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” your zl3073x device 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 πŸ”₯

  • 0 on success πŸŽ‰
  • <0 on error 😭

πŸ’€ SEE ALSO πŸ’€

Kernel file ./drivers/dpll/zl3073x/core.c and, like, the whole friend group:


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