Symbol: ssam_device
drivers/hid/surface-hid/surface_hid.c
198
static int surface_hid_probe(struct ssam_device *sdev)
drivers/hid/surface-hid/surface_hid.c
227
static void surface_hid_remove(struct ssam_device *sdev)
drivers/hwmon/surface_fan.c
25
struct ssam_device *sdev = dev_get_drvdata(dev);
drivers/hwmon/surface_fan.c
53
static int surface_fan_probe(struct ssam_device *sdev)
drivers/hwmon/surface_temp.c
112
struct ssam_device *sdev;
drivers/hwmon/surface_temp.c
182
static int ssam_temp_probe(struct ssam_device *sdev)
drivers/hwmon/surface_temp.c
55
static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors)
drivers/hwmon/surface_temp.c
68
static int ssam_tmp_get_temperature(struct ssam_device *sdev, u8 iid, long *temperature)
drivers/hwmon/surface_temp.c
82
static int ssam_tmp_get_name(struct ssam_device *sdev, u8 iid, char *buf, size_t buf_len)
drivers/platform/surface/aggregator/bus.c
130
int ssam_device_add(struct ssam_device *sdev)
drivers/platform/surface/aggregator/bus.c
171
void ssam_device_remove(struct ssam_device *sdev)
drivers/platform/surface/aggregator/bus.c
25
struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/aggregator/bus.c
265
const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev)
drivers/platform/surface/aggregator/bus.c
298
const void *ssam_device_get_match_data(const struct ssam_device *dev)
drivers/platform/surface/aggregator/bus.c
313
struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/aggregator/bus.c
37
ATTRIBUTE_GROUPS(ssam_device);
drivers/platform/surface/aggregator/bus.c
43
const struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/aggregator/bus.c
432
struct ssam_device *sdev;
drivers/platform/surface/aggregator/bus.c
506
struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/aggregator/bus.c
53
struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/aggregator/bus.c
81
struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
drivers/platform/surface/aggregator/bus.c
84
struct ssam_device *sdev;
drivers/platform/surface/surface_aggregator_hub.c
119
struct ssam_device *sdev = to_ssam_device(dev);
drivers/platform/surface/surface_aggregator_hub.c
155
static int ssam_hub_probe(struct ssam_device *sdev)
drivers/platform/surface/surface_aggregator_hub.c
196
static void ssam_hub_remove(struct ssam_device *sdev)
drivers/platform/surface/surface_aggregator_hub.c
40
struct ssam_device *sdev;
drivers/platform/surface/surface_aggregator_tabletsw.c
117
static int ssam_tablet_sw_probe(struct ssam_device *sdev)
drivers/platform/surface/surface_aggregator_tabletsw.c
192
static void ssam_tablet_sw_remove(struct ssam_device *sdev)
drivers/platform/surface/surface_aggregator_tabletsw.c
37
struct ssam_device *sdev;
drivers/platform/surface/surface_dtx.c
1197
static int surface_dtx_ssam_probe(struct ssam_device *sdev)
drivers/platform/surface/surface_dtx.c
1209
static void surface_dtx_ssam_remove(struct ssam_device *sdev)
drivers/platform/surface/surface_platform_profile.c
113
static int convert_profile_to_ssam_tmp(struct ssam_device *sdev, enum platform_profile_option p)
drivers/platform/surface/surface_platform_profile.c
135
static int convert_profile_to_ssam_fan(struct ssam_device *sdev, enum platform_profile_option p)
drivers/platform/surface/surface_platform_profile.c
220
static int surface_platform_profile_probe(struct ssam_device *sdev)
drivers/platform/surface/surface_platform_profile.c
42
struct ssam_device *sdev;
drivers/platform/surface/surface_platform_profile.c
64
static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p)
drivers/platform/surface/surface_platform_profile.c
77
static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p)
drivers/platform/surface/surface_platform_profile.c
84
static int ssam_fan_profile_set(struct ssam_device *sdev, enum ssam_fan_profile p)
drivers/platform/surface/surface_platform_profile.c
91
static int convert_ssam_tmp_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p)
drivers/power/supply/surface_battery.c
120
struct ssam_device *sdev;
drivers/power/supply/surface_battery.c
721
static void spwr_battery_init(struct spwr_battery_device *bat, struct ssam_device *sdev,
drivers/power/supply/surface_battery.c
817
static int surface_battery_probe(struct ssam_device *sdev)
drivers/power/supply/surface_battery.c
836
static void surface_battery_remove(struct ssam_device *sdev)
drivers/power/supply/surface_charger.c
174
static void spwr_ac_init(struct spwr_ac_device *ac, struct ssam_device *sdev,
drivers/power/supply/surface_charger.c
231
static int surface_ac_probe(struct ssam_device *sdev)
drivers/power/supply/surface_charger.c
250
static void surface_ac_remove(struct ssam_device *sdev)
drivers/power/supply/surface_charger.c
51
struct ssam_device *sdev;
include/linux/surface_aggregator/device.h
190
int (*probe)(struct ssam_device *sdev);
include/linux/surface_aggregator/device.h
191
void (*remove)(struct ssam_device *sdev);
include/linux/surface_aggregator/device.h
231
#define to_ssam_device(d) container_of_const(d, struct ssam_device, dev)
include/linux/surface_aggregator/device.h
250
const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev);
include/linux/surface_aggregator/device.h
252
const void *ssam_device_get_match_data(const struct ssam_device *dev);
include/linux/surface_aggregator/device.h
254
struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
include/linux/surface_aggregator/device.h
257
int ssam_device_add(struct ssam_device *sdev);
include/linux/surface_aggregator/device.h
258
void ssam_device_remove(struct ssam_device *sdev);
include/linux/surface_aggregator/device.h
268
static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
284
static inline bool ssam_device_is_hot_removed(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
301
static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
316
static inline void ssam_device_put(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
329
static inline void *ssam_device_get_drvdata(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
339
static inline void ssam_device_set_drvdata(struct ssam_device *sdev, void *data)
include/linux/surface_aggregator/device.h
422
static inline int ssam_device_register_clients(struct ssam_device *sdev)
include/linux/surface_aggregator/device.h
456
static int name(struct ssam_device *sdev) \
include/linux/surface_aggregator/device.h
490
static int name(struct ssam_device *sdev, const atype *arg) \
include/linux/surface_aggregator/device.h
524
static int name(struct ssam_device *sdev, rtype *ret) \
include/linux/surface_aggregator/device.h
560
static int name(struct ssam_device *sdev, const atype *arg, rtype *ret) \
include/linux/surface_aggregator/device.h
592
static inline int ssam_device_notifier_register(struct ssam_device *sdev,
include/linux/surface_aggregator/device.h
625
static inline int ssam_device_notifier_unregister(struct ssam_device *sdev,