STRUCT INTEL_TH_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the device itself. 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 the resource array. like, how many things she actually has πŸ‘‘
  • type β€” one of INTEL_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 for INTEL_TH_OUTPUT devices. 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:


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