_autodep_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _autodep_lookup(9) β€” Kernel API Manual, bestie edition ✨

okay so picture this: you're deep in the kernel, you've got a struct clkdm_autodep just sitting there with names in it, and you need those names to become actual pointers. that's the whole gig. welcome to _autodep_lookup πŸŽ€


🌸 NAME 🌸

_autodep_lookup β€” resolve autodep clkdm names to clkdm pointers, and store them. literally that's it, that's the function 🫢


⭐ SYNOPSIS ⭐

void _autodep_lookup (struct clkdm_autodep *autodep );

no cap, that's the entire signature. take it in. πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • autodep β€” a struct clkdm_autodep *, aka the thing you're resolving. this is the main character of the function, bestie πŸ‘‘

✨ DESCRIPTION ✨

So here's the tea πŸ“: _autodep_lookup takes your autodep clockdomain names and resolves them into clockdomain pointers via clkdm_lookup, then stores those pointers right back in the autodep structure. name goes in, pointer comes out, everyone slays. πŸ’…

Now, what even is an "autodep"? 🧚 it's a clockdomain sleep/wakeup dependency that gets automatically added and removed whenever clocks in the associated clockdomain are enabled or disabled (respectively 🫢) while that clockdomain is in hardware-supervised mode. automatic. effortless. iconic.

This function is meant to be called once at clockdomain layer initialization, because these things should remain fixed for a particular architecture. one and done, periodt. πŸ”₯

And the return value? there isn't one. void. nothing. silence. πŸ’€

⚠️ XXX β€” autodeps are deprecated and should be removed at the earliest opportunity. like, they're giving legacy. please clean this up when you get a chance, bestie πŸ˜­πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group πŸ’œ β€” all in the kernel file ./arch/arm/mach-omap2/clockdomain.c:


🌈 and that's the page!! sourced straight from ./arch/arm/mach-omap2, dated October 2026, living under the <rainbow>Kernel API Manual</rainbow> banner as _autodep_lookup(9). go resolve those clkdms, bestie β€” you ate πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from