zl3073x_read_u8(9)
π zl3073x_read_u8 β bestie we're in the Kernel API Manual and this page is zl3073x_read_u8(9) β¨
okay so picture this: it's a Friday, you're deep in the kernel tree, and you just need to peek at one tiny little byte of a register. That's this function. One job, does it slay, moving on. π
β¨ NAME β¨
zl3073x_read_u8 β read value from 8bit register
Like, that's it. That's the whole personality. A little 8-bit nibble of truth. π¦
πΈ SYNOPSIS πΈ
int zl3073x_read_u8 (struct zl3073x_dev *zldev , unsigned int reg , u8
*val );
Look at her. Three args, one return, zero drama. π
π«Ά ARGUMENTS π«Ά
zldevβ zl3073x device pointer. It's giving "your device, your bestie, your main character". πregβ register to write to. (Yes the page literally says write to on a read function. I'm not gonna editorialize, I'm just the messenger, we report what the page reports. π)valβ value to write. (Same situation. Iconic of the documentation honestly. We keep it exactly as-is. π)
π DESCRIPTION π
Reads value from given 8bit register.
That's the whole paragraph. Short king behavior. It reads, it returns, it logs off. No cap, this is one of the lowkey simplest functions in the whole zl3073x core file and I'm obsessed with her for it. β
π₯ RETURN π₯
0on success β slay, ate, no notes π<0on error β not slay, something went sideways, check that negative number π
π SEE ALSO π
Bestie the SEE ALSO list here is long β she's got a whole extended friend group. Gather round:
Kernel file ./drivers/dpll/zl3073x/core.c and her associates:
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_poll_zero_u8(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)
Literally the whole group chat. iykyk. π§
ngl if you got here looking for the write version, she's right there in the list, zl3073x_write_u8(9), go say hi π
okay that's the page!! mwah, go read your registers responsibly πΈ
β signed, sealed, delivered from ./drivers/dpll/zl3073x, October 2026, page zl3073x_read_u8(9) πβ¨π
π¦ 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