STRUCT GTH_OUTPUT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct gth_output(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to struct gth_output(9), literally the GTH view on an output port ✨ this is a kernel API manual page and honestly? she's iconic, she's compact, she's giving "small struct, big responsibilities" πŸ‘‘


🌸 NAME 🌸

struct gth_output β€” the GTH view on an output port πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct gth_output {
    struct gth_device       *gth;
    struct intel_th_output  *output;
    unsigned int            index;
    unsigned int            port_type;
    unsigned long master[BITS_TO_LONGS( TH_CONFIGURABLE_MASTERS + 1)];
};

no cap, that's the whole shape of her 🫢 copy it exactly, don't be quirky with the spacing 😭

✨ Members ✨

  • gth β€” the backlink to the GTH device, aka her ride-or-die pointer back home πŸ πŸ’«
  • output β€” the link to output device's output descriptor, so she always knows which output she's attached to πŸ”—
  • index β€” the output port number, her little numeric name tag πŸŽ€
  • port_type β€” one of GTH_* port type values, i.e. what kind of port she is β€” pick from the GTH_* list, don't freestyle it πŸ™ˆ
  • master β€” bitmap of masters configured for this output, lowkey her whole mood board of masters, bit by bit 🌈

πŸ‘€ SEE ALSO πŸ‘€

bestie go read these next, fr fr, they're the whole friend group πŸ’…:


and that's the whole page, periodt πŸ’€βœ¨ this lil' manual lives in ./drivers/hwtracing/intel_th and the version/date on the tin is October 2026 β€” so screenshot it, cite it, stan it, and go read the source, iykyk πŸ§šπŸ’œ

πŸ“¦ where this page comes from