STRUCT INTEL_TH_DEVICE(9)
π NAME π
okay so bestie, struct intel_th_device is literally the device on the intel_th bus. that's it, that's the vibe β it's the struct that represents a device living on the intel_th bus, and she's kind of a main character ngl π
β¨ SYNOPSIS β¨
struct intel_th_device {
struct device dev;
const struct intel_th_drvdata *drvdata;
struct resource *resource;
unsigned int num_resources;
unsigned int type;
int id;
bool host_mode;
struct intel_th_output output;
char name[];
};
π«Ά Members π«Ά
bestie, meet the whole squad β every single field, no skipping, no cap:
devβ thedeviceitself. the core, the moment, the whole point π¦drvdataβ hardware capabilities/quirks. she knows all the hardware's little secrets and personality traits πresourceβ array of resources available to this device. all her stuff, laid out β¨num_resourcesβ number of resources in theresourcearray. like, how many things she actually has πtypeβ one ofINTEL_TH_{SOURCE,OUTPUT,SWITCH}. pick your fighter π₯idβ device instance or-1. either she's got a number or she's lowkey nobody's numbered instance πhost_modeβ says whether Intel TH is controlled by an external debug host.bool, so it's giving true/false energy πoutputβ output descriptor forINTEL_TH_OUTPUTdevices. only the output girlies get this one πΈnameβ device name, used to match the driver. her little name tag so the right driver can find her, iykyk π
π SEE ALSO π
go read these next, bestie, they're all in the kernel file ./drivers/hwtracing/intel_th/intel_th.h, and honestly? obsessed:
struct intel_th_output(9)struct intel_th_drvdata(9)intel_th_device_get_resource(9)intel_th_output_assigned(9)struct intel_th_driver(9)struct intel_th(9)
ngl bestie this whole page lives at ./drivers/hwtracing/intel_th β that's home base, that's the address π
and that's the whole manpage, periodt π this one's from October 2026, straight out of ./drivers/hwtracing/intel_th β slay, go read the see-also list, ily, bye π§β¨
π¦ 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