hisi_qm_suspend(9)
π€ hisi_qm_suspend(9) β like, the Kernel API Manual one π€
okay bestie, so this page lives in the Kernel API Manual section under the name hisi_qm_suspend(9), and it's honestly serving "small but mighty" energy. Short page, big job. Let's get into it β¨
πΈ NAME πΈ
hisi_qm_suspend β Runtime suspend of given device. that's it, that's the whole vibe. she puts your device to sleep at runtime π«Ά
π SYNOPSIS π
int hisi_qm_suspend (struct device *dev );
the way this signature is so clean π returns an int, takes one pointer, no drama.
β¨ ARGUMENTS β¨
devβ device to suspend. that's the one. the device. the one being suspended. literally the whole point of the function, queen π
π DESCRIPTION π
so hisi_qm_suspend is a function that suspends the device. yes, that's genuinely what the page says, and honestly? iconic for being that direct. no lore, no side quests β she suspends the device and she does it at runtime. no cap π
π¦ SEE ALSO π¦
bestie there is a whole friend group here, we are not doing this alone. first the kernel file where all this lives:
./drivers/crypto/hisilicon/qm.c
and then the entire extended squad, in the order the page lists them, because i would never do the homies dirty:
struct qm_hw_err(9)hisi_qm_get_hw_info(9)hisi_qm_create_qp(9)hisi_qm_release_qp(9)hisi_qm_start_qp(9)qp_stop_fail_cb(9)qm_drain_qp(9)hisi_qm_stop_qp(9)hisi_qp_send(9)qm_hw_err_isolate(9)qm_frozen(9)hisi_qm_wait_task_finish(9)hisi_qm_uninit(9)hisi_qm_get_vft(9)hisi_qm_set_vft(9)hisi_qm_start(9)qm_invalid_queues(9)hisi_qm_stop(9)hisi_qm_dev_err_init(9)hisi_qm_dev_err_uninit(9)hisi_qm_free_qps(9)hisi_qm_alloc_qps_node(9)hisi_qm_set_algqos_init(9)hisi_qm_sriov_enable(9)hisi_qm_sriov_disable(9)hisi_qm_sriov_configure(9)hisi_qm_dev_err_detected(9)hisi_qm_dev_slot_reset(9)hisi_qm_dev_shutdown(9)hisi_qm_alg_register(9)hisi_qm_alg_unregister(9)hisi_qm_init(9)hisi_qm_get_dfx_access(9)hisi_qm_put_dfx_access(9)hisi_qm_pm_init(9)hisi_qm_pm_uninit(9)hisi_qm_resume(9)
and yeah, hisi_qm_resume(9) is right there at the end β hisi_qm_suspend's other half, the wake-up-to-your-phone-at-3am of the pair ππ
lowkey the whole family is filed under ./drivers/crypto/hisilicon, dated October 2026, and honestly that's a whole era. go read the friends, they ate π
k bye, go suspend something responsibly πβ¨π
π¦ 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