STRUCT SSAM_DEVICE_DRIVER(9)
π struct ssam_device_driver(9) π
okay so bestie, welcome to the Kernel API Manual β today's main character is struct ssam_device_driver, aka the SSAM client device driver. no cap, it's giving "the blueprint for making your Surface Aggregator device actually do stuff." π¦
β¨ NAME β¨
struct ssam_device_driver β SSAM client device driver. literally that's the whole vibe. π
β¨ SYNOPSIS β¨
struct ssam_device_driver {
struct device_driver driver;
const struct ssam_device_id *match_table;
int (*probe)(struct ssam_device *sdev);
void (*remove)(struct ssam_device *sdev);
};
look at her. four fields. flawless. πΈ
β¨ Members β¨
driverβ the base driver model structure. it's the foundation, the roots, the "everything else builds on this" energy. πmatch_tableβ the match table that says which devices this driver should bind to. it's giving matchmaker. it's giving "you, specifically, are my people." πprobeβ the callback that gets called when the driver is being bound to a device. iykyk, this is the "omg we're getting together" moment. π«Άremoveβ the callback that gets called when the driver is being unbound from the device. the breakup callback π but make it graceful.
β¨ SEE ALSO β¨
- 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)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)ssam_device_notifier_unregister(9)
like, that's a whole friend group right there. go read them too, bestie, they all ate. π₯
and that's the whole page, no cap. sourced straight from ./include/linux/surface_aggreg..., dated October 2026, and yes she's still serving struct ssam_device_driver(9) realness. periodt. πβ¨
π¦ 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