v4l2_event_..._unsubscribe(9)
π
v4l2_event_subdev_unsubscribe β the subdev glow-up of unsubscribe β¨
okay bestie, so this one's a kernel API manual page, and the function we're stanning is v4l2_event_subdev_unsubscribe π β it's literally the subdev variant of v4l2_event_unsubscribe(), and yes, that's a whole vibe. iykyk π
β¨ NAME β¨
v4l2_event_subdev_unsubscribe β bestie, it's the subdev variant of v4l2_event_unsubscribe() π¦ like, same energy, subdev flavor.
πΈ SYNOPSIS πΈ
int v4l2_event_subdev_unsubscribe (struct v4l2_subdev *sd , struct
v4l2_fh *fh , struct v4l2_event_subscription *sub );
that's the whole signature, character for character, no cap π
π ARGUMENTS π
sdβ pointer tostruct v4l2_subdevπ«Ά your subdev bestie.fhβ pointer tostruct v4l2_fhπ the file handle in question.subβ pointer tostruct v4l2_event_subscriptionπ¦ the subscription getting the goodbye.
like, three pointers, three little stars, we love to see it β
π₯ DESCRIPTION π₯
NOTE: π
so the actual note is this, and it's giving important so pay attention bestie:
this function should be used for the struct v4l2_subdev_core_ops unsubscribe_event field. that's the whole assignment, periodt. don't overthink it, just put it there π
π SEE ALSO π
kernel file ./include/media/v4l2-event.h β¨ and the whole friend group:
struct v4l2_kevent(9)struct v4l2_subscribed_event_ops(9)struct v4l2_subscribed_event(9)v4l2_event_dequeue(9)v4l2_event_queue(9)v4l2_event_queue_fh(9)v4l2_event_wake_all(9)v4l2_event_pending(9)v4l2_event_subscribe(9)v4l2_event_unsubscribe(9)v4l2_event_unsubscribe_all(9)v4l2_src_change_event_subscribe(9)v4l2_src_change_event_subdev_subscribe(9)
every single one of em, no skips π₯
π§ sign-off π§
this page lives in ./include/media π, the date on it is October 2026 π, and the version tag is v4l2_event_..._unsubscribe(9) β β from the Kernel API Manual π. that's the tea, bestie, go forth and unsubscribe slay π
β¨
π¦ 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