_register_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

  • _register_link β€” register a struct omap_hwmod_ocp_if πŸ’…

✨ SYNOPSIS ✨

int _register_link (struct omap_hwmod_ocp_if *oi );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • oi β€” struct omap_hwmod_ocp_if * β€” the record bestie you’re handing over so it can get registered 🫢

πŸ’– DESCRIPTION πŸ’–

Okay so _register_link literally registers the omap_hwmod_ocp_if record oi. That’s the whole main character move. πŸ’…

Return vibe check:

  • -EEXIST if it has already been registered 😭
  • -EINVAL if oi is NULL or if the record pointed to by oi is missing required fields πŸ’€
  • 0 upon success β€” slay! πŸŽ‰
⚠️ XXX β€” The data should be copied into bootmem, so the original data should be marked __initdata and freed after init. This would allow unneeded omap_hwmods to be freed on multi-OMAP configurations. 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/arm/mach-omap2/omap_hwmod.c is the mothership, and here’s the whole group chat:


🫢 That’s the tea! This page lives under ./arch/arm/mach-omap2, dated October 2026, and it’s literally _register_link(9) β€” bye bestie! πŸ’–
πŸ“¦ where this page comes from