STRUCT MHI_DEVICE_ID(9)
π struct mhi_device_id(9)
okay so bestie, welcome to the Kernel API Manual β today's main character is struct mhi_device_id, and it's literally the little ID card that says which MHI device this is πͺͺβ¨
πΈ NAME
struct mhi_device_id β MHI device identification π
β¨ SYNOPSIS
struct mhi_device_id {
const char chan[MHI_NAME_SIZE];
kernel_ulong_t driver_data;
};
bestie look at it. two members. that's it. she's compact, she's efficient, she ate π
π¦ Members
chanβ the MHI channel name π (it's aconst chararray sizedMHI_NAME_SIZE, no cap)driver_dataβ the driver data, periodt π« (type iskernel_ulong_t, keep it exact fr fr)
π SEE ALSO
- Kernel file
./include/linux/device-id/mhi.hβ go read it, iykyk ππ«Ά
lowkey a reminder:chanis a fixed-size array ofMHI_NAME_SIZEchars, so don't go thinking it's a pointer, bestie π that's a whole different vibe check
and that's the whole page, no notes π this was rendered straight from the source at ./include/linux/device-id, dated October 2026 β slay, go forth and identify your devices π§ββοΈβπ
π¦ 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