Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/platform/surface/
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()
Dsurface_aggregator_tabletsw.c37 struct ssam_event_notifier notif;
47 u32 (*notify)(struct ssam_event_notifier *nf, const struct ssam_event *event);
270 static u32 ssam_kip_sw_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_kip_sw_notif()
474 static u32 ssam_pos_sw_notif(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_pos_sw_notif()
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()
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()
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()
/Linux-v6.1/include/linux/surface_aggregator/
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()
Ddevice.h601 struct ssam_event_notifier *n) in ssam_device_notifier_register()
634 struct ssam_event_notifier *n) in ssam_device_notifier_unregister()
/Linux-v6.1/drivers/power/supply/
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()
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()
/Linux-v6.1/drivers/hid/surface-hid/
Dsurface_hid_core.h66 struct ssam_event_notifier notif;
Dsurface_hid.c157 static u32 ssam_hid_event_fn(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_hid_event_fn()
Dsurface_kbd.c124 static u32 ssam_kbd_event_fn(struct ssam_event_notifier *nf, const struct ssam_event *event) in ssam_kbd_event_fn()
/Linux-v6.1/drivers/platform/surface/aggregator/
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()
2286 int ssam_notifier_register(struct ssam_controller *ctrl, struct ssam_event_notifier *n) in ssam_notifier_register()
2354 int __ssam_notifier_unregister(struct ssam_controller *ctrl, struct ssam_event_notifier *n, in __ssam_notifier_unregister()
/Linux-v6.1/Documentation/driver-api/surface_aggregator/
Dclient.rst348 u32 notifier_callback(struct ssam_event_notifier *nf,
360 struct ssam_event_notifier *nf)