qcom_pas_is_available(9)
β¨ qcom_pas_is_available(9) β¨
okay so bestie, welcome to the qcom_pas_is_available page of the Kernel API Manual β and ngl this one is short but it is SO important, like the bouncer at the club checking your ID before you get in π
πΈ NAME πΈ
qcom_pas_is_available β check if the peripheral authentication service is available.
ok so real talk: it is mandatory for any PAS client to invoke this API. Like, not optional, not "if you feel like it", not "later". You call this first. And if it returns true, then β and only then β can any other PAS API be invoked. That's the rule, periodt π«Ά
π SYNOPSIS π
bool qcom_pas_is_available (void );
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. the void is giving minimalism and honestly? iconic π
β RETURN β
trueif PAS is available- otherwise
false
that's it, that's the whole vibe check π
π₯ SEE ALSO π₯
the kernel file lives right here, go look at it:
./drivers/firmware/qcom/qcom_pas.c
and here's the whole friend group, all the related pages:
devm_qcom_pas_context_alloc(9)qcom_pas_init_image(9)qcom_pas_metadata_release(9)qcom_pas_mem_setup(9)qcom_pas_get_rsc_table(9)qcom_pas_auth_and_reset(9)qcom_pas_prepare_and_auth_reset(9)qcom_pas_set_remote_state(9)qcom_pas_shutdown(9)qcom_pas_supported(9)
π reminder bestie: checkqcom_pas_is_availableFIRST. every other PAS API is waiting behind thattrue. no skipping, no cap.
okay that's the whole page, love u, go read the source π§ββοΈ
this lil cutie lives in ./drivers/firmware/qcom and was dated October 2026 β mwah, bye bestie! ππ
π¦ 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