adf_send_admin_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« adf_send_admin_init(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual β€” this one's a little kernel function called adf_send_admin_init and honestly it's giving "tiny but crucial" energy ✨


🌸 NAME 🌸

adf_send_admin_init β€” the function that sends an init message to the FW 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int adf_send_admin_init (struct adf_accel_dev *accel_dev );

πŸ’… ARGUMENTS πŸ’…

  • accel_dev β€” a pointer to the acceleration device. yes, that acceleration device. it's a pointer, she's pointing at something, we love a pointer with purpose πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she sends the admin init message to the FW. that's it, that's the whole vibe β€” no cap, that's literally the job πŸ™ˆ

lowkey iconic that a whole function is just "hey FW, we're initialising, pay attention" but honestly that's how things get done in the kernel πŸ’€


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • an error code otherwise 😭

like any good group chat, you get either a clean 0 (all good, slay) or something else telling you it went sideways. always check your return values, bestie, fr fr πŸ”₯


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/crypto/intel/qat/qat_common/adf_admin.c β€” go read the source, it's right there πŸ‘€
  • adf_init_admin_pm(9) β€” her sibling, also worth a look πŸ‘‘

ngl this page is short but every single detail counts β€” pointer, message, FW, 0 vs error. periodt. πŸ’…

and that's the whole page, bestie πŸ’œ this cutie comes from ./drivers/crypto/intel/qat/qat... and it's dated October 2026 β€” see you in the next man page, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from