STRUCT HDM_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 identity
  • is_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 stash
  • reset_dbr_size β€” reset DBR data buffer size πŸ“ that's the size, for the reset DBR data buffer
  • pending_list β€” the list that keeps MBO's before starting transfer πŸ• the waiting room, fr fr
  • started_list β€” the list that keeps MBO's after starting transfer πŸ”₯ the "we're so on" list
  • direction β€” channel direction, which is TX or RX ↔️ pick a lane
  • data_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