STRUCT XTMR_MANAGER_DEV(9)
π struct xtmr_manager_dev(9) π
okay so bestie, welcome to the Kernel API Manual page for struct xtmr_manager_dev β literally the driver data for TMR Manager. yes, that TMR Manager. this struct is the whole personality, the main character energy of the driver, and you're gonna learn every single field of it. no skipping. periodt. β¨
π NAME π
struct xtmr_manager_dev β the driver data for TMR Manager. that's it, that's the vibe. π«Ά
πΈ SYNOPSIS πΈ
here's the whole thing, verbatim, because we do not play with code accuracy:
struct xtmr_manager_dev {
void __iomem *regs;
u32 cr_val;
u32 magic1;
u32 err_cnt;
resource_size_t phys_baseaddr;
};
look at her. five fields. absolutely iconic. π
π¦ Members π¦
okay so let's meet the members one by one, bestie β they all have a job and they all matter:
regsβ device physical base address. that's the pointer of typevoid __iomem *up there, and yes the description says "physical base address", we're not gonna argue with the source, we just report it. πcr_valβ control register value. it's au32, it holds the control register's value. slay. π₯magic1β the Magic 1 hardware configuration value. very "iykyk" of the hardware ngl. β¨err_cntβ error statistics count. keeping receipts on the errors, as she should. πphys_baseaddrβ Physical base address. typeresource_size_t. and yes, this is a different member fromregs, even though the descriptions look suspiciously similar β do not merge them, do not "fix" them, they are both real and both canon. π
π SEE ALSO π
- Kernel file
./drivers/misc/xilinx_tmr_manager.c xtmr_manager_probe(9)
like, go read those too, bestie β the struct doesn't exist in a vacuum. π§
and that's the whole page, bestie! π this little masterpiece lives in the source directory ./drivers/misc, and it's dated October 2026 β so yeah, she's from the future and she's still serving. π no cap, go forth and probe responsibly. β π bye bestie!! π
π¦ 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