_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _lookup β€” find an omap_hwmod by name (kernel API manual, section 9, bestie)

okay so this is a page from the Kernel API Manual, section 9 β€” and it's honestly the shortest little icon in the whole omap_hwmod saga. it does exactly one thing and it does it immaculately. we love a lowkey function with main character energy. ✨


🌸 NAME 🌸

_lookup β€” find an omap_hwmod by name

like, that's it. that's the whole job. and she ate. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct omap_hwmod * _lookup (const char *name );

the whole signature, verbatim, no notes. look at her. gorgeous. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” you hand her a name, and she goes looking for the omap_hwmod with that name. that's the whole assignment fr fr.

✨ DESCRIPTION ✨

so basically: she returns a pointer to an omap_hwmod matching name, or NULL if it's not found. 😭

that's the tea. no side quests, no surprises, no cap β€” either you get your pointer or you get NULL, and you will be checking that NULL, bestie, i'm just saying. πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

okay this is the part where the page goes absolutely feral β€” she shouts out the entire omap_hwmod extended universe. buckle up. 🌈

first, the source home:

  • Kernel file ./arch/arm/mach-omap2/omap_hwmod.c

and then the whole friend group: πŸ‘‘

like?? she knows everyone. iykyk. 🧚

ngl if you're reading this page you're probably already 40 tabs deep in omap_hwmod lore β€” stay hydrated, bestie πŸ“

⭐ sign-off ⭐

this masterpiece lives in ./arch/arm/mach-omap2, dated October 2026, and it's filed under _lookup(9). go find your hwmod, queen. πŸŽ€βœ¨


πŸ“¦ where this page comes from