ssam_device_id_compatible(9)
πΈ ssam_device_id_compatible(9) πΈ
okay so bestie, we're in the Kernel API Manual and the main character today is ssam_device_id_compatible(9). It's giving tiny compatibility check, big match-rule energy β¨.
π NAME π
ssam_device_id_compatible β check if a device ID matches a UID. periodt π
β¨ SYNOPSIS β¨
bool ssam_device_id_compatible (const struct ssam_device_id *id , struct
ssam_device_uid uid );
π«Ά ARGUMENTS π«Ά
idβ the device ID you're testing as the potential match (const struct ssam_device_id *id). πuidβ the device UID you're matching against (struct ssam_device_uid uid). π¦
π¦ DESCRIPTION π¦
So here's the tea: you hand it an id and a uid, and it checks if the given ID is a match for the given UID. Translation? It's checking whether a device with the provided UID is compatible to the given ID, following the match rules described in that ID's ssam_device_id.match_flags member. That's literally the whole assignment, bestie β no cap π.
π RETURN π
It returns true if the given UID is compatible to the match rule described by the given ID, and false otherwise. fr fr, that's the answer π.
π SEE ALSO π
Go peek at these icons and the kernel file:
- Kernel file
./drivers/platform/surface/aggregator/bus.c ssam_device_alloc(9)ssam_device_add(9)ssam_device_remove(9)ssam_device_id_is_null(9)ssam_device_id_match(9)ssam_device_get_match(9)ssam_device_get_match_data(9)__ssam_device_driver_register(9)ssam_device_driver_unregister(9)ssam_bus_register(9)ssam_bus_unregister(9)__ssam_register_clients(9)ssam_remove_clients(9)
mwah π β source/version: ./drivers/platform/surface/agg...; date: October 2026. stay slay, bestie π«Ά
π¦ 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