STRUCT INTEL_TH_OUTPUT(9)
π NAME π
okay bestie, welcome to the struct intel_th_output(9) page from the Kernel API Manual β this is the descriptor for INTEL_TH_OUTPUT type devices, and it's lowkey the little ID card that tells everyone which output port is which. πͺͺβ¨
πΈ SYNOPSIS πΈ
struct intel_th_output {
int port;
unsigned int type;
unsigned int scratchpad;
bool multiblock;
bool active;
};
π Members π
portβ the output port number, assigned by the switch. π’typeβGTH_{MSU,CTP,PTI}. π·οΈscratchpadβ scratchpad bits to flag when this output is enabled. π©multiblockβtruefor multiblock output configuration. π§±activeβtruewhen this output is enabled. β
π« Description π«
okay so this is an output port descriptor. The switch driver uses it to tell which output port this output device corresponds to. π― It gets filled in at the output device's probe time by switch::assign. Then it's passed from the output device driver to switch related code to enable/disable its port. literally the handoff bestie. π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/hwtracing/intel_th/intel_th.h, plus these icons:
struct intel_th_drvdata(9)struct intel_th_device(9)intel_th_device_get_resource(9)intel_th_output_assigned(9)struct intel_th_driver(9)struct intel_th(9)
xoxo, your kernel bestie π
β this page lives under ./drivers/hwtracing/intel_th, dated October 2026, and it's literally struct intel_th_output(9). π«Άβ¨
π¦ 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