Home
last modified time | relevance | path

Searched refs:ssam_device (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/include/linux/surface_aggregator/
H A Ddevice.h163 * struct ssam_device - SSAM client device.
169 struct ssam_device { struct
190 int (*probe)(struct ssam_device *sdev);
191 void (*remove)(struct ssam_device *sdev);
204 * ssam_device, i.e. the device type points to %ssam_device_type, and %false
225 * Casts the given &struct device to a &struct ssam_device. The caller has to
226 * ensure that the given device is actually enclosed in a &struct ssam_device,
229 * Return: Returns a pointer to the &struct ssam_device wrapping the given
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 *de
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/
H A Dbus.c24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show()
36 ATTRIBUTE_GROUPS(ssam_device); variable
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 *de
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/
H A 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()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/power/supply/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/hid/surface-hid/
H A 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()

Completed in 11 milliseconds