zl3073x_write_u16(9)
π zl3073x_write_u16 β like, the 16-bit register writer bestie π
okay so this is a Kernel API Manual page for zl3073x_write_u16(9) β yes that's a function, yes it's in the kernel, yes you're gonna understand it, periodt. π
β¨ SYNOPSIS β¨
int zl3073x_write_u16 (struct zl3073x_dev *zldev , unsigned int reg ,
u16 val );
that's the whole signature, no cap. three args, one int back. π
πΈ ARGUMENTS πΈ
zldevβ your zl3073x device pointer, like the little handle to the actual chip bestie π«Άregβ the register you're writing to, anunsigned int, iykykvalβ the value you're writing in there, au16, so a 16-bit baby π
π¦ DESCRIPTION π¦
so the whole vibe is: it writes your value into the given 16bit register. that's it. that's the function. it takes val and it puts it into reg on zldev. iconic, minimal, main character energy honestly β¨
β RETURN β
0β slay, it worked, success π<0β nope, error, something went wrong, not the vibe π
π₯ SEE ALSO π₯
kernel file ./drivers/dpll/zl3073x/core.c β go look, it's all in there π
and the whole friend group of sibling functions, fr fr:
zl3073x_read_u8(9)zl3073x_write_u8(9)zl3073x_read_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)
ok that's genuinely everyone, don't come for me, I listed all of them π
later bestie!! this one's from the ./drivers/dpll/zl3073x source, dated October 2026 β mwah ππ§
π¦ 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