ssam_device...r_unregister(9)
πΈ NAME πΈ
okay so this is ssam_device_notifier_unregister β the header calls the page ssam_device...r_unregister(9), and it lives in the Kernel API Manual, bestie. Its whole job is literally: unregister an event notifier for the specified client device. periodt. π
π¦ SYNOPSIS π¦
int ssam_device_notifier_unregister (struct ssam_device *sdev , struct ssam_event_notifier *n );
β¨ ARGUMENTS β¨
sdevβ the device the notifier has been registered on. (like, the home base for this notifier π«Ά)nβ the event notifier to unregister. (the one getting its goodbye moment π)
π DESCRIPTION π
Unregister an event notifier. Decrement the usage counter of the associated SAM event if the notifier is not marked as an observer. If the usage counter reaches zero, the event will be disabled. no cap, that counter matters β¨
In case the device has been marked as hot-removed, the event will not be disabled on the EC, as in those cases any attempt at doing so may time out. so yeah, hands off the EC in that situation, fr fr π
π RETURN π
Returns zero on success, -ENOENT if the given notifier block has not been registered on the controller. If the given notifier block was the last one associated with its specific event, returns the status of the event-disable EC-command. like, every possible outcome is right there, iykyk π
π SEE ALSO π
all the cross-refs, no skipping, no cap:
- Kernel file
./include/linux/surface_aggregator/device.h enum ssam_device_domain(9)enum ssam_virtual_tc(9)struct ssam_device_uid(9)SSAM_DEVICE(9)SSAM_VDEV(9)SSAM_SDEV(9)struct ssam_device(9)struct ssam_device_driver(9)is_ssam_device(9)to_ssam_device(9)to_ssam_device_driver(9)ssam_device_mark_hot_removed(9)ssam_device_is_hot_removed(9)ssam_device_get(9)ssam_device_put(9)ssam_device_get_drvdata(9)ssam_device_set_drvdata(9)ssam_device_driver_register(9)module_ssam_device_driver(9)ssam_register_clients(9)ssam_device_register_clients(9)SSAM_DEFINE_SYNC_REQUEST_CL_N(9)SSAM_DEFINE_SYNC_REQUEST_CL_W(9)SSAM_DEFINE_SYNC_REQUEST_CL_R(9)SSAM_DEFINE_SYNC_REQUEST_CL_WR(9)ssam_device_notifier_register(9)
okay bye bestie πβ¨ this page came from ./include/linux/surface_aggreg..., dated October 2026, and itβs literally ssam_device...r_unregister(9) signing off ππ¦
π¦ 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