Home
last modified time | relevance | path

Searched refs:ssam_controller (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/drivers/platform/surface/aggregator/
Dcontroller.h198 struct ssam_controller { struct
221 container_of(ptr, struct ssam_controller, member) argument
241 int ssam_controller_receive_buf(struct ssam_controller *ctrl, in ssam_controller_receive_buf()
252 static inline void ssam_controller_write_wakeup(struct ssam_controller *ctrl) in ssam_controller_write_wakeup()
257 int ssam_controller_init(struct ssam_controller *ctrl, struct serdev_device *s);
258 int ssam_controller_start(struct ssam_controller *ctrl);
259 void ssam_controller_shutdown(struct ssam_controller *ctrl);
260 void ssam_controller_destroy(struct ssam_controller *ctrl);
262 int ssam_notifier_disable_registered(struct ssam_controller *ctrl);
263 void ssam_notifier_restore_registered(struct ssam_controller *ctrl);
[all …]
Dcore.c40 static struct ssam_controller *__ssam_controller;
52 struct ssam_controller *ssam_get_controller(void) in ssam_get_controller()
54 struct ssam_controller *ctrl; in ssam_get_controller()
81 static int ssam_try_set_controller(struct ssam_controller *ctrl) in ssam_try_set_controller()
127 int ssam_client_link(struct ssam_controller *c, struct device *client) in ssam_client_link()
203 struct ssam_controller *ssam_client_bind(struct device *client) in ssam_client_bind()
205 struct ssam_controller *c; in ssam_client_bind()
233 struct ssam_controller *ctrl; in ssam_receive_buf()
252 static int ssam_log_firmware_version(struct ssam_controller *ctrl) in ssam_log_firmware_version()
272 struct ssam_controller *ctrl = dev_get_drvdata(dev); in firmware_version_show()
[all …]
Dcontroller.c876 struct device *ssam_controller_device(struct ssam_controller *c) in ssam_controller_device()
884 struct ssam_controller *ctrl = to_ssam_controller(kref, kref); in __ssam_controller_release()
904 struct ssam_controller *ssam_controller_get(struct ssam_controller *c) in ssam_controller_get()
916 void ssam_controller_put(struct ssam_controller *c) in ssam_controller_put()
940 void ssam_controller_statelock(struct ssam_controller *c) in ssam_controller_statelock()
952 void ssam_controller_stateunlock(struct ssam_controller *c) in ssam_controller_stateunlock()
968 void ssam_controller_lock(struct ssam_controller *c) in ssam_controller_lock()
979 void ssam_controller_unlock(struct ssam_controller *c) in ssam_controller_unlock()
988 struct ssam_controller *ctrl = to_ssam_controller(rtl, rtl); in ssam_handle_event()
1010 static bool ssam_notifier_is_empty(struct ssam_controller *ctrl);
[all …]
Dbus.c78 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, in ssam_device_alloc()
426 static int ssam_add_client_device(struct device *parent, struct ssam_controller *ctrl, in ssam_add_client_device()
475 int __ssam_register_clients(struct device *parent, struct ssam_controller *ctrl, in __ssam_register_clients()
/Linux-v6.1/include/linux/surface_aggregator/
Dcontroller.h106 struct ssam_controller;
108 struct ssam_controller *ssam_get_controller(void);
109 struct ssam_controller *ssam_client_bind(struct device *client);
110 int ssam_client_link(struct ssam_controller *ctrl, struct device *client);
112 struct device *ssam_controller_device(struct ssam_controller *c);
114 struct ssam_controller *ssam_controller_get(struct ssam_controller *c);
115 void ssam_controller_put(struct ssam_controller *c);
117 void ssam_controller_statelock(struct ssam_controller *c);
118 void ssam_controller_stateunlock(struct ssam_controller *c);
121 struct ssam_controller *ctrl,
[all …]
Ddevice.h171 struct ssam_controller *ctrl;
262 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
380 int __ssam_register_clients(struct device *parent, struct ssam_controller *ctrl,
386 static inline int __ssam_register_clients(struct device *parent, struct ssam_controller *ctrl, in __ssam_register_clients()
411 static inline int ssam_register_clients(struct device *dev, struct ssam_controller *ctrl) in ssam_register_clients()
/Linux-v6.1/drivers/hid/surface-hid/
Dsurface_hid_core.h60 struct ssam_controller *ctrl;
Dsurface_kbd.c236 struct ssam_controller *ctrl; in surface_kbd_probe()
/Linux-v6.1/Documentation/driver-api/surface_aggregator/
Dclient.rst3 .. |ssam_controller| replace:: :c:type:`struct ssam_controller <ssam_controller>` substdef
52 All communication with the SAM EC is handled via the |ssam_controller|
71 struct ssam_controller *ctrl;
175 int perform_request(struct ssam_controller *ctrl, u32 arg, u32 *ret)
253 static int __ssam_tmp_perf_mode_set(struct ssam_controller *ctrl, const __le32 *arg);
Dinternal.rst27 .. |ssam_controller| replace:: :c:type:`struct ssam_controller <ssam_controller>` substdef
468 |ssam_controller| and the SSH driver. While the lower level transport layers
/Linux-v6.1/drivers/platform/surface/
Dsurface_dtx.c150 struct ssam_controller *ctrl;
944 struct ssam_controller *ctrl) in sdtx_device_init()
1043 static struct sdtx_device *sdtx_device_create(struct device *dev, struct ssam_controller *ctrl) in sdtx_device_create()
1155 struct ssam_controller *ctrl; in surface_dtx_platform_probe()
Dsurface_aggregator_registry.c380 struct ssam_controller *ctrl; in ssam_platform_hub_probe()
Dsurface_aggregator_cdev.c41 struct ssam_controller *ctrl;
681 struct ssam_controller *ctrl; in ssam_dbg_device_probe()
Dsurface_acpi_notify.c29 struct ssam_controller *ctrl;
805 struct ssam_controller *ctrl; in san_probe()