Searched refs:ssam_device (Results 1 – 12 of 12) sorted by relevance
/openbmc/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); 255 struct ssam_device *ssam_device_alloc(struct ssam_controller *ctrl, 258 int ssam_device_add(struct ssam_device *sdev); 259 void ssam_device_remove(struct ssam_device *sdev); 302 static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev) in ssam_device_get() 317 static inline void ssam_device_put(struct ssam_device *sdev) in ssam_device_put() 457 static int name(struct ssam_device *sdev) \ 491 static int name(struct ssam_device *sdev, const atype *arg) \ [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | bus.c | 24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show() 36 ATTRIBUTE_GROUPS(ssam_device); 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() 310 struct ssam_device *sdev = to_ssam_device(dev); in ssam_bus_match() 430 struct ssam_device *sdev; in ssam_add_client_device() [all …]
|
/openbmc/linux/drivers/platform/surface/ |
H A 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() 165 static void surface_platform_profile_remove(struct ssam_device *sdev) in surface_platform_profile_remove()
|
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 | 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()
|
/openbmc/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()
|
H A 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()
|
/openbmc/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|
|
/openbmc/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()
|