mipi_dsi_du...te_seq_multi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mipi_dsi_dual_dcs_write_seq_multi(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this page is literally about mipi_dsi_dual_dcs_write_seq_multi, and no cap, the name is giving "long but iconic." πŸŽ€


✨ NAME ✨

mipi_dsi_dual_dcs_write_seq_multi β€” transmit a DCS command with payload to two dsi interfaces, one after the other πŸ¦‹

Like, one command, two interfaces, in a row. The way that it just… does both. πŸ’…


🌸 SYNOPSIS 🌸

mipi_dsi_dual_dcs_write_seq_multi (_ctx , _dsi1 , _dsi2 , _cmd , _seq...
);

yes, the trailing _seq... is exactly how it ships, don't come for me πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • _ctx β€” context for multiple DSI transactions. it's the group chat, basically β€” it holds the state for the whole convo 🫢
  • _dsi1 β€” first DSI interface, the one that gets to be the recipient of the packet. main character energy πŸ‘‘
  • _dsi2 β€” second DSI interface, also a recipient of the packet. twin energy, fr fr 🌈
  • _cmd β€” the command. the actual thing you're sending πŸ“¨
  • _seq β€” buffer containing the payload. the lil backpack of data the command carries around πŸŽ’

🧚 DESCRIPTION 🧚

so here's the tea β˜• β€” this macro will send the specified DCS command with payload twice, once per each of the two interfaces supplied. literally two interfaces, two sends, one macro call. slay. πŸ’…

it's highkey useful for reducing duplication of code in panel drivers which use two parallel serial interfaces. like, why write it twice when you can write it once and let the macro eat? ate and left no crumbs πŸ“

⚠️ note that if an error occurs while transmitting the payload to the first DSI interface, the payload will not be sent to the second DSI interface. bestie, that's a real caveat β€” first one flops, second one doesn't even get the chance 😭

this macro will print errors for you, and error handling is optimized for callers that call this multiple times in a row. so like… repeatedly calling it? that's the intended vibe. iykyk ✨


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, honestly. go say hi to all of them πŸ«ΆπŸ’œ


and that's the page, bestie! πŸŽ€ huge shoutout to ./include/drm for being the source, to the Kernel API Manual for hosting, and to October 2026 for the timestamp β€” iconic of all of them, periodt. ⭐🌸

πŸ“¦ where this page comes from