STRUCT OUTPUT_REPORT(9)
π NAME
okay so bestie, welcome to struct output_report β it's the Output report definition in HIDSPI protocol β¨ that's the whole vibe, that's the whole struct π«Ά
(this one lives in the Kernel API Manual, section 9, iykyk π)
β¨ SYNOPSIS β¨
here's the actual shape of it, no cap, copied exactly:
struct output_report {
struct output_report_header output_hdr;
u8 content[];
};
like. look at her. struct with a header and a flexible array, she's literally iconic π
πΈ Members πΈ
output_hdrβ the output report header π that's it, that's the membercontentβ the output report content π¦ (it's au8 content[], so yes she's flexible, we love a variable-length queen)
so the report is basically: header first, then whatever content she's carrying. main character energy from top to bottom π
π¦ SEE ALSO π¦
go read these next, bestie, they're all right there in the kernel file ./include/linux/hid-over-spi.h:
- struct
input_report_body_header(9) - struct
input_report_body(9) - struct
output_report_header(9) - struct
hidspi_dev_descriptor(9)
fr fr go look at output_report_header(9) first, it's the direct vibes match π₯
π tiny reminder that the SEE ALSO list above is exactly what the page says β no extra reading recs from me, I'm just the messenger π§
and that's the whole page, periodt πβ¨ file path ./include/linux, dated October 2026, Kernel API Manual, struct output_report(9) β slay, go parse some HIDSPI reports bestie πππ
π¦ 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