cmdq_get_shift_pa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cmdq_get_shift_pa(9) πŸ’…

okay so this is the Kernel API Manual page for cmdq_get_shift_pa(9), and we're about to get into mailbox-channel physical-address shift-bit territory. no cap, bestie.


✨ NAME ✨

cmdq_get_shift_pa β€” get the shift bits of physical address. that's the whole vibe.

✨ SYNOPSIS ✨

u8 cmdq_get_shift_pa (struct mbox_chan *chan );

copy it exactly, spaces and all 🫢

✨ ARGUMENTS ✨

  • chan β€” mailbox channel. that's the one thing you pass in.

✨ DESCRIPTION ✨

GCE can only fetch the command buffer address from a 32-bit register. Some SOCs support more than 32-bit command buffer address for GCE, which requires some shift bits to make the address fit into the 32-bit register. it's giving address-squeezing main character energy ✨

✨ RETURN ✨

the shift bits of physical address. periodt.

✨ SEE ALSO ✨

  • Kernel file ./include/linux/mailbox/mtk-cmdq-mailbox.h β€” go peek at the header, bestie πŸŽ€
  • cmdq_get_mbox_priv(9)

signed off from ./include/linux/mailbox, October 2026 β€” stay iconic, bestie πŸ’–

πŸ“¦ where this page comes from