STRUCT REPLICATOR_DRVDATA(9)
π struct replicator_drvdata(9)
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is struct replicator_drvdata β literally the little data blob that holds all the specifics associated to a replicator component π she's not famous, she's just holding everything together, iykyk.
π¦ NAME π¦
struct replicator_drvdata β specifics associated to a replicator component. that's it, that's the whole vibe π she carries the per-component details, no cap.
β¨ SYNOPSIS β¨
struct replicator_drvdata {
void __iomem *base;
struct clk *atclk;
struct clk *pclk;
struct coresight_device *csdev;
raw_spinlock_t spinlock;
bool check_idfilter_val;
};
like, look at her. six fields. perfectly composed. glowing. πΈ
π«Ά Members π«Ά
okay let's go through the squad one by one, because each of these is doing a job and we respect it:
baseβ the memory mapped base address for this component π also, plot twist, she doubles as the indicator for whether this one is programmable or not. sobaseis out here doing two jobs and not complaining. we love a multitasker πatclkβ optional clock for the core parts of the replicator β° yes she's optional, don't come for her.pclkβ the APB clock if present, otherwiseNULLπ« so if it's not there, she's justNULL, and that's valid, that's a valid state, we don't judge.csdevβ component vitals needed by the framework π©Ί like the framework's little health chart. essential. iconic.spinlockβ serialize enable/disable operations π so nobody's enable and nobody's disable is out here colliding into each other. one at a time, bestie. form a line. theraw_spinlock_twill handle it πcheck_idfilter_valβ check if the context is lost upon clock removal π yes this is a real flag and yes it does exactly what it says: it checks whether the context got lost when the clock got removed. no notes. actual factual.
π SEE ALSO π
- Kernel file
./drivers/hwtracing/coresight/coresight-replicator.cβ go read the source, bestie, that's where she actually lives π§ stars aligned, code compiled, etc.
fr fr, that's the whole struct. every member, every type, every note. nothing skipped, nothing invented, we ate and left no crumbs π β¨
kisses and merge conflicts, this has been struct replicator_drvdata(9) from ./drivers/hwtracing/coresight π dated October 2026, and no I will NOT stop talking about it ππ¦πΈ
π¦ 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