Lines Matching +full:surface +full:- +full:sam
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Surface System Aggregator Module (SSAM) user-space EC interface.
5 * Definitions, structs, and IOCTLs for the /dev/surface/aggregator misc
6 * device. This device provides direct user-space access to the SSAM EC.
9 * Copyright (C) 2020-2021 Maximilian Luz <luzmaximilian@gmail.com>
19 * enum ssam_cdev_request_flags - Request flags for SSAM cdev request IOCTL.
39 * struct ssam_cdev_request - Controller request IOCTL argument.
40 * @target_category: Target category of the SAM request.
41 * @target_id: Target ID of the SAM request.
42 * @command_id: Command ID of the SAM request.
43 * @instance_id: Instance ID of the SAM request.
77 * struct ssam_cdev_notifier_desc - Notifier descriptor.
94 * struct ssam_cdev_event_desc - Event descriptor.
98 * @reg.cid_enable: Command ID for the event-enable request.
99 * @reg.cid_disable: Command ID for the event-disable request.
124 * struct ssam_cdev_event - SSAM event sent by the EC.