adf_init_admin_pm(9)
π adf_init_admin_pm π
okay so bestie, this one's from the Kernel API Manual and honestly? it's a little cutie. it's the function that sends the PM init message to FW β that's literally the NAME, no notes. π
β¨ SYNOPSIS β¨
int adf_init_admin_pm (struct adf_accel_dev *accel_dev , u32 idle_delay
);
like, she takes two things and gives you back an int. that's the whole vibe check. π
πΈ ARGUMENTS πΈ
accel_devβ pointer to the acceleration device. your main character. the device in question. π«Άidle_delayβ QAT HW idle time before power gating is initiated, and yes it's a whole little menu of bit patterns, so let's read the menu together, no cap:000β 64us001β 128us010β 256us011β 512us100β 1ms101β 2ms110β 4ms111β 8ms
it's giving "three bits, eight moods" β¨ pick your fave wisely.
π¦ DESCRIPTION π¦
so what she does: the function sends to the FW the admin init message for the PM state configuration.
that's it. that's the whole job. she's the messenger, the FW is the recipient, and the message is the PM state config. iconic behaviour, honestly. π
π RETURN π
0on success π- error code otherwise π (if you got a nonzero back, something did not slay)
β SEE ALSO β
- Kernel file
./drivers/crypto/intel/qat/qat_common/adf_admin.c adf_send_admin_init(9)
π§ little reminder bestie: the idle_delay values above are the actual literal bit patterns from the page β don't go improvising your own, iykyk π
okay that's the whole page, mwah π β this was adf_init_admin_pm(9) from the Kernel API Manual, source ./drivers/crypto/intel/qat/qat_common/adf_admin.c (the footer shows ./drivers/crypto/intel/qat/qat...), dated October 2026. go forth and configure your PM state, you gorgeous nerd πΈπ
π¦ 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