hisi_qm_get_dfx_access(9)
π hisi_qm_get_dfx_access β a kernel API manual moment
okay so bestie, you're looking at the hisi_qm_get_dfx_access(9) page, and yes it's from the Kernel API Manual β v fancy, v kernel, we love that for us π
β¨ NAME β¨
hisi_qm_get_dfx_access β the "lemme try to get dfx access" girlie π
literally what it says on the tin.
πΈ SYNOPSIS πΈ
int hisi_qm_get_dfx_access (struct hisi_qm *qm );
that's it. that's the whole signature. she's short, she's sweet, she takes one (1) argument π¦
π«Ά ARGUMENTS π«Ά
qmβ pointer to the accelerator device. like, the actual device object. no cap, that's your whole input β¨
π₯ DESCRIPTION π₯
so here's the vibe: you call this to try to get dfx access, and then the user can get message. that's the whole point of her existence, periodt π
and there's a little conditional situation going on β read carefully bestie:
- if the device is in suspended, it returns failure. no access for you, sorry babe π
- otherwise, it bumps up the runtime PM usage counter β like a little "hey, I'm using this rn" tap on the shoulder π
lowkey important: the suspend check is the vibe check here. suspended device = failure, full stop. don't come for her, she told you π
π SEE ALSO π
okay this list is long and honestly iconic β like she knows everybody in the building. all of these live in the kernel file ./drivers/crypto/hisilicon/qm.c:
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_put_dfx_access(9)hisi_qm_pm_init(9)hisi_qm_pm_uninit(9)hisi_qm_suspend(9)hisi_qm_resume(9)
like??? she's connected. iykyk π§
aaaand that's the page!! short, sweet, extremely specific, we stan π this little beauty comes to you from ./drivers/crypto/hisilicon, dated October 2026 β go off, kernel docs, you ate π₯π
π¦ 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