Searched refs:ssam_device (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.15/include/linux/surface_aggregator/ |
| D | device.h | 157 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/ |
| D | bus.c | 20 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/ |
| D | surface_platform_profile.c | 31 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()
|
| D | surface_aggregator_registry.c | 219 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()
|
| D | surface_dtx.c | 1199 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/ |
| 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()
|
| D | surface_battery.c | 120 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/ |
| D | client.rst | 4 .. |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,
|
| D | overview.rst | 42 (:c:type:`struct ssam_device <ssam_device>`) has been implemented.
|
| 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-v5.15/drivers/hid/surface-hid/ |
| 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()
|