Lines Matching defs:ssam_device

163  * struct ssam_device - SSAM client device.
169 struct ssam_device {
190 int (*probe)(struct ssam_device *sdev);
191 void (*remove)(struct ssam_device *sdev);
203 * ssam_device, i.e. the device type points to %ssam_device_type, and %false
224 * Casts the given &struct device to a &struct ssam_device. The caller has to
225 * ensure that the given device is actually enclosed in a &struct ssam_device,
228 * Return: Returns a pointer to the &struct ssam_device wrapping the given
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)
284 static inline bool ssam_device_is_hot_removed(struct ssam_device *sdev)
301 static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev)
316 static inline void ssam_device_put(struct ssam_device *sdev)
329 static inline void *ssam_device_get_drvdata(struct ssam_device *sdev)
339 static inline void ssam_device_set_drvdata(struct ssam_device *sdev, void *data)
422 static inline int ssam_device_register_clients(struct ssam_device *sdev)
445 * The generated function is defined as ``static int name(struct ssam_device
456 static int name(struct ssam_device *sdev) \
478 * The generated function is defined as ``static int name(struct ssam_device
490 static int name(struct ssam_device *sdev, const atype *arg) \
512 * The generated function is defined as ``static int name(struct ssam_device
524 static int name(struct ssam_device *sdev, rtype *ret) \
547 * The generated function is defined as ``static int name(struct ssam_device
560 static int name(struct ssam_device *sdev, const atype *arg, rtype *ret) \
592 static inline int ssam_device_notifier_register(struct ssam_device *sdev,
625 static inline int ssam_device_notifier_unregister(struct ssam_device *sdev,