mipi_dsi_du...te_seq_multi(9)
β¨ mipi_dsi_dual_generic_write_seq_multi(9) β¨
okay so bestie, welcome to the Kernel API Manual π and honestly? this page is a little baddie. we're talking mipi_dsi_dual_generic_write_seq_multi β literally the macro that hits up both DSI interfaces with a generic write packet, one after the other. no cap. π
πΈ NAME πΈ
mipi_dsi_dual_generic_write_seq_multi β transmit data using a generic write packet to two dsi interfaces, one after the other π¦
π SYNOPSIS π
mipi_dsi_dual_generic_write_seq_multi (_ctx , _dsi1 , _dsi2 , _seq... );
π ARGUMENTS π
_ctxβ the context for multiple DSI transactions. it's giving "keep track of everything for me" energy π«Ά_dsi1β the first DSI interface, aka the first one to receive the packet π_dsi2β the second DSI interface, the other recipient of the packet π_seqβ the buffer containing the payload, like the actual stuff we're sending π¦
π₯ DESCRIPTION π₯
so here's the tea β β this macro sends the specified generic packet twice, once per each of the two interfaces you supply. and why do we care? because it's super useful for reducing duplication of code in panel drivers which use two parallel serial interfaces. the way that saves you from copy-pasting the same nonsense... obsessed. π
β οΈ big warning bestie: if an error occurs while transmitting the packet to the first DSI interface, the packet will not be sent to the second DSI interface. so like, first one has to slay or the second one doesn't even get a turn π
and the best part? this macro will print errors for you π and error handling is optimized for callers that call this multiple times in a row. literally built different. periodt. π
π SEE ALSO π
- Kernel file
./include/drm/drm_mipi_dsi.h struct mipi_dsi_msg(9)struct mipi_dsi_packet(9)struct mipi_dsi_host_ops(9)struct mipi_dsi_host(9)struct mipi_dsi_device_info(9)struct mipi_dsi_device(9)struct mipi_dsi_multi_context(9)mipi_dsi_pixel_format_to_bpp(9)enum mipi_dsi_dcs_tear_mode(9)mipi_dsi_generic_write_seq_multi(9)mipi_dsi_generic_write_var_seq_multi(9)mipi_dsi_dcs_write_seq_multi(9)mipi_dsi_dcs_write_var_seq_multi(9)mipi_dsi_dual(9)mipi_dsi_dual_dcs_write_seq_multi(9)struct mipi_dsi_driver(9)
and that's the whole vibe check, bestie π§ source is ./include/drm, dated October 2026 β go forth and write your dual-DSI packets, ily, mwah πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms