STRUCT TPDA_DRVDATA(9)
πΈ 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 carriesatid,dsb_esize, andcmb_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
- 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