qcom_pas_mem_setup(9)
π qcom_pas_mem_setup β Kernel API Manual, section 9 π
okay so bestie, welcome to qcom_pas_mem_setup(9), the function that gets a peripheral's memory all cute and ready so the firmware can slide in and do its thing β¨
πΈ NAME πΈ
qcom_pas_mem_setup β prepares the memory that belongs to a given peripheral so the firmware can be loaded into it π«Ά
β SYNOPSIS β
int qcom_pas_mem_setup (u32 pas_id , phys_addr_t addr , phys_addr_t size );
like, that's the whole signature, no cap. three args, one int coming back at you π
π¦ ARGUMENTS π¦
pas_idβ the peripheral authentication service id π it's literally the name tag for which peripheral we're talking about.addrβ the start address of the memory area we're getting ready πsizeβ how big that memory area is, i.e. how much we're preparing πΈ
β¨ RETURN β¨
returns 0 on success π that's it, that's the whole return story, and honestly? iconic.
π SEE ALSO π
the kernel file lives right here, go look at it, iykyk:
./drivers/firmware/qcom/qcom_pas.c
and these are the besties it runs with π:
devm_qcom_pas_context_alloc(9)qcom_pas_init_image(9)qcom_pas_metadata_release(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)qcom_pas_is_available(9)
and that's the page, bestie!! ππ«Ά it came from ./drivers/firmware/qcom, it's dated October 2026, and it goes by qcom_pas_mem_setup(9) β periodt, 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