cmdq_pkt_jump_rel_temp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cmdq_pkt_jump_rel_temp(9) β€” from the Kernel API Manual, bestie πŸ’…

πŸ’– NAME πŸ’–

cmdq_pkt_jump_rel_temp β€” temporary wrapper for new CMDQ helper API, and yes it's giving β€œmigration era” energy ✨


🌸 SYNOPSIS 🌸

int cmdq_pkt_jump_rel_temp (struct cmdq_pkt *pkt , s32 offset , u8
shift_pa );

πŸŽ€ ARGUMENTS πŸŽ€

  • pkt β€” the CMDQ packet. That's the main-character packet, fr fr 🫢
  • offset β€” relative offset of target instruction buffer from current PC. Like, where the target instruction buffer sits relative to the current PC πŸ’…
  • shift_pa β€” [DEPRECATED] shift bits of physical address in CMDQ instruction. This value is got by cmdq_get_shift_pa. It's deprecated, so don't get too attached, bestie πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function is a temporary wrapper. It was introduced only for ease of migration of the many users of the CMDQ API located in multiple kernel subsystems. Lowkey a β€œwe'll clean this up later” era, no cap 😭.

This has to be removed after all users are migrated to the newer CMDQ API. Periodt β€” it is temporary, and future-you should not be building a whole personality around it πŸ’œ.


⭐ SEE ALSO ⭐

Kernel file ./include/linux/soc/mediatek/mtk-cmdq.h β€” go read it, iykyk πŸ‘‘


πŸ’– Cute sign-off: source/version corner ./include/linux/soc/mediatek, manual Kernel API Manual, dated October 2026, starring cmdq_pkt_jump_rel_temp(9) β€” slay and goodbye ✨

πŸ“¦ where this page comes from