cmdq_pkt_eoc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cmdq_pkt_eoc β€” the Kernel API Manual glow-up ✨

okay bestie so you're reading the Kernel API Manual entry for cmdq_pkt_eoc, and honestly? it's giving "one tiny function, huge main character energy" πŸ’… let's get into it.


🌸 NAME 🌸

cmdq_pkt_eoc β€” appends an EOC and asks the GCE to generate an IRQ at the end of execution πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int cmdq_pkt_eoc (struct cmdq_pkt *pkt );

πŸ’– ARGUMENTS πŸ’–

  • pkt β€” the CMDQ packet, iykyk. this is the thing you're appending to 🫢

🌈 DESCRIPTION 🌈

okay so here's the vibe: this function appends an End Of Code (EOC) command to the CMDQ packet, and it asks the GCE to generate an interrupt at the end of the execution of all commands in the pipeline ⭐

and like, the EOC command is usually appended to the end of the pipeline β€” that's its whole moment β€” so it can notify that all the commands are done. literally the "we're so back / it's over" of the pipeline πŸ’€βœ¨

πŸ”₯ RETURN πŸ”₯

0 for success, or a negative error number 😭 (ngl we're rooting for the 0)

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, no cap:

./include/linux/soc/mediatek/mtk-cmdq.h

and here's the whole friend group, all of them, every single one πŸ’œ


and that's the whole page, bestie 🧚 this one comes from ./include/linux/soc/mediatek, dated October 2026, and it's the cmdq_pkt_eoc(9) entry πŸ“ slay, go append your EOC πŸ’…πŸ’–

πŸ“¦ where this page comes from