adf_devmgr_in_reset(9)
β¨ 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:
1when the device is being reset π0otherwise β
π 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 π:
adf_clean_vf_map(9)adf_devmgr_update_class_index(9)adf_devmgr_add_dev(9)adf_devmgr_rm_dev(9)adf_devmgr_pci_to_accel_dev(9)adf_dev_in_use(9)adf_dev_get(9)adf_dev_put(9)adf_dev_started(9)
π 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 the1or the0, 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
- 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