STRUCT XILINX_TIMER_PRIV(9)
π struct xilinx_timer_priv(9) π
okay so real talk, this is a page straight out of the Kernel API Manual and it's lowkey just a lil struct that holds the private data for the Xilinx AXI timer drivers β¨ nothing scary, i promise, it's giving "small but mighty" and we stan π«Ά
πΈ NAME πΈ
struct xilinx_timer_priv β the private data for the Xilinx AXI timer drivers, no cap π
β¨ SYNOPSIS β¨
bestie here's the whole vibe, literally the entire struct, look at her:
struct xilinx_timer_priv {
struct regmap *map;
struct clk *clk;
u64 max;
};
that's it. that's the whole girl. three members and she's iconic π
π Members π
mapβ the regmap of the device, and heads up, it's possibly got an offset π (so like, don't assume it starts at zero, mmkay?)clkβ the parent clock. she's the mother, fr fr πmaxβ the maximum value of the counters, which is au64btw. big number energy π
π¦ SEE ALSO π¦
- the kernel file
./include/clocksource/timer-xilinx.hβ go read it, iykyk π xilinx_timer_tlr_cycles(9)π₯xilinx_timer_get_period(9)β
ngl this one's short and sweet, but that's the point π every field matters, so don't sleep onmap,clk, ormax
omg and before i forget, this lil page lives in ./include/clocksource, it's dated October 2026, and it's filed under the Kernel API Manual β mwah, love that for us, periodt πππ
π¦ 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