STRUCT PRM_LL_DATA(9)
β¨ NAME β¨
okay so this is the struct prm_ll_data(9) page from the Kernel API Manual, and the name is fully doing its job: struct prm_ll_data is a bundle of fn ptrs to per-SoC PRM function implementations. literally a struct full of function pointers, one per SoC PRM implementation, bestie π
.
π οΈ SYNOPSIS π οΈ
here's the whole struct in all its exact-code glory β no edits, no cap:
struct prm_ll_data {
u32 (*read_reset_sources)(void);
bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
int (*late_init)(void);
int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16
prm_mod, u16 offset, u16 st_offset);
int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod, u16
offset);
void (*reset_system)(void);
int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask);
u32 (*vp_check_txdone)(u8 vp_id);
void (*vp_clear_txdone)(u8 vp_id);
};
the way that every field is a function pointer wired up to a per-SoC PRM implementation. it's giving βkernel plumbing but make it customizableβ β¨.
π«Ά Members π«Ά
these are the members the page gives individual blurbs for:
read_reset_sourcesβ ptr to the SoC PRM-specificget_reset_sourceimpl. yes bestie, that's the function that gets reset sources, SoC PRM style πΈ.was_any_context_lost_oldβ ptr to the SoC PRM context loss test fn. it tests whether any context was lost, old flavor π.clear_context_loss_flags_oldβ ptr to the SoC PRM context loss flag clear fn. it clears those context loss flags, old flavor π§Ή.late_initβ ptr to the late init function. late but not forgotten, fr fr β.assert_hardresetβ ptr to the SoC PRM hardreset assert impl. asserting hardreset, but make it SoC PRM-specific π₯.deassert_hardresetβ ptr to the SoC PRM hardreset deassert impl. and here's the deassert counterpart, slay π«Ά.
π Description π
the page comes in with a big XXX: was_any_context_lost_old and clear_context_loss_flags_old are deprecated. like, deprecated deprecated. those two are not the main character anymore, bestie π. no cap, that's the entire description.
π SEE ALSO π
go peek at these if you're doing the reading:
- Kernel file
./arch/arm/mach-omap2/prm.hβ the header file in question π. struct prm_reset_src_map(9)β another manual page to vibe with π₯.
and that's the page, bestie. footer vibes: source/version is ./arch/arm/mach-omap2, date is October 2026, manual is struct prm_ll_data(9) β 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