__subdev_set_power(9)
π __subdev_set_power(9) π
okay so bestie, welcome to the Kernel API Manual entry for __subdev_set_power β it's giving βflip the power on one single subdev,β and we're keeping every deet. β¨
π NAME π
__subdev_set_power β changes the power state of one single subdev. one subdev, power state, handled. periodt. π
πΈ SYNOPSIS πΈ
int __subdev_set_power (struct v4l2_subdev *sd , int on );
π¦ ARGUMENTS π¦
sdβ the subdevice whose power state you're changing. like, the main character subdev. πonβ1to enable power or0to disable. binary bestie behavior, fr fr. β‘
β¨ DESCRIPTION β¨
It returns the result of the s_power subdev operation β or -ENXIO if the sd argument is NULL. NULL gets you -ENXIO, okay? π«Ά
And if the subdevice does not implement s_power, it returns 0. so yes, no s_power equals a chill 0, no cap. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/platform/samsung/exynos4-is/media-dev.c fimc_pipeline_prepare(9)fimc_pipeline_s_power(9)__fimc_pipeline_enable(9)__fimc_pipeline_open(9)__fimc_pipeline_close(9)__fimc_pipeline_s_stream(9)__fimc_md_create_fimc_sink_links(9)fimc_md_create_links(9)
cute sign-off: this page's source/version is ./drivers/media/platform/samsu..., dated October 2026. bye bestie, go set some power states responsibly πβ¨
π¦ 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