ssam_contro...vent_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to the Kernel API Manual page for ssam_controller_event_disable πŸ’… β€” the function that disables the specified event. That’s the whole vibe: disable the event, periodt.

⚑ SYNOPSIS ⚑

int ssam_controller_event_disable (struct ssam_controller *ctrl , struct
       ssam_event_registry reg , struct ssam_event_id id , u8 flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctrl β€” the controller to disable the event for.
  • reg β€” the event registry to use for disabling the event.
  • id β€” the event ID specifying the event to be disabled.
  • flags β€” the flags used when enabling the event.

πŸ’– DESCRIPTION πŸ’–

Here’s the tea: this function decrements the reference count of the specified event. If the reference count reaches zero, the event will be disabled. Slay.

πŸ’… NOTE πŸ’…

In general, ssam_notifier_register/ssam_notifier_unregister with a non-observer notifier should be preferred for enabling/disabling events, as this will guarantee proper ordering and event forwarding in case of errors during event enabling/disabling. fr fr, that’s the note.

πŸ”₯ RETURN πŸ”₯

Returns zero on success, -ENOENT if the given event has not been enabled on the controller. If the reference count of the event reaches zero during this call, returns the status of the event-disable EC-command. No cap.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/platform/surface/aggregator/controller.c

The whole reference squad, in order:


That’s the page, bestie 🫢 β€” source/version: ./drivers/platform/surface/agg...; date: October 2026; page title: ssam_contro...vent_disable(9). Bye and slay πŸ’…βœ¨

πŸ“¦ where this page comes from