Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/surface/aggregator/
H A Dcontroller.h198 struct ssam_controller { struct
221 container_of(ptr, struct ssam_controller, member) argument
258 int ssam_controller_start(struct ssam_controller *ctrl);
265 int ssam_irq_setup(struct ssam_controller *ctrl);
266 void ssam_irq_free(struct ssam_controller *ctrl);
267 int ssam_irq_arm_for_wakeup(struct ssam_controller *ctrl);
268 void ssam_irq_disarm_wakeup(struct ssam_controller *ctrl);
270 void ssam_controller_lock(struct ssam_controller *c);
271 void ssam_controller_unlock(struct ssam_controller *c);
276 int ssam_ctrl_notif_d0_exit(struct ssam_controller *ctrl);
[all …]
H A 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()
205 struct ssam_controller *c; in ssam_client_bind()
233 struct ssam_controller *ctrl; in ssam_receive_buf()
367 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_shutdown()
397 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_prepare()
417 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_complete()
435 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_suspend()
465 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_resume()
[all …]
H A Dcontroller.c904 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()
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()
1165 int ssam_controller_init(struct ssam_controller *ctrl, in ssam_controller_init()
1227 int ssam_controller_start(struct ssam_controller *ctrl) in ssam_controller_start()
1470 struct ssam_controller *ctrl, in ssam_request_write_data()
1690 int ssam_request_do_sync(struct ssam_controller *ctrl, in ssam_request_do_sync()
2638 struct ssam_controller *ctrl = dev_id; in ssam_irq_handle()
2698 int ssam_irq_setup(struct ssam_controller *ctrl) in ssam_irq_setup()
[all …]
H A 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()
/openbmc/linux/include/linux/surface_aggregator/
H A Dcontroller.h106 struct ssam_controller;
108 struct ssam_controller *ssam_get_controller(void);
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,
184 int ssam_request_sync_submit(struct ssam_controller *ctrl,
210 int ssam_request_do_sync(struct ssam_controller *ctrl,
356 static int name(struct ssam_controller *ctrl) \
[all …]
H A Ddevice.h171 struct ssam_controller *ctrl;
255 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
373 int __ssam_register_clients(struct device *parent, struct ssam_controller *ctrl,
379 static inline int __ssam_register_clients(struct device *parent, struct ssam_controller *ctrl, in __ssam_register_clients()
404 static inline int ssam_register_clients(struct device *dev, struct ssam_controller *ctrl) in ssam_register_clients()
/openbmc/linux/drivers/hid/surface-hid/
H A Dsurface_hid_core.h60 struct ssam_controller *ctrl;
H A Dsurface_kbd.c236 struct ssam_controller *ctrl; in surface_kbd_probe()
/openbmc/linux/Documentation/driver-api/surface_aggregator/
H A 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);
H A 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
/openbmc/linux/drivers/platform/surface/
H A 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()
H A Dsurface_aggregator_registry.c386 struct ssam_controller *ctrl; in ssam_platform_hub_probe()
H A Dsurface_aggregator_cdev.c41 struct ssam_controller *ctrl;
681 struct ssam_controller *ctrl; in ssam_dbg_device_probe()
H A Dsurface_acpi_notify.c29 struct ssam_controller *ctrl;
805 struct ssam_controller *ctrl; in san_probe()