Searched refs:ssam_device (Results 1 – 11 of 11) sorted by relevance
| /linux/include/linux/surface_aggregator/ |
| H A D | device.h | 169 struct ssam_device { struct 190 int (*probe)(struct ssam_device *sdev); argument 191 void (*remove)(struct ssam_device *sdev); 231 #define to_ssam_device(d) container_of_const(d, struct ssam_device, dev) 250 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev); 252 const void *ssam_device_get_match_data(const struct ssam_device *dev); 254 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, 257 int ssam_device_add(struct ssam_device *sdev); 258 void ssam_device_remove(struct ssam_device *sdev); 268 static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev) in ssam_device_mark_hot_removed() [all …]
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | bus.c | 25 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show() 37 ATTRIBUTE_GROUPS(ssam_device); 43 const struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent() 53 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release() 81 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, in ssam_device_alloc() 84 struct ssam_device *sdev; in ssam_device_alloc() 130 int ssam_device_add(struct ssam_device *sdev) in ssam_device_add() 171 void ssam_device_remove(struct ssam_device *sdev) in ssam_device_remove() 265 const struct ssam_device_id *ssam_device_get_match(const struct ssam_device *dev) in ssam_device_get_match() 298 const void *ssam_device_get_match_data(const struct ssam_device *dev) in ssam_device_get_match_data() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | surface_temp.c | 55 static int ssam_tmp_get_available_sensors(struct ssam_device *sdev, s16 *sensors) in ssam_tmp_get_available_sensors() 68 static int ssam_tmp_get_temperature(struct ssam_device *sdev, u8 iid, long *temperature) in ssam_tmp_get_temperature() 82 static int ssam_tmp_get_name(struct ssam_device *sdev, u8 iid, char *buf, size_t buf_len) in ssam_tmp_get_name() 112 struct ssam_device *sdev; 182 static int ssam_temp_probe(struct ssam_device *sdev) in ssam_temp_probe()
|
| /linux/drivers/power/supply/ |
| H A D | surface_charger.c | 51 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()
|
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_hub.c | 40 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 D | surface_aggregator_tabletsw.c | 37 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 D | surface_dtx.c | 1197 static int surface_dtx_ssam_probe(struct ssam_device *sdev) in surface_dtx_ssam_probe() 1209 static void surface_dtx_ssam_remove(struct ssam_device *sdev) in surface_dtx_ssam_remove()
|
| /linux/Documentation/driver-api/surface_aggregator/ |
| H A D | client.rst | 4 .. |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,
|
| H A D | overview.rst | 42 (:c:type:`struct ssam_device <ssam_device>`) has been implemented.
|
| H A D | internal.rst | 28 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>` substdef 87 implemented as platform devices, via |ssam_device| and |ssam_device_driver|
|
| /linux/drivers/hid/surface-hid/ |
| H A D | surface_hid.c | 198 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()
|