qcom_pas_mem_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘:


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