vimc_is_source(9)
β¨ 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 tostruct 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:
vimc_colorimetry_clamp(9)struct vimc_pix_map(9)struct vimc_ent_device(9)struct vimc_device(9)struct vimc_ent_type(9)struct vimc_ent_config(9)vimc_pix_map_by_index(9)vimc_mbus_code_by_index(9)vimc_pix_map_by_code(9)vimc_pix_map_by_pixelformat(9)vimc_ent_sd_register(9)vimc_vdev_link_validate(9)
π 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
- 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