zynq_slcr_write(9)
π zynq_slcr_write(9) β from the Kernel API Manual, bestie π
okay so real talk, this is a page straight out of the Kernel API Manual, and it's about one tiny function that does one big job: writing to a register in the SLCR block. yes THAT SLCR block. we ride at dawn β¨
πΈ NAME πΈ
zynq_slcr_write β literally just write to a register in the SLCR block. that's it. that's the whole vibe. no cap π
π¦ SYNOPSIS π¦
int zynq_slcr_write (u32 val , u32 offset );
look at her. two arguments, returns an int. iconic behavior honestly π«Ά
π ARGUMENTS π
valβ the value you're writing to the register. the payload. the main character of this operation πoffsetβ the register offset in the SLCR block, i.e. where in the block you're dropping that value π
β RETURN β
so what does she give back?
- a negative value on error π
0on success β¨ slay
fr fr, check the return value. negative means something went sideways and you should absolutely not ignore it π
π SEE ALSO π
bestie the whole friend group is here, they all live in the kernel file ./arch/arm/mach-zynq/slcr.c π§:
zynq_slcr_read(9)zynq_slcr_unlock(9)zynq_slcr_get_device_id(9)zynq_slcr_system_restart(9)zynq_slcr_cpu_start(9)zynq_slcr_cpu_stop(9)zynq_slcr_cpu_state_read(9)zynq_slcr_cpu_state_write(9)zynq_early_slcr_init(9)
like, go read them. iykyk π₯
and that's the whole page, no crumbs left π this one's brought to you by ./arch/arm/mach-zynq, dated October 2026 β mwah, 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