adf_devmgr_in_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

adf_devmgr_in_reset β€” bestie, this is the vibe check for "is this device currently in reset?"

Oh and hey, welcome to the Kernel API Manual πŸ’– this is the section 9 page for it, so you know it's a kernel API situation, iykyk.


πŸ’… SYNOPSIS πŸ’…

int adf_devmgr_in_reset (struct adf_accel_dev *accel_dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • accel_dev β€” Pointer to acceleration device. That's the one, that's the whole argument 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this one is to be used by QAT device specific drivers. That's the entire brief. It's giving "internal helper, hands off unless you're a QAT driver" energy πŸ’…


πŸ”₯ RETURN πŸ”₯

It's a clean little two-outcome situation, no cap:

  • 1 when the device is being reset πŸ”„
  • 0 otherwise ⭐

🌈 SEE ALSO 🌈

The kernel file where this lives, for when you're feeling nosy 🧚:

  • ./drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c

And the whole friend group of related pages, all of them, no skipping πŸ‘‘:


πŸ’€ Reminder bestie: this page is a kernel API manpage, so the "make it do something new" urge is not it β€” just call it and read the 1 or the 0, periodt.

And that's the whole page, mwah πŸ˜­πŸ’œ shoutout to ./drivers/crypto/intel/qat/qat... for being the source/version of this lil gem, dated October 2026 β€” iconic, no notes πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from