cmdq_pkt_write_mask_pa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the cmdq_pkt_write_mask_pa(9) page β€” yes, that’s the manual name, and it’s lowkey iconic. This one is all about cmdq_pkt_write_mask_pa β€” append a write command with a mask to the CMDQ packet with pa. Main character energy for CMDQ packet writes, no cap. ✨


✨ SYNOPSIS ✨

Here’s the exact signature, copied with love:

int cmdq_pkt_write_mask_pa (struct cmdq_pkt *pkt , u8 subsys , u32
       pa_base , u16 offset , u32 value , u32 mask );

πŸ’– ARGUMENTS πŸ’–

  • pkt β€” the CMDQ packet. That’s the thing you’re appending to, bestie.
  • subsys β€” unused parameter. Not me pointing out that it’s literally unused, but yes: it’s unused. πŸ’€
  • pa_base β€” the physical address base of the hardware register.
  • offset β€” register offset from CMDQ sub system.
  • value β€” the specified target register value.
  • mask β€” the specified target register mask.

🌈 RETURN 🌈

Returns 0 for success; else the error code is returned. Zero means slay, and anything else is the error code coming through. periodt. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./include/linux/soc/mediatek/mtk-cmdq.h β€” go peek, iykyk. And here’s the whole see-also friend group, every single one:


mwah πŸ’‹ this page’s source/version is ./include/linux/soc/mediatek, dated October 2026, and it’s the cmdq_pkt_write_mask_pa(9) manual. byeee 🫢✨

πŸ“¦ where this page comes from