Home
last modified time | relevance | path

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

/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.c39 static struct ssam_controller *__ssam_controller;
51 struct ssam_controller *ssam_get_controller(void) in ssam_get_controller()
53 struct ssam_controller *ctrl; in ssam_get_controller()
80 static int ssam_try_set_controller(struct ssam_controller *ctrl) in ssam_try_set_controller()
126 int ssam_client_link(struct ssam_controller *c, struct device *client) in ssam_client_link()
202 struct ssam_controller *ssam_client_bind(struct device *client) in ssam_client_bind()
204 struct ssam_controller *c; in ssam_client_bind()
232 struct ssam_controller *ctrl; in ssam_receive_buf()
254 static int ssam_log_firmware_version(struct ssam_controller *ctrl) in ssam_log_firmware_version()
274 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.h15 void ssam_controller_remove_clients(struct ssam_controller *ctrl);
22 static inline void ssam_controller_remove_clients(struct ssam_controller *ctrl) {} in ssam_controller_remove_clients()
Dbus.c73 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, in ssam_device_alloc()
391 void ssam_controller_remove_clients(struct ssam_controller *ctrl) in ssam_controller_remove_clients()
/drivers/platform/surface/
Dsurface_aggregator_registry.c266 static int ssam_hub_add_device(struct device *parent, struct ssam_controller *ctrl, in ssam_hub_add_device()
291 static int ssam_hub_add_devices(struct device *parent, struct ssam_controller *ctrl, in ssam_hub_add_devices()
574 struct ssam_controller *ctrl; in ssam_platform_hub_probe()
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_acpi_notify.c29 struct ssam_controller *ctrl;
802 struct ssam_controller *ctrl; in san_probe()
Dsurface_aggregator_cdev.c41 struct ssam_controller *ctrl;
681 struct ssam_controller *ctrl; in ssam_dbg_device_probe()
/drivers/hid/surface-hid/
Dsurface_hid_core.h60 struct ssam_controller *ctrl;
Dsurface_kbd.c236 struct ssam_controller *ctrl; in surface_kbd_probe()