Home
last modified time | relevance | path

Searched refs:ssam_device (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/include/linux/surface_aggregator/
Ddevice.h169 struct ssam_device { struct
190 int (*probe)(struct ssam_device *sdev); argument
191 void (*remove)(struct ssam_device *sdev);
232 #define to_ssam_device(d) container_of_const(d, struct ssam_device, dev)
251 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev);
253 const void *ssam_device_get_match_data(const struct ssam_device *dev);
255 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
258 int ssam_device_add(struct ssam_device *sdev);
259 void ssam_device_remove(struct ssam_device *sdev);
269 static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev) in ssam_device_mark_hot_removed()
[all …]
/Linux-v6.6/drivers/platform/surface/aggregator/
Dbus.c24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show()
36 ATTRIBUTE_GROUPS(ssam_device);
40 const struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent()
50 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release()
78 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, in ssam_device_alloc()
81 struct ssam_device *sdev; in ssam_device_alloc()
127 int ssam_device_add(struct ssam_device *sdev) in ssam_device_add()
168 void ssam_device_remove(struct ssam_device *sdev) in ssam_device_remove()
262 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev) in ssam_device_get_match()
295 const void *ssam_device_get_match_data(const struct ssam_device *dev) in ssam_device_get_match_data()
[all …]
/Linux-v6.6/drivers/platform/surface/
Dsurface_platform_profile.c31 struct ssam_device *sdev;
45 static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p) in ssam_tmp_profile_get()
58 static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p) in ssam_tmp_profile_set()
65 static int convert_ssam_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) in convert_ssam_to_profile()
86 static int convert_profile_to_ssam(struct ssam_device *sdev, enum platform_profile_option p) in convert_profile_to_ssam()
144 static int surface_platform_profile_probe(struct ssam_device *sdev) in surface_platform_profile_probe()
165 static void surface_platform_profile_remove(struct ssam_device *sdev) in surface_platform_profile_remove()
Dsurface_aggregator_hub.c40 struct ssam_device *sdev;
119 struct ssam_device *sdev = to_ssam_device(dev); in ssam_hub_mark_hot_removed()
155 static int ssam_hub_probe(struct ssam_device *sdev) in ssam_hub_probe()
196 static void ssam_hub_remove(struct ssam_device *sdev) in ssam_hub_remove()
Dsurface_aggregator_tabletsw.c37 struct ssam_device *sdev;
117 static int ssam_tablet_sw_probe(struct ssam_device *sdev) in ssam_tablet_sw_probe()
192 static void ssam_tablet_sw_remove(struct ssam_device *sdev) in ssam_tablet_sw_remove()
Dsurface_dtx.c1199 static int surface_dtx_ssam_probe(struct ssam_device *sdev) in surface_dtx_ssam_probe()
1211 static void surface_dtx_ssam_remove(struct ssam_device *sdev) in surface_dtx_ssam_remove()
/Linux-v6.6/drivers/power/supply/
Dsurface_charger.c51 struct ssam_device *sdev;
174 static void spwr_ac_init(struct spwr_ac_device *ac, struct ssam_device *sdev, in spwr_ac_init()
231 static int surface_ac_probe(struct ssam_device *sdev) in surface_ac_probe()
250 static void surface_ac_remove(struct ssam_device *sdev) in surface_ac_remove()
Dsurface_battery.c120 struct ssam_device *sdev;
721 static void spwr_battery_init(struct spwr_battery_device *bat, struct ssam_device *sdev, in spwr_battery_init()
817 static int surface_battery_probe(struct ssam_device *sdev) in surface_battery_probe()
836 static void surface_battery_remove(struct ssam_device *sdev) in surface_battery_remove()
/Linux-v6.6/Documentation/driver-api/surface_aggregator/
Dclient.rst4 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>` substdef
94 means, it should be provided as |ssam_device| via the SSAM client device
122 |ssam_device| via its UID (:c:type:`struct ssam_device.uid <ssam_device>`)
148 :c:type:`struct ssam_device.ctrl <ssam_device>` member. This reference is
287 |ssam_device|, are also provided. These can, for example, be used as
301 static int ssam_bat_get_sta(struct ssam_device *sdev, __le32 *ret);
317 more. For |ssam_device| type clients, the |ssam_device_notifier_register| and
359 int setup_notifier(struct ssam_device *sdev,
Doverview.rst42 (:c:type:`struct ssam_device <ssam_device>`) has been implemented.
Dinternal.rst28 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>` substdef
87 implemented as platform devices, via |ssam_device| and |ssam_device_driver|
/Linux-v6.6/drivers/hid/surface-hid/
Dsurface_hid.c198 static int surface_hid_probe(struct ssam_device *sdev) in surface_hid_probe()
227 static void surface_hid_remove(struct ssam_device *sdev) in surface_hid_remove()