zynqmp_pm_debugfs_api_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

zynqmp_pm_debugfs_api_read β€” debugfs read function. This one's straight out of the Kernel API Manual, and it's lowkey iconic: tiny little debugfs read helper energy πŸ‘‘βœ¨.

✨ SYNOPSIS ✨

okay bestie, here's the exact signature β€” no edits, no cap:

ssize_t zynqmp_pm_debugfs_api_read (struct file *file , char __user *ptr
, size_t len , loff_t *off );

🌸 ARGUMENTS 🌸

  • file β€” User file πŸ—‚οΈ
  • ptr β€” Requested pm_api_version string 🌈
  • len β€” Length of the userspace buffer πŸ“
  • off β€” Offset within the file 🎯

πŸŽ€ RETURN πŸŽ€

Length of the version string on success else error code πŸ’–. That means success = the version-string length, and anything else = an error code. Periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/firmware/xilinx/zynqmp-debug.c πŸ‘€


source/version: ./drivers/firmware/xilinx β€’ date: October 2026 β€’ page: zynqmp_pm_debugfs_api_read(9) β€” bye bestie, stay debugfs-y πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from