mipi_dsi_dcs...uffer_chatty(9)
π NAME π
mipi_dsi_dcs_write_buffer_chatty β okay so this is literally mipi_dsi_dcs_write_buffer() but with an error log bolted on, bestie π
(this one lives in the Kernel API Manual, in case the vibe check needed a label β¨)
π¦ SYNOPSIS π¦
int mipi_dsi_dcs_write_buffer_chatty (struct mipi_dsi_device *dsi ,
const void *data , size_t len );
πΈ ARGUMENTS πΈ
dsiβ the DSI peripheral device, aka the main character of this whole operation πdataβ the buffer holding the data you wanna transmit, like a little gift basket of bytes πlenβ the size of that transmission buffer, so nobody over-reads and embarrasses themselves π
β¨ DESCRIPTION β¨
So it's basically mipi_dsi_dcs_write_buffer β same energy β but it comes with a dev_err call already baked in for you π«Ά like, you don't have to remember to log it yourself, it's giving "handled."
And bestie, hear me on this one: it returns 0 upon success, not the number of bytes sent. Yes, really. Different return contract than its sibling, no cap π
π RETURN π
0 on success, or a negative error code on failure. That's the whole thing. Slay. π
β SEE ALSO β
Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c β that's where the actual source lives, go look, iykyk π
And now the iconic supporting cast, all of them, no skipping, periodt:
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)mipi_dsi_packet_format_is_short(9)mipi_dsi_packet_format_is_long(9)mipi_dsi_create_packet(9)mipi_dsi_shutdown_peripheral(9)mipi_dsi_turn_on_peripheral(9)mipi_dsi_compression_mode_ext(9)mipi_dsi_compression_mode(9)mipi_dsi_picture_parameter_set(9)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)mipi_dsi_dcs_write_buffer(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)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)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)mipi_dsi_driver_register_full(9)mipi_dsi_driver_unregister(9)
ok that's the whole page, you read it, you understood it, you're basically a kernel dev now π§π
sign-off time: this gorgeous little page comes from ./drivers/gpu/drm and it's dated October 2026 β so it's from the future, obviously, and it ate π
π₯
π¦ 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