mipi_dsi_shu...n_peripheral(9)
π mipi_dsi_shutdown_peripheral(9) π
okay bestie, so this is a page straight outta the Kernel API Manual, and the star of the show is mipi_dsi_shutdown_peripheral(9). it's giving "small function, big feelings" ngl. let's get into it π«Ά
β¨ NAME β¨
mipi_dsi_shutdown_peripheral β literally sends a Shutdown Peripheral command. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int mipi_dsi_shutdown_peripheral (struct mipi_dsi_device *dsi );
like, one argument, returns an int, very demure, very mindful. π
π¦ ARGUMENTS π¦
dsiβ the DSI peripheral device. this is the little guy you're shutting down, so pls know who you're talking to before you send the command, iykyk. β¨
π DESCRIPTION π
okay so here's the part where i hold your hand, bestie: this function is deprecated. π
it's not broken, it's just not the moment anymore. the manpage says it plain: use mipi_dsi_shutdown_peripheral_multi instead. that's the one with main character energy now. go be with the multi version, she's the future π
π₯ RETURN π₯
0on success β slay, it worked π- a negative error code on failure β not slay, something went sideways π
π SEE ALSO π
the whole extended friend group, fr fr. also the kernel file ./drivers/gpu/drm/drm_mipi_dsi.c where all the dsi helpers live π
the dsi helpers themselves & device/host plumbing:
dsi helpers(9)of_find_mipi_dsi_device_by_node(9)mipi_dsi_device_register_full(9)mipi_dsi_device_unregister(9)devm_mipi_dsi_device_register_full(9)of_find_mipi_dsi_host_by_node(9)mipi_dsi_attach(9)mipi_dsi_detach(9)devm_mipi_dsi_attach(9)
packets & packet formats:
peripheral & compression & picture params:
mipi_dsi_turn_on_peripheral(9)mipi_dsi_compression_mode_ext(9)mipi_dsi_compression_mode(9)mipi_dsi_picture_parameter_set(9)
generic read/write:
mipi_dsi_generic_write(9)mipi_dsi_generic_write_multi(9)mipi_dsi_dual_generic_write_multi(9)mipi_dsi_generic_read(9)drm_mipi_dsi_get_input_bus_fmt(9)
dcs write/read:
mipi_dsi_dcs_write_buffer(9)mipi_dsi_dcs_write_buffer_chatty(9)mipi_dsi_dcs_write_buffer_multi(9)mipi_dsi_dual_dcs_write_buffer_multi(9)mipi_dsi_dcs_write(9)mipi_dsi_dcs_read(9)mipi_dsi_dcs_read_multi(9)
dcs commands:
mipi_dsi_dcs_nop(9)mipi_dsi_dcs_soft_reset(9)mipi_dsi_dcs_get_power_mode(9)mipi_dsi_dcs_get_pixel_format(9)mipi_dsi_dcs_enter_sleep_mode(9)mipi_dsi_dcs_exit_sleep_mode(9)mipi_dsi_dcs_set_display_off(9)mipi_dsi_dcs_set_display_on(9)mipi_dsi_dcs_set_column_address(9)mipi_dsi_dcs_set_page_address(9)mipi_dsi_dcs_set_tear_on(9)mipi_dsi_dcs_set_pixel_format(9)mipi_dsi_dcs_set_tear_scanline(9)mipi_dsi_dcs_set_display_brightness(9)mipi_dsi_dcs_get_display_brightness(9)mipi_dsi_dcs_set_display_brightness_large(9)mipi_dsi_dcs_get_display_brightness_large(9)
the _multi girlies (the upgraded versions):
mipi_dsi_picture_parameter_set_multi(9)mipi_dsi_compression_mode_ext_multi(9)mipi_dsi_compression_mode_multi(9)mipi_dsi_dcs_nop_multi(9)mipi_dsi_dcs_enter_sleep_mode_multi(9)mipi_dsi_dcs_exit_sleep_mode_multi(9)mipi_dsi_dcs_set_display_off_multi(9)mipi_dsi_dcs_set_display_on_multi(9)mipi_dsi_dcs_set_tear_on_multi(9)mipi_dsi_turn_on_peripheral_multi(9)mipi_dsi_dcs_set_tear_off_multi(9)mipi_dsi_dcs_soft_reset_multi(9)mipi_dsi_dcs_set_display_brightness_multi(9)mipi_dsi_dcs_set_pixel_format_multi(9)mipi_dsi_dcs_set_column_address_multi(9)mipi_dsi_dcs_set_page_address_multi(9)mipi_dsi_dcs_set_tear_scanline_multi(9)mipi_dsi_shutdown_peripheral_multi(9)
driver registration besties:
π real talk though: this page is the old one. if you're writing new code, go read mipi_dsi_shutdown_peripheral_multi(9) and pretend we never had this conversation. love u tho π«Ά
and that's the whole page, bestie!! sourced from ./drivers/gpu/drm, dated October 2026 β go forth and shut down those peripherals responsibly, 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