STRUCT GTH_OUTPUT(9)
π 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 ofGTH_*port type values, i.e. what kind of port she is β pick from theGTH_*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 π :
- Kernel file
./drivers/hwtracing/intel_th/gth.c struct gth_device(9)intel_th_gth_stop(9)intel_th_gth_start(9)intel_th_gth_disable(9)intel_th_gth_enable(9)intel_th_gth_switch(9)intel_th_gth_assign(9)intel_th_gth_unassign(9)
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
- 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