Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/surface/
H A Dsurface_aggregator_hub.c48 struct ssam_event_notifier notif;
60 u32 (*notify)(struct ssam_event_notifier *nf, const struct ssam_event *event);
244 static u32 ssam_base_hub_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_base_hub_notif()
315 static u32 ssam_kip_hub_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_kip_hub_notif()
H A Dsurface_aggregator_tabletsw.c44 struct ssam_event_notifier notif;
54 u32 (*notify)(struct ssam_event_notifier *nf, const struct ssam_event *event);
287 static u32 ssam_kip_sw_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_kip_sw_notif()
586 static u32 ssam_pos_sw_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_pos_sw_notif()
H A Dsurface_acpi_notify.c33 struct ssam_event_notifier nf_bat;
34 struct ssam_event_notifier nf_tmp;
341 static u32 san_evt_bat_nf(struct ssam_event_notifier *nf, in san_evt_bat_nf()
401 static u32 san_evt_tmp_nf(struct ssam_event_notifier *nf, in san_evt_tmp_nf()
H A Dsurface_aggregator_cdev.c53 struct ssam_event_notifier nf;
93 static u32 ssam_cdev_notifier(struct ssam_event_notifier *nf, const struct ssam_event *in) in ssam_cdev_notifier()
H A Dsurface_dtx.c169 struct ssam_event_notifier notif;
621 static u32 sdtx_notifier(struct ssam_event_notifier *nf, const struct ssam_event *in) in sdtx_notifier()
/openbmc/linux/include/linux/surface_aggregator/
H A Dcontroller.h773 struct ssam_event_notifier;
775 typedef u32 (*ssam_notifier_fn_t)(struct ssam_event_notifier *nf,
947 struct ssam_event_notifier { struct
961 struct ssam_event_notifier *n); argument
964 struct ssam_event_notifier *n, bool disable);
981 struct ssam_event_notifier *n) in ssam_notifier_unregister()
H A Ddevice.h594 struct ssam_event_notifier *n) in ssam_device_notifier_register()
627 struct ssam_event_notifier *n) in ssam_device_notifier_unregister()
/openbmc/linux/drivers/power/supply/
H A Dsurface_charger.c57 struct ssam_event_notifier notif;
103 static u32 spwr_notify_ac(struct ssam_event_notifier *nf, const struct ssam_event *event) in spwr_notify_ac()
H A Dsurface_battery.c128 struct ssam_event_notifier notif;
343 static u32 spwr_notify_bat(struct ssam_event_notifier *nf, const struct ssam_event *event) in spwr_notify_bat()
/openbmc/linux/drivers/hid/surface-hid/
H A Dsurface_hid_core.h66 struct ssam_event_notifier notif;
H A Dsurface_hid.c157 static u32 ssam_hid_event_fn(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_hid_event_fn()
H A Dsurface_kbd.c124 static u32 ssam_kbd_event_fn(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_kbd_event_fn()
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dcontroller.c118 static bool ssam_event_matches_notifier(const struct ssam_event_notifier *n, in ssam_event_matches_notifier()
150 struct ssam_event_notifier *nf; in ssam_nfblk_call_chain()
2289 int ssam_notifier_register(struct ssam_controller *ctrl, struct ssam_event_notifier *n) in ssam_notifier_register()
2357 int __ssam_notifier_unregister(struct ssam_controller *ctrl, struct ssam_event_notifier *n, in __ssam_notifier_unregister()
/openbmc/linux/Documentation/driver-api/surface_aggregator/
H A Dclient.rst348 u32 notifier_callback(struct ssam_event_notifier *nf,
360 struct ssam_event_notifier *nf)