vimc_is_source(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vimc_is_source πŸ’…

okay bestie, welcome to the vimc_is_source(9) page β€” it lives in the Kernel API Manual and honestly it's a little baby function but it's iconic. Let's get into it πŸŽ€


🌸 NAME 🌸

vimc_is_source β€” returns true if the entity has only source pads

Like, that's it. That's the whole vibe check. It looks at your entity and goes "hmm, do you only have source pads? yes or no." No cap. πŸ’–


✨ SYNOPSIS ✨

bool vimc_is_source (struct media_entity *ent);

Yup. One argument, returns a bool. Simple. Clean. Ate. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ent β€” pointer to struct media_entity β€” this is the entity you're asking about, bestie. Hand it over and the function will tell you if it's a source-only situation. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file this lives in, fr fr:

./drivers/media/test-drivers/vimc/vimc-common.h

And the whole squad of related pages β€” go read these too, they're giving main character energy:


πŸ’€ tiny function, big family. click through the SEE ALSO list, iykyk.

and that's the whole page!! 🌈 this one came from ./drivers/media/test-drivers/vimc, dated October 2026, and it's literally the vimc_is_source(9) page you just read. slay, go forth and check your pads πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from