zl3073x_write_hwreg_seq(9)
π zl3073x_write_hwreg_seq(9)
okay so this is a page straight out of the Kernel API Manual, and bestie, it's a short one but it slaps. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
zl3073x_write_hwreg_seq β write a whole HW registers sequence, like a little relay race of register writes πββοΈπ¨
π¦ SYNOPSIS π¦
int zl3073x_write_hwreg_seq (struct zl3073x_dev *zldev , const struct
zl3073x_hwreg_seq_item *seq , size_t num_items );
literally the whole vibe right there. three args, one int back. no cap. β¨
πΈ ARGUMENTS πΈ
zldevβ pointer to the device structure. this is your main character device, the one doing the writing πseqβ pointer to the first sequence item. it's giving "start of the list" energy β you point at the beginning and the function takes it from there πnum_itemsβ how many items are in the sequence, as asize_t. yes you have to tell it. it's not a mind reader, bestie π
π DESCRIPTION π
Writes the given HW registers sequence. that's it, that's the whole description β short and iconic, honestly. it takes your seq and your num_items and justβ¦ writes them. periodt. π₯
β RETURN β
0on success β slay, we ate π<0on error β not slay, something went wrong, check that negative value π
π§ SEE ALSO π§
the kernel file lives at ./drivers/dpll/zl3073x/core.c β that's home base π
and here's the whole friend group, all the related zl3073x functions, iykyk:
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_poll_zero_u8(9)zl3073x_do_hwreg_op(9)zl3073x_read_hwreg(9)zl3073x_write_hwreg(9)zl3073x_update_hwreg(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, that's the whole page. tiny but mighty π«Ά
and that's a wrap, bestie! this cutie lives in ./drivers/dpll/zl3073x, dated October 2026 β go read the whole kernel API manual, it's lowkey a whole vibe ππ
π¦ 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