STRUCT TPDA_DRVDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct tpda_drvdata πŸ’…

okay bestie, welcome to the <struct tpda_drvdata(9)> page β€” kernel API manual energy, but make it cute. this lil struct holds all the specifics associated to an TPDA component, and honestly? she's doing a lot. let's get into it ✨


✨ NAME ✨

struct tpda_drvdata β€” literally the struct with all the specifics associated to an TPDA component πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole shape of her, no edits, no cap:

struct tpda_drvdata {
    void __iomem            *base;
    struct device           *dev;
    struct coresight_device *csdev;
    spinlock_t spinlock;
    u8 atid;
    u32 dsb_esize;
    u32 cmb_esize;
    bool trig_async;
    bool trig_flag_ts;
    bool trig_freq;
    bool freq_ts;
    bool cmbchan_mode;
    bool syncr_mode;
    u32 syncr_count;
 };

πŸ’– Members πŸ’–

okay so member by member, let's go πŸ”₯

  • base β€” the memory mapped base address for this component. like, where she lives 🏠
  • dev β€” the device entity associated to this component. her plus-one fr fr 🫢
  • csdev β€” component vitals needed by the framework. the essentials, the main character paperwork πŸ‘‘
  • spinlock β€” the lock for the drvdata value. do not touch without it, iykyk πŸ”’
  • trig_async β€” enable/disable the cross trigger synchronization sequence interface ⚑
  • trig_flag_ts β€” enable/disable the cross trigger FLAG packet request interface 🚩
  • trig_freq β€” enable/disable the cross trigger FREQ packet request interface πŸ“Ά
  • freq_ts β€” enable/disable the timestamp for all FREQ packets ⏱️
  • cmbchan_mode β€” configure the CMB/MCMB channel mode πŸŽ›οΈ
  • syncr_mode β€” setting the mode for counting packets πŸ”’
  • syncr_count β€” setting the value of the count πŸ’―
ngl the struct itself also carries atid, dsb_esize, and cmb_esize β€” the Members list above doesn't describe those, so we're not gonna make stuff up about them πŸ™ˆ

🌈 SEE ALSO 🌈

go look at these bestie, they're right there:

  • Kernel file ./drivers/hwtracing/coresight/coresight-tpda.h πŸ“„
  • struct tpda_trig_sysfs_attribute(9) ✨

and that's the whole vibe check πŸ’œ this page came from the kernel source tree at ./drivers/hwtracing/coresight, dated October 2026 β€” october twenty twenty-six, iconic behavior honestly. mwah, go read the header file now πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from