Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/surface_aggregator/
Ddevice.h157 struct ssam_device { struct
176 int (*probe)(struct ssam_device *sdev); argument
177 void (*remove)(struct ssam_device *sdev);
207 static inline struct ssam_device *to_ssam_device(struct device *d) in to_ssam_device()
209 return container_of(d, struct ssam_device, dev); in to_ssam_device()
233 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev);
235 const void *ssam_device_get_match_data(const struct ssam_device *dev);
237 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
240 int ssam_device_add(struct ssam_device *sdev);
241 void ssam_device_remove(struct ssam_device *sdev);
[all …]
/Linux-v5.15/drivers/platform/surface/aggregator/
Dbus.c20 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show()
32 ATTRIBUTE_GROUPS(ssam_device);
36 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent()
46 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release()
73 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, in ssam_device_alloc()
76 struct ssam_device *sdev; in ssam_device_alloc()
122 int ssam_device_add(struct ssam_device *sdev) in ssam_device_add()
163 void ssam_device_remove(struct ssam_device *sdev) in ssam_device_remove()
257 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev) in ssam_device_get_match()
290 const void *ssam_device_get_match_data(const struct ssam_device *dev) in ssam_device_get_match_data()
[all …]
/Linux-v5.15/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()
166 static void surface_platform_profile_remove(struct ssam_device *sdev) in surface_platform_profile_remove()
Dsurface_aggregator_registry.c219 struct ssam_device *sdev; in ssam_hub_add_device()
281 struct ssam_device *sdev;
401 static int ssam_base_hub_probe(struct ssam_device *sdev) in ssam_base_hub_probe()
443 static void ssam_base_hub_remove(struct ssam_device *sdev) in ssam_base_hub_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-v5.15/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-v5.15/Documentation/driver-api/surface_aggregator/
Dclient.rst4 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>` substdef
92 means, it should be provided as |ssam_device| via the SSAM client device
120 |ssam_device| via its UID (:c:type:`struct ssam_device.uid <ssam_device>`)
146 :c:type:`struct ssam_device.ctrl <ssam_device>` member. This reference is
285 |ssam_device|, are also provided. These can, for example, be used as
299 static int ssam_bat_get_sta(struct ssam_device *sdev, __le32 *ret);
355 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-v5.15/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()