ssam_device
static int surface_hid_probe(struct ssam_device *sdev)
static void surface_hid_remove(struct ssam_device *sdev)
struct ssam_device *sdev = dev_get_drvdata(dev);
static int surface_fan_probe(struct ssam_device *sdev)
struct ssam_device *sdev;
static int ssam_temp_probe(struct ssam_device *sdev)
static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors)
static int ssam_tmp_get_temperature(struct ssam_device *sdev, u8 iid, long *temperature)
static int ssam_tmp_get_name(struct ssam_device *sdev, u8 iid, char *buf, size_t buf_len)
int ssam_device_add(struct ssam_device *sdev)
void ssam_device_remove(struct ssam_device *sdev)
struct ssam_device *sdev = to_ssam_device(dev);
const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev)
const void *ssam_device_get_match_data(const struct ssam_device *dev)
struct ssam_device *sdev = to_ssam_device(dev);
ATTRIBUTE_GROUPS(ssam_device);
const struct ssam_device *sdev = to_ssam_device(dev);
struct ssam_device *sdev;
struct ssam_device *sdev = to_ssam_device(dev);
struct ssam_device *sdev = to_ssam_device(dev);
struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
struct ssam_device *sdev;
struct ssam_device *sdev = to_ssam_device(dev);
static int ssam_hub_probe(struct ssam_device *sdev)
static void ssam_hub_remove(struct ssam_device *sdev)
struct ssam_device *sdev;
static int ssam_tablet_sw_probe(struct ssam_device *sdev)
static void ssam_tablet_sw_remove(struct ssam_device *sdev)
struct ssam_device *sdev;
static int surface_dtx_ssam_probe(struct ssam_device *sdev)
static void surface_dtx_ssam_remove(struct ssam_device *sdev)
static int convert_profile_to_ssam_tmp(struct ssam_device *sdev, enum platform_profile_option p)
static int convert_profile_to_ssam_fan(struct ssam_device *sdev, enum platform_profile_option p)
static int surface_platform_profile_probe(struct ssam_device *sdev)
struct ssam_device *sdev;
static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p)
static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p)
static int ssam_fan_profile_set(struct ssam_device *sdev, enum ssam_fan_profile p)
static int convert_ssam_tmp_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p)
struct ssam_device *sdev;
static void spwr_battery_init(struct spwr_battery_device *bat, struct ssam_device *sdev,
static int surface_battery_probe(struct ssam_device *sdev)
static void surface_battery_remove(struct ssam_device *sdev)
static void spwr_ac_init(struct spwr_ac_device *ac, struct ssam_device *sdev,
static int surface_ac_probe(struct ssam_device *sdev)
static void surface_ac_remove(struct ssam_device *sdev)
struct ssam_device *sdev;
int (*probe)(struct ssam_device *sdev);
void (*remove)(struct ssam_device *sdev);
#define to_ssam_device(d) container_of_const(d, struct ssam_device, dev)
const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev);
const void *ssam_device_get_match_data(const struct ssam_device *dev);
struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl,
int ssam_device_add(struct ssam_device *sdev);
void ssam_device_remove(struct ssam_device *sdev);
static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev)
static inline bool ssam_device_is_hot_removed(struct ssam_device *sdev)
static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev)
static inline void ssam_device_put(struct ssam_device *sdev)
static inline void *ssam_device_get_drvdata(struct ssam_device *sdev)
static inline void ssam_device_set_drvdata(struct ssam_device *sdev, void *data)
static inline int ssam_device_register_clients(struct ssam_device *sdev)
static int name(struct ssam_device *sdev) \
static int name(struct ssam_device *sdev, const atype *arg) \
static int name(struct ssam_device *sdev, rtype *ret) \
static int name(struct ssam_device *sdev, const atype *arg, rtype *ret) \
static inline int ssam_device_notifier_register(struct ssam_device *sdev,
static inline int ssam_device_notifier_unregister(struct ssam_device *sdev,