STRUCT HDM_CHANNEL(9)
π¦ struct hdm_channel(9) π¦
okay bestie, welcome to the Kernel API Manual β¨ this one's a struct, it's private, it's giving backstage-pass energy, and it's literally just here to hold channel-specific data. let's get into it π
β¨ NAME β¨
struct hdm_channel β the private structure whose whole job is keeping channel specific data π«Ά
πΈ SYNOPSIS πΈ
struct hdm_channel {
char name[sizeof caNNN"];"
bool is_initialized;
struct dim_channel ch;
u16 *reset_dbr_size;
struct list_head pending_list;
struct list_head started_list;
enum most_channel_direction direction;
enum most_channel_data_type data_type;
};
ngl that char name[...] line is exactly how it shows up in the page β not me editing it, not me fixing it, we do not touch the source text in this house π character for character, periodt.
π Members π
nameβ the channel name π·οΈ like, its whole identityis_initializedβ the little identifier that tells you whether the channel is initialized or not π (vibe check: initialized? yes/no)chβ HAL specific channel data π§ the hardware-abstraction-layer's own stashreset_dbr_sizeβ reset DBR data buffer size π that's the size, for the reset DBR data bufferpending_listβ the list that keeps MBO's before starting transfer π the waiting room, fr frstarted_listβ the list that keeps MBO's after starting transfer π₯ the "we're so on" listdirectionβ channel direction, which is TX or RX βοΈ pick a lanedata_typeβ channel data type π the flavor of data, basically
β SEE ALSO β
heads up, this is a whole friend group, iykyk:
Kernel file ./drivers/staging/most/dim2/dim2.c dimcb_on_error(9), try_start_dim_transfer(9), deliver_netinfo_thread(9), retrieve_netinfo(9), service_done_flag(9), dim2_ahb_isr(9), complete_all_mbos(9), configure_channel(9), enqueue(9), request_netinfo(9), poison_channel(9), get_dim2_clk_speed(9), dim2_remove(9)
π that's the whole page, bestie β slay. this gem lives in ./drivers/staging/most/dim2, it's the struct hdm_channel(9) version, and it's dated October 2026 β¨ go forth and read the source, 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